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 source_set("wifi_sync") { | 5 source_set("wifi_sync") { |
6 sources = [ | 6 sources = [ |
7 "network_state_helper_chromeos.cc", | 7 "network_state_helper_chromeos.cc", |
8 "network_state_helper_chromeos.h", | 8 "network_state_helper_chromeos.h", |
9 "wifi_config_delegate.h", | 9 "wifi_config_delegate.h", |
10 "wifi_config_delegate_chromeos.cc", | 10 "wifi_config_delegate_chromeos.cc", |
11 "wifi_config_delegate_chromeos.h", | 11 "wifi_config_delegate_chromeos.h", |
12 "wifi_credential.cc", | 12 "wifi_credential.cc", |
13 "wifi_credential.h", | 13 "wifi_credential.h", |
14 "wifi_credential_syncable_service.cc", | 14 "wifi_credential_syncable_service.cc", |
15 "wifi_credential_syncable_service.h", | 15 "wifi_credential_syncable_service.h", |
16 "wifi_credential_syncable_service_factory.cc", | 16 "wifi_credential_syncable_service_factory.cc", |
17 "wifi_credential_syncable_service_factory.h", | 17 "wifi_credential_syncable_service_factory.h", |
18 "wifi_security_class.cc", | 18 "wifi_security_class.cc", |
19 "wifi_security_class.h", | 19 "wifi_security_class.h", |
20 "wifi_security_class_chromeos.cc", | 20 "wifi_security_class_chromeos.cc", |
21 ] | 21 ] |
22 | 22 |
23 deps = [ | 23 deps = [ |
24 "//base", | 24 "//base", |
| 25 "//base:i18n", |
| 26 "//components/keyed_service/content", |
| 27 "//components/keyed_service/core", |
25 "//components/onc", | 28 "//components/onc", |
| 29 "//content/public/browser", |
26 "//sync", | 30 "//sync", |
27 ] | 31 ] |
| 32 |
| 33 if (is_chromeos) { |
| 34 deps += [ "//chromeos" ] |
| 35 } |
28 } | 36 } |
29 | 37 |
30 source_set("unit_tests") { | 38 source_set("unit_tests") { |
31 testonly = true | 39 testonly = true |
32 | 40 |
33 deps = [ | |
34 ":wifi_sync", | |
35 "//sync", | |
36 "//testing/gmock", | |
37 "//testing/gtest", | |
38 ] | |
39 | |
40 sources = [ | 41 sources = [ |
41 "wifi_config_delegate_chromeos_unittest.cc", | 42 "wifi_config_delegate_chromeos_unittest.cc", |
42 "wifi_credential_syncable_service_unittest.cc", | 43 "wifi_credential_syncable_service_unittest.cc", |
43 "wifi_credential_unittest.cc", | 44 "wifi_credential_unittest.cc", |
44 "wifi_security_class_chromeos_unittest.cc", | 45 "wifi_security_class_chromeos_unittest.cc", |
45 "wifi_security_class_unittest.cc", | 46 "wifi_security_class_unittest.cc", |
46 ] | 47 ] |
| 48 |
| 49 deps = [ |
| 50 ":wifi_sync", |
| 51 "//base", |
| 52 "//chromeos", |
| 53 "//components/onc", |
| 54 "//sync:test_support_sync_api", |
| 55 "//testing/gmock", |
| 56 "//testing/gtest", |
| 57 ] |
47 } | 58 } |
OLD | NEW |