[go: nahoru, domu]

Remove unneeded //chrome dependency from sync_integration_tests_support.

Also, assert_no_deps checks to the tests from chromium_builder_perf collection for them being from a dependency on //chrome.

This should speed up 'LTO Perf' builder, as linking some of the tests will start earlier.

BUG=453195
CQ_INCLUDE_TRYBOTS=tryserver.blink:linux_blink_rel

Review-Url: https://codereview.chromium.org/1968803003
Cr-Commit-Position: refs/heads/master@{#393161}
diff --git a/cc/BUILD.gn b/cc/BUILD.gn
index b1f2a14..c8fff822 100644
--- a/cc/BUILD.gn
+++ b/cc/BUILD.gn
@@ -1000,6 +1000,9 @@
     "//ui/gl",
     "//ui/gl:test_support",
   ]
+
+  # This target should not require the Chrome executable to run.
+  assert_no_deps = [ "//chrome" ]
 }
 # When adding support for isolates, please have a look at run-time dependencies
 # in the cc_unittests_run target in cc_tests.gyp.