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 /breakpad/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 'breakpad/BUILD.gn')
-rw-r--r-- | breakpad/BUILD.gn | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/breakpad/BUILD.gn b/breakpad/BUILD.gn index 9747212..899cfef 100644 --- a/breakpad/BUILD.gn +++ b/breakpad/BUILD.gn @@ -480,7 +480,7 @@ if (is_linux) { ] } - executable("breakpad_unittests") { + test("breakpad_unittests") { sources = [ "linux/breakpad_googletest_includes.h", "src/client/linux/handler/exception_handler_unittest.cc", @@ -542,6 +542,7 @@ if (is_linux) { } executable("linux_dumper_unittest_helper") { + testonly = true sources = [ "src/client/linux/minidump_writer/linux_dumper_unittest_helper.cc", ] @@ -560,6 +561,7 @@ if (is_linux) { executable("generate_test_dump") { + testonly = true sources = [ "linux/generate-test-dump.cc", ] |