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 component("wifi") { | 5 component("wifi") { |
6 sources = [ | 6 sources = [ |
7 "network_properties.cc", | 7 "network_properties.cc", |
8 "network_properties.h", | 8 "network_properties.h", |
9 "wifi_export.h", | 9 "wifi_export.h", |
10 "wifi_service.cc", | 10 "wifi_service.cc", |
11 "wifi_service.h", | 11 "wifi_service.h", |
12 "wifi_service_mac.mm", | 12 "wifi_service_mac.mm", |
13 "wifi_service_win.cc", | 13 "wifi_service_win.cc", |
14 ] | 14 ] |
15 | 15 |
16 defines = [ | 16 defines = [ "WIFI_IMPLEMENTATION" ] |
17 "WIFI_IMPLEMENTATION", | |
18 ] | |
19 | 17 |
20 deps = [ | 18 deps = [ |
21 "//base", | 19 "//base", |
22 "//components/onc", | 20 "//components/onc", |
23 "//third_party/libxml", | 21 "//third_party/libxml", |
24 ] | 22 ] |
25 | 23 |
26 if (is_win) { | 24 if (is_win) { |
27 libs = [ | 25 libs = [ "iphlpapi.lib" ] |
28 "iphlpapi.lib", | |
29 ] | |
30 } | 26 } |
31 | 27 |
32 if (is_mac) { | 28 if (is_mac) { |
33 libs = [ | 29 libs = [ |
34 "CoreWLAN.framework", | 30 "CoreWLAN.framework", |
35 "SystemConfiguration.framework", | 31 "SystemConfiguration.framework", |
36 ] | 32 ] |
37 } | 33 } |
38 } | 34 } |
39 | 35 |
(...skipping 14 matching lines...) Expand all Loading... |
54 sources = [ | 50 sources = [ |
55 "wifi_test.cc", | 51 "wifi_test.cc", |
56 ] | 52 ] |
57 | 53 |
58 deps = [ | 54 deps = [ |
59 ":wifi", | 55 ":wifi", |
60 "//base", | 56 "//base", |
61 "//components/onc", | 57 "//components/onc", |
62 ] | 58 ] |
63 } | 59 } |
OLD | NEW |