Index: chrome/BUILD.gn |
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn |
index db8d6d6f876072ee5b8eacf7a7c140d8209fd902..d5b0f145c7f3b8b5d1b885116e1f44c6f89e1b55 100644 |
--- a/chrome/BUILD.gn |
+++ b/chrome/BUILD.gn |
@@ -458,6 +458,19 @@ group("browser_dependencies") { |
public_deps += [ "//chrome/service" ] |
} |
} |
+ |
+ if (!is_component_build) { |
+ assert_no_deps = [ |
+ # Blink and V8 should not be used in the browser process. In component |
+ # build this is OK because all of content is linked into one library. |
+ # Note that the blink_headers target is OK, so we can't doa wildcard for |
Dirk Pranke
2016/01/28 01:54:30
s/doa/do a/
|
+ # all blink targets. |
+ "//third_party/WebKit/public:blink", |
+ # TODO(brettw) bug 581766: V8 should not be linked into the browser |
+ # process, and then we can enable this. |
+ #"//v8/*", |
+ ] |
+ } |
} |
# GYP version: chromium_child_dependencies variable in chrome.gyp |