diff options
author | Brett Wilson <brettw@chromium.org> | 2014-09-08 15:59:49 -0700 |
---|---|---|
committer | Brett Wilson <brettw@chromium.org> | 2014-09-08 23:18:07 +0000 |
commit | 0c8745ab0e0a81fd627d6fcbf4569928724ff8c2 (patch) | |
tree | 8978c9f35cebc119a5ec76df0d5a4c6aaf59f7fe /components/component_updater/BUILD.gn | |
parent | 647665c49d055d6a4645f7c842b35f2d0c20a025 (diff) | |
download | chromium_src-0c8745ab0e0a81fd627d6fcbf4569928724ff8c2.zip chromium_src-0c8745ab0e0a81fd627d6fcbf4569928724ff8c2.tar.gz chromium_src-0c8745ab0e0a81fd627d6fcbf4569928724ff8c2.tar.bz2 |
Mark gtest and gmock as testonly in GN.
This updates the targets that depend on these to also be test-only.
BUG=http://crbug.com/412064
R=jamesr@chromium.org, tfarina@chromium.org
Review URL: https://codereview.chromium.org/551933002
Cr-Commit-Position: refs/heads/master@{#293808}
Diffstat (limited to 'components/component_updater/BUILD.gn')
-rw-r--r-- | components/component_updater/BUILD.gn | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/component_updater/BUILD.gn b/components/component_updater/BUILD.gn index 404a9ae..f2d2a47 100644 --- a/components/component_updater/BUILD.gn +++ b/components/component_updater/BUILD.gn @@ -52,6 +52,7 @@ source_set("component_updater") { } static_library("test_support") { + testonly = true sources = [ "test/test_configurator.cc", "test/test_configurator.h", @@ -69,6 +70,7 @@ static_library("test_support") { } source_set("unit_tests") { + testonly = true sources = [ "test/component_patcher_unittest.cc", "test/component_updater_ping_manager_unittest.cc", |