Add chrome://flags entry for --try-supported-channel-layouts
[chromium-blink-merge.git] / components / captive_portal / BUILD.gn
blob3d77291c6978a028851b8d20d6a57a026c2f99ae
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.
5 component("captive_portal") {
6   sources = [
7     "captive_portal_detector.cc",
8     "captive_portal_detector.h",
9     "captive_portal_export.h",
10     "captive_portal_types.cc",
11     "captive_portal_types.h",
12   ]
14   defines = [ "CAPTIVE_PORTAL_IMPLEMENTATION" ]
16   deps = [
17     "//base",
18     "//net",
19     "//url",
20   ]
23 source_set("test_support") {
24   testonly = true
25   sources = [
26     "captive_portal_testing_utils.cc",
27     "captive_portal_testing_utils.h",
28   ]
30   deps = [
31     ":captive_portal",
32     "//base",
33     "//net:test_support",
34     "//url",
35   ]
38 source_set("unit_tests") {
39   testonly = true
40   sources = [
41     "captive_portal_detector_unittest.cc",
42   ]
44   deps = [
45     ":captive_portal",
46     ":test_support",
47     "//base",
48     "//net:test_support",
49     "//testing/gtest",
50   ]