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

Unified Diff: components/captive_portal/BUILD.gn

Issue 756233002: Add more components unittests to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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/BUILD.gn ('k') | components/cloud_devices.gypi » ('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 e0a07b62307a3933a49cdc72762389a3eaf26cc4..3bf2fccb545ac6cca825d91f17263502ef533083 100644
--- a/components/captive_portal/BUILD.gn
+++ b/components/captive_portal/BUILD.gn
@@ -20,7 +20,7 @@ component("captive_portal") {
]
}
-static_library("test_support") {
+source_set("test_support") {
testonly = true
sources = [
"captive_portal_testing_utils.cc",
@@ -30,7 +30,7 @@ static_library("test_support") {
deps = [
":captive_portal",
"//base",
- "//net",
+ "//net:test_support",
"//url",
]
}
@@ -43,6 +43,9 @@ source_set("unit_tests") {
deps = [
":captive_portal",
+ ":test_support",
+ "//base",
+ "//net:test_support",
"//testing/gtest",
]
}
« no previous file with comments | « components/BUILD.gn ('k') | components/cloud_devices.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698