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

Unified Diff: components/safe_json/BUILD.gn

Issue 1643633003: Link Blink into the browser process less. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/printing/common/BUILD.gn ('k') | components/web_cache/browser/BUILD.gn » ('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 aa0922437f80eb7fb0e383a6b9d17182a90af7e2..73e5a7ae5a30d31648f9de09e5cb82c89256d84a 100644
--- a/components/safe_json/BUILD.gn
+++ b/components/safe_json/BUILD.gn
@@ -23,7 +23,7 @@ source_set("safe_json") {
]
deps = [
- ":safe_json_parser_message_filter",
+ ":messages",
"//base",
"//components/strings",
"//content/public/browser",
@@ -70,16 +70,30 @@ 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") {
sources = [
"safe_json_parser_message_filter.cc",
"safe_json_parser_message_filter.h",
- "safe_json_parser_messages.cc",
- "safe_json_parser_messages.h",
]
deps = [
+ ":messages",
"//base",
"//content/public/common",
"//content/public/utility",
« no previous file with comments | « components/printing/common/BUILD.gn ('k') | components/web_cache/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698