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{
6  'targets': [
7    {
8      'target_name': 'captive_portal',
9      'type': '<(component)',
10      'dependencies': [
11        '../base/base.gyp:base',
12        '../net/net.gyp:net',
13        '../url/url.gyp:url_lib',
14      ],
15      'include_dirs': [
16        '..',
17      ],
18      'defines': [
19        'CAPTIVE_PORTAL_IMPLEMENTATION',
20      ],
21      'sources': [
22        'captive_portal/captive_portal_detector.cc',
23        'captive_portal/captive_portal_detector.h',
24        'captive_portal/captive_portal_types.cc',
25        'captive_portal/captive_portal_types.h',
26        'captive_portal/captive_portal_export.h',
27      ],
28    },
29    {
30      'target_name': 'captive_portal_test_support',
31      'type': 'static_library',
32      'dependencies': [
33        'captive_portal',
34        '../base/base.gyp:base',
35        '../net/net.gyp:net',
36        '../url/url.gyp:url_lib',
37      ],
38      'sources': [
39        'captive_portal/captive_portal_testing_utils.cc',
40        'captive_portal/captive_portal_testing_utils.h',
41      ],
42    },
43  ],
44}
45