OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 'target_name': 'wifi_component', | 8 'target_name': 'wifi_component', |
9 'type': '<(component)', | 9 'type': '<(component)', |
10 'dependencies': [ | 10 'dependencies': [ |
11 '../base/base.gyp:base', | 11 '../base/base.gyp:base', |
12 '../components/components.gyp:onc_component', | 12 '../components/components.gyp:onc_component', |
13 ], | 13 ], |
14 'include_dirs': [ | 14 'include_dirs': [ |
15 '..', | 15 '..', |
16 ], | 16 ], |
17 'defines': [ | 17 'defines': [ |
18 'WIFI_IMPLEMENTATION', | 18 'WIFI_IMPLEMENTATION', |
19 ], | 19 ], |
20 'sources': [ | 20 'sources': [ |
21 'wifi/wifi_export.h', | 21 'wifi/wifi_export.h', |
22 'wifi/wifi_service.cc', | 22 'wifi/wifi_service.cc', |
23 'wifi/wifi_service.h', | 23 'wifi/wifi_service.h', |
24 'wifi/fake_wifi_service.cc', | 24 'wifi/fake_wifi_service.cc', |
| 25 'wifi/wifi_service_win.cc', |
| 26 ], |
| 27 'conditions': [ |
| 28 ['OS == "win"', { |
| 29 'link_settings': { |
| 30 'libraries': [ |
| 31 '-liphlpapi.lib', |
| 32 ], |
| 33 }, |
| 34 }], |
| 35 ], |
| 36 }, |
| 37 { |
| 38 'target_name': 'wifi_test', |
| 39 'type': 'executable', |
| 40 'dependencies': [ |
| 41 'wifi_component', |
| 42 '../base/base.gyp:base', |
| 43 '../components/components.gyp:onc_component', |
| 44 ], |
| 45 'include_dirs': [ |
| 46 '..', |
| 47 ], |
| 48 'sources': [ |
| 49 'wifi/wifi_test.cc', |
25 ], | 50 ], |
26 }, | 51 }, |
27 ], | 52 ], |
28 } | 53 } |
OLD | NEW |