OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
| 8 # GN version: //components/captive_portal |
8 'target_name': 'captive_portal', | 9 'target_name': 'captive_portal', |
9 'type': '<(component)', | 10 'type': '<(component)', |
10 'dependencies': [ | 11 'dependencies': [ |
11 '../base/base.gyp:base', | 12 '../base/base.gyp:base', |
12 '../net/net.gyp:net', | 13 '../net/net.gyp:net', |
13 '../url/url.gyp:url_lib', | 14 '../url/url.gyp:url_lib', |
14 ], | 15 ], |
15 'include_dirs': [ | 16 'include_dirs': [ |
16 '..', | 17 '..', |
17 ], | 18 ], |
18 'defines': [ | 19 'defines': [ |
19 'CAPTIVE_PORTAL_IMPLEMENTATION', | 20 'CAPTIVE_PORTAL_IMPLEMENTATION', |
20 ], | 21 ], |
21 'sources': [ | 22 'sources': [ |
| 23 # Note: sources list duplicated in GN build. |
22 'captive_portal/captive_portal_detector.cc', | 24 'captive_portal/captive_portal_detector.cc', |
23 'captive_portal/captive_portal_detector.h', | 25 'captive_portal/captive_portal_detector.h', |
24 'captive_portal/captive_portal_types.cc', | 26 'captive_portal/captive_portal_types.cc', |
25 'captive_portal/captive_portal_types.h', | 27 'captive_portal/captive_portal_types.h', |
26 'captive_portal/captive_portal_export.h', | 28 'captive_portal/captive_portal_export.h', |
27 ], | 29 ], |
28 }, | 30 }, |
29 { | 31 { |
| 32 # GN version: //components/captive_portal:test_support |
30 'target_name': 'captive_portal_test_support', | 33 'target_name': 'captive_portal_test_support', |
31 'type': 'static_library', | 34 'type': 'static_library', |
32 'dependencies': [ | 35 'dependencies': [ |
33 'captive_portal', | 36 'captive_portal', |
34 '../base/base.gyp:base', | 37 '../base/base.gyp:base', |
35 '../net/net.gyp:net', | 38 '../net/net.gyp:net', |
36 '../url/url.gyp:url_lib', | 39 '../url/url.gyp:url_lib', |
37 ], | 40 ], |
38 'sources': [ | 41 'sources': [ |
| 42 # Note: sources list duplicated in GN build. |
39 'captive_portal/captive_portal_testing_utils.cc', | 43 'captive_portal/captive_portal_testing_utils.cc', |
40 'captive_portal/captive_portal_testing_utils.h', | 44 'captive_portal/captive_portal_testing_utils.h', |
41 ], | 45 ], |
42 }, | 46 }, |
43 ], | 47 ], |
44 } | 48 } |
OLD | NEW |