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

Unified Diff: components/safe_json/BUILD.gn

Issue 1951863002: Revert of Convert the utility process JSON parser into a Mojo service. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « components/safe_json.gypi ('k') | components/safe_json/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_json/BUILD.gn
diff --git a/components/safe_json/BUILD.gn b/components/safe_json/BUILD.gn
index 9797135005fe221d0e75fd36c84d00d644685a34..0f4ce37cafa032285e4c5e1c0f33f5a95d2ee471 100644
--- a/components/safe_json/BUILD.gn
+++ b/components/safe_json/BUILD.gn
@@ -23,12 +23,11 @@
]
deps = [
+ ":messages",
"//base",
- "//components/safe_json/public/interfaces",
"//components/strings",
"//content/public/browser",
- "//content/public/common",
- "//mojo/edk/system",
+ "//ipc",
"//ui/base",
]
@@ -40,9 +39,9 @@
]
deps += [ "android:safe_json_jni_headers" ]
deps -= [
- "//components/safe_json/public/interfaces",
+ ":messages",
"//content/public/browser",
- "//mojo/edk/system",
+ "//ipc",
]
}
}
@@ -75,3 +74,34 @@
"//base",
]
}
+
+# 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") {
+ sources = [
+ "safe_json_parser_message_filter.cc",
+ "safe_json_parser_message_filter.h",
+ ]
+
+ deps = [
+ ":messages",
+ "//base",
+ "//content/public/common",
+ "//content/public/utility",
+ "//ipc",
+ ]
+}
« no previous file with comments | « components/safe_json.gypi ('k') | components/safe_json/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698