Index: components/captive_portal/BUILD.gn |
diff --git a/components/captive_portal/BUILD.gn b/components/captive_portal/BUILD.gn |
new file mode 100644 |
index 0000000000000000000000000000000000000000..67086bb1db7e7987653b70beb8605d1ca0cbc959 |
--- /dev/null |
+++ b/components/captive_portal/BUILD.gn |
@@ -0,0 +1,35 @@ |
+# Copyright 2014 The Chromium Authors. All rights reserved. |
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+component("captive_portal") { |
+ sources = [ |
+ "captive_portal_detector.cc", |
+ "captive_portal_detector.h", |
+ "captive_portal_types.cc", |
+ "captive_portal_types.h", |
+ "captive_portal_export.h", |
+ ] |
+ |
+ defines = [ "CAPTIVE_PORTAL_IMPLEMENTATION" ] |
+ |
+ deps = [ |
+ "//base", |
+ "//net", |
+ "//url", |
+ ] |
+} |
+ |
+static_library("test_support") { |
+ sources = [ |
+ "captive_portal_testing_utils.cc", |
+ "captive_portal_testing_utils.h", |
+ ] |
+ |
+ deps = [ |
+ ":captive_portal", |
+ "//base", |
+ "//net", |
+ "//url", |
+ ] |
+} |