-
sammc authored
Previously, //content/test:test_support depended directly on *_sources targets. In component builds, this caused the browser_tests and content_browsertests binaries to include their own copies of content as well as depend on libcontent.so. This caused browser_tests and content_browsertests to crash on startup. This CL changes test_support to depend on the targets that forward to //content in component builds and introduces such targets for gpu and ppapi_plugin. The test_support changes also exposed underspecified dependencies in extensions/renderer/BUILD.gn and third_party/libjingle/BUILD.gn, and incorrect generated file dependencies in content/browser/devtools; the generated files depend on other non-generated files so have to be directly included in //content/browser. BUG=432959 Review URL: https://codereview.chromium.org/1104973002 Cr-Commit-Position: refs/heads/master@{#327188}
d06e3fcf