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

Unified Diff: components/captive_portal/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/bookmarks/test/BUILD.gn ('k') | components/cloud_devices/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/captive_portal/BUILD.gn
diff --git a/components/captive_portal/BUILD.gn b/components/captive_portal/BUILD.gn
index fbdae62eeca2eda8f89a85480991fa0869d11e9d..e0a07b62307a3933a49cdc72762389a3eaf26cc4 100644
--- a/components/captive_portal/BUILD.gn
+++ b/components/captive_portal/BUILD.gn
@@ -21,6 +21,7 @@ component("captive_portal") {
}
static_library("test_support") {
+ testonly = true
sources = [
"captive_portal_testing_utils.cc",
"captive_portal_testing_utils.h",
@@ -35,6 +36,7 @@ static_library("test_support") {
}
source_set("unit_tests") {
+ testonly = true
sources = [
"captive_portal_detector_unittest.cc",
]
« no previous file with comments | « components/bookmarks/test/BUILD.gn ('k') | components/cloud_devices/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698