OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'wifi_component', | |
9 'type': '<(component)', | |
10 'dependencies': [ | |
11 '../base/base.gyp:base', | |
12 '../crypto/crypto.gyp:crypto', | |
13 '../third_party/libxml/libxml.gyp:libxml', | |
14 'onc_component', | |
15 ], | |
16 'include_dirs': [ | |
17 '..', | |
18 ], | |
19 'defines': [ | |
20 'WIFI_IMPLEMENTATION', | |
21 ], | |
22 'sources': [ | |
23 'wifi/network_properties.cc', | |
24 'wifi/network_properties.h', | |
25 'wifi/wifi_export.h', | |
26 'wifi/wifi_service.cc', | |
27 'wifi/wifi_service.h', | |
28 'wifi/wifi_service_mac.mm', | |
29 'wifi/wifi_service_win.cc', | |
30 ], | |
31 'conditions': [ | |
32 ['OS == "win"', { | |
33 'link_settings': { | |
34 'libraries': [ | |
35 '-liphlpapi.lib', | |
36 ], | |
37 }, | |
38 }], | |
39 ['OS == "mac"', { | |
40 'link_settings': { | |
41 'libraries': [ | |
42 '$(SDKROOT)/System/Library/Frameworks/CoreWLAN.framework', | |
43 '$(SDKROOT)/System/Library/Frameworks/SystemConfiguration.framewor
k', | |
44 ] | |
45 }, | |
46 }], | |
47 ], | |
48 }, | |
49 { | |
50 'target_name': 'wifi_test_support', | |
51 'type': 'static_library', | |
52 'dependencies': [ | |
53 '../base/base.gyp:base', | |
54 'onc_component', | |
55 'wifi_component', | |
56 ], | |
57 'include_dirs': [ | |
58 '..', | |
59 ], | |
60 'sources': [ | |
61 'wifi/fake_wifi_service.cc', | |
62 'wifi/fake_wifi_service.h', | |
63 ], | |
64 }, | |
65 { | |
66 'target_name': 'wifi_test', | |
67 'type': 'executable', | |
68 'dependencies': [ | |
69 '../base/base.gyp:base', | |
70 'onc_component', | |
71 'wifi_component', | |
72 ], | |
73 'include_dirs': [ | |
74 '..', | |
75 ], | |
76 'sources': [ | |
77 'wifi/wifi_test.cc', | |
78 ], | |
79 }, | |
80 ], | |
81 } | |
OLD | NEW |