[email protected] | b9f4c68 | 2014-07-10 22:00:37 | [diff] [blame] | 1 | # Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | component("captive_portal") { |
| 6 | sources = [ |
| 7 | "captive_portal_detector.cc", |
| 8 | "captive_portal_detector.h", |
| 9 | "captive_portal_types.cc", |
| 10 | "captive_portal_types.h", |
| 11 | "captive_portal_export.h", |
| 12 | ] |
| 13 | |
| 14 | defines = [ "CAPTIVE_PORTAL_IMPLEMENTATION" ] |
| 15 | |
| 16 | deps = [ |
| 17 | "//base", |
| 18 | "//net", |
| 19 | "//url", |
| 20 | ] |
| 21 | } |
| 22 | |
| 23 | static_library("test_support") { |
| 24 | sources = [ |
| 25 | "captive_portal_testing_utils.cc", |
| 26 | "captive_portal_testing_utils.h", |
| 27 | ] |
| 28 | |
| 29 | deps = [ |
| 30 | ":captive_portal", |
| 31 | "//base", |
| 32 | "//net", |
| 33 | "//url", |
| 34 | ] |
| 35 | } |
[email protected] | a439c14 | 2014-07-21 17:24:48 | [diff] [blame^] | 36 | |
| 37 | source_set("unit_tests") { |
| 38 | sources = [ |
| 39 | "captive_portal_detector_unittest.cc", |
| 40 | ] |
| 41 | |
| 42 | deps = [ |
| 43 | ":captive_portal", |
| 44 | "//testing/gtest", |
| 45 | ] |
| 46 | } |