Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(502)

Unified Diff: components/safe_json/BUILD.gn

Issue 1861573002: Convert the utility process JSON parser into a Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rename build rule Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: components/safe_json/BUILD.gn
diff --git a/components/safe_json/BUILD.gn b/components/safe_json/BUILD.gn
index 0f4ce37cafa032285e4c5e1c0f33f5a95d2ee471..d7255c7e15420d6d05173848fa70c2fec887df67 100644
--- a/components/safe_json/BUILD.gn
+++ b/components/safe_json/BUILD.gn
@@ -23,11 +23,11 @@ source_set("safe_json") {
]
deps = [
- ":messages",
"//base",
+ "//components/safe_json/public/interfaces",
"//components/strings",
"//content/public/browser",
- "//ipc",
+ "//content/public/common",
"//ui/base",
]
@@ -39,9 +39,8 @@ source_set("safe_json") {
]
deps += [ "android:safe_json_jni_headers" ]
deps -= [
- ":messages",
+ "//components/safe_json/public/interfaces",
"//content/public/browser",
- "//ipc",
]
}
}
@@ -75,33 +74,14 @@ source_set("test_support") {
]
}
-# This is a separate source set so that it can be shared between safe_json
-# (which can be used from any process) and the message filter (which depends on
-# the utility process and hence indirectly Blink.
-source_set("messages") {
- sources = [
- "safe_json_parser_messages.cc",
- "safe_json_parser_messages.h",
- ]
-
- deps = [
- "//content/public/common",
- "//ipc",
- ]
-}
-
-# GYP version: components/safe_json.gypi:safe_json_parser_message_filter
-source_set("safe_json_parser_message_filter") {
+source_set("safe_json_parser_mojo") {
sources = [
- "safe_json_parser_message_filter.cc",
- "safe_json_parser_message_filter.h",
+ "safe_json_parser_mojo_impl.cc",
+ "safe_json_parser_mojo_impl.h",
]
deps = [
- ":messages",
"//base",
- "//content/public/common",
- "//content/public/utility",
- "//ipc",
+ "//components/safe_json/public/interfaces",
]
}

Powered by Google App Engine
This is Rietveld 408576698