OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos") | 5 assert(is_chromeos, "Non-ChromeOS builds cannot depend on //chromeos") |
6 | 6 |
7 static_library("tether") { | 7 static_library("tether") { |
8 sources = [ | 8 sources = [ |
9 "ble_advertisement_device_queue.cc", | 9 "ble_advertisement_device_queue.cc", |
10 "ble_advertisement_device_queue.h", | 10 "ble_advertisement_device_queue.h", |
11 "ble_advertiser.cc", | 11 "ble_advertiser.cc", |
12 "ble_advertiser.h", | 12 "ble_advertiser.h", |
13 "ble_connection_manager.cc", | 13 "ble_connection_manager.cc", |
14 "ble_connection_manager.h", | 14 "ble_connection_manager.h", |
15 "ble_constants.cc", | 15 "ble_constants.cc", |
16 "ble_constants.h", | 16 "ble_constants.h", |
17 "ble_scanner.cc", | 17 "ble_scanner.cc", |
18 "ble_scanner.h", | 18 "ble_scanner.h", |
| 19 "host_scan_device_prioritizer.cc", |
| 20 "host_scan_device_prioritizer.h", |
19 "host_scan_scheduler.cc", | 21 "host_scan_scheduler.cc", |
20 "host_scan_scheduler.h", | 22 "host_scan_scheduler.h", |
21 "host_scanner.cc", | 23 "host_scanner.cc", |
22 "host_scanner.h", | 24 "host_scanner.h", |
23 "initializer.cc", | 25 "initializer.cc", |
24 "initializer.h", | 26 "initializer.h", |
25 "local_device_data_provider.cc", | 27 "local_device_data_provider.cc", |
26 "local_device_data_provider.h", | 28 "local_device_data_provider.h", |
27 "message_transfer_operation.cc", | 29 "message_transfer_operation.cc", |
28 "message_transfer_operation.h", | 30 "message_transfer_operation.h", |
29 "message_wrapper.cc", | 31 "message_wrapper.cc", |
30 "message_wrapper.h", | 32 "message_wrapper.h", |
| 33 "pref_names.cc", |
| 34 "pref_names.h", |
31 ] | 35 ] |
32 | 36 |
33 deps = [ | 37 deps = [ |
34 "//base", | 38 "//base", |
35 "//chromeos", | 39 "//chromeos", |
36 "//chromeos/components/tether/proto", | 40 "//chromeos/components/tether/proto", |
37 "//components/cryptauth", | 41 "//components/cryptauth", |
38 "//components/cryptauth/ble", | 42 "//components/cryptauth/ble", |
| 43 "//components/prefs", |
39 "//components/proximity_auth/logging", | 44 "//components/proximity_auth/logging", |
40 "//device/bluetooth", | 45 "//device/bluetooth", |
41 ] | 46 ] |
42 | 47 |
43 public_deps = [ | 48 public_deps = [ |
44 "//components/cryptauth/proto", | 49 "//components/cryptauth/proto", |
45 ] | 50 ] |
46 } | 51 } |
47 | 52 |
48 static_library("test_support") { | 53 static_library("test_support") { |
(...skipping 18 matching lines...) Expand all Loading... |
67 } | 72 } |
68 | 73 |
69 source_set("unit_tests") { | 74 source_set("unit_tests") { |
70 testonly = true | 75 testonly = true |
71 | 76 |
72 sources = [ | 77 sources = [ |
73 "ble_advertisement_device_queue_unittest.cc", | 78 "ble_advertisement_device_queue_unittest.cc", |
74 "ble_advertiser_unittest.cc", | 79 "ble_advertiser_unittest.cc", |
75 "ble_connection_manager_unittest.cc", | 80 "ble_connection_manager_unittest.cc", |
76 "ble_scanner_unittest.cc", | 81 "ble_scanner_unittest.cc", |
| 82 "host_scan_device_prioritizer_unittest.cc", |
77 "host_scan_scheduler_unittest.cc", | 83 "host_scan_scheduler_unittest.cc", |
78 "local_device_data_provider_unittest.cc", | 84 "local_device_data_provider_unittest.cc", |
79 "message_transfer_operation_unittest.cc", | 85 "message_transfer_operation_unittest.cc", |
80 "message_wrapper_unittest.cc", | 86 "message_wrapper_unittest.cc", |
81 ] | 87 ] |
82 | 88 |
83 deps = [ | 89 deps = [ |
84 ":test_support", | 90 ":test_support", |
85 ":tether", | 91 ":tether", |
86 "//base/test:test_support", | 92 "//base/test:test_support", |
87 "//chromeos", | 93 "//chromeos", |
88 "//chromeos/components/tether/proto", | 94 "//chromeos/components/tether/proto", |
89 "//components/cryptauth", | 95 "//components/cryptauth", |
90 "//components/cryptauth:test_support", | 96 "//components/cryptauth:test_support", |
91 "//components/cryptauth/ble", | 97 "//components/cryptauth/ble", |
| 98 "//components/prefs:test_support", |
92 "//device/bluetooth", | 99 "//device/bluetooth", |
93 "//device/bluetooth:mocks", | 100 "//device/bluetooth:mocks", |
94 "//testing/gmock", | 101 "//testing/gmock", |
95 "//testing/gtest", | 102 "//testing/gtest", |
96 ] | 103 ] |
97 } | 104 } |
OLD | NEW |