Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(258)

Unified Diff: components/component_updater/BUILD.gn

Issue 551933002: Mark gtest and gmock as testonly in GN. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@testonly
Patch Set: android Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/cloud_devices/common/BUILD.gn ('k') | components/crx_file/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/component_updater/BUILD.gn
diff --git a/components/component_updater/BUILD.gn b/components/component_updater/BUILD.gn
index 404a9ae8ad8dba99ade84ecd1811ad4daf3bdd37..f2d2a47e8bf27f81b6de34bda3db468b23dc6686 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",
« no previous file with comments | « components/cloud_devices/common/BUILD.gn ('k') | components/crx_file/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698