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", |
] |