Index: chrome/BUILD.gn |
diff --git a/chrome/BUILD.gn b/chrome/BUILD.gn |
index b6178eec46231ca61f1344ce5a00274600f2da02..e1b6ebfc3f06e36a67b85483e4ddfaaf6555a75c 100644 |
--- a/chrome/BUILD.gn |
+++ b/chrome/BUILD.gn |
@@ -457,6 +457,21 @@ 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 do a wildcard for |
+ # all blink targets. |
+ # TODO(brettw) bug 582206: Blink should not be linked into the browser |
+ # process, and then we can enable this. |
+ #"//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 |