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", |
(...skipping 17 matching lines...) Expand all Loading... |
28 | 28 |
29 if (is_mac) { | 29 if (is_mac) { |
30 libs = [ | 30 libs = [ |
31 "CoreWLAN.framework", | 31 "CoreWLAN.framework", |
32 "Foundation.framework", | 32 "Foundation.framework", |
33 "SystemConfiguration.framework", | 33 "SystemConfiguration.framework", |
34 ] | 34 ] |
35 } | 35 } |
36 } | 36 } |
37 | 37 |
38 source_set("test_support") { | 38 static_library("test_support") { |
39 sources = [ | 39 sources = [ |
40 "fake_wifi_service.cc", | 40 "fake_wifi_service.cc", |
41 "fake_wifi_service.h", | 41 "fake_wifi_service.h", |
42 ] | 42 ] |
43 | 43 |
44 deps = [ | 44 deps = [ |
45 ":wifi", | 45 ":wifi", |
46 "//base", | 46 "//base", |
47 "//components/onc", | 47 "//components/onc", |
48 ] | 48 ] |
49 } | 49 } |
50 | 50 |
51 executable("wifi_test") { | 51 executable("wifi_test") { |
52 sources = [ | 52 sources = [ |
53 "wifi_test.cc", | 53 "wifi_test.cc", |
54 ] | 54 ] |
55 | 55 |
56 deps = [ | 56 deps = [ |
57 ":wifi", | 57 ":wifi", |
58 "//base", | 58 "//base", |
59 "//build/config/sanitizers:deps", | 59 "//build/config/sanitizers:deps", |
60 "//build/win:default_exe_manifest", | 60 "//build/win:default_exe_manifest", |
61 "//components/onc", | 61 "//components/onc", |
62 ] | 62 ] |
63 } | 63 } |
OLD | NEW |