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", |
| 14 "ble_connection_manager.h", |
13 "ble_constants.cc", | 15 "ble_constants.cc", |
14 "ble_constants.h", | 16 "ble_constants.h", |
15 "ble_scanner.cc", | 17 "ble_scanner.cc", |
16 "ble_scanner.h", | 18 "ble_scanner.h", |
17 "host_scan_scheduler.cc", | 19 "host_scan_scheduler.cc", |
18 "host_scan_scheduler.h", | 20 "host_scan_scheduler.h", |
19 "host_scanner.cc", | 21 "host_scanner.cc", |
20 "host_scanner.h", | 22 "host_scanner.h", |
21 "initializer.cc", | 23 "initializer.cc", |
22 "initializer.h", | 24 "initializer.h", |
23 "local_device_data_provider.cc", | 25 "local_device_data_provider.cc", |
24 "local_device_data_provider.h", | 26 "local_device_data_provider.h", |
25 ] | 27 ] |
26 | 28 |
27 deps = [ | 29 deps = [ |
28 "//base", | 30 "//base", |
29 "//chromeos", | 31 "//chromeos", |
30 "//chromeos/components/tether/proto", | 32 "//chromeos/components/tether/proto", |
31 "//components/cryptauth", | 33 "//components/cryptauth", |
| 34 "//components/cryptauth/ble", |
32 "//components/proximity_auth/logging", | 35 "//components/proximity_auth/logging", |
33 "//device/bluetooth", | 36 "//device/bluetooth", |
34 ] | 37 ] |
35 | 38 |
36 public_deps = [ | 39 public_deps = [ |
37 "//components/cryptauth/proto", | 40 "//components/cryptauth/proto", |
38 ] | 41 ] |
39 } | 42 } |
40 | 43 |
41 static_library("test_support") { | 44 static_library("test_support") { |
(...skipping 14 matching lines...) Expand all Loading... |
56 "//testing/gmock", | 59 "//testing/gmock", |
57 ] | 60 ] |
58 } | 61 } |
59 | 62 |
60 source_set("unit_tests") { | 63 source_set("unit_tests") { |
61 testonly = true | 64 testonly = true |
62 | 65 |
63 sources = [ | 66 sources = [ |
64 "ble_advertisement_device_queue_unittest.cc", | 67 "ble_advertisement_device_queue_unittest.cc", |
65 "ble_advertiser_unittest.cc", | 68 "ble_advertiser_unittest.cc", |
| 69 "ble_connection_manager_unittest.cc", |
66 "ble_scanner_unittest.cc", | 70 "ble_scanner_unittest.cc", |
67 "host_scan_scheduler_unittest.cc", | 71 "host_scan_scheduler_unittest.cc", |
68 "local_device_data_provider_unittest.cc", | 72 "local_device_data_provider_unittest.cc", |
69 ] | 73 ] |
70 | 74 |
71 deps = [ | 75 deps = [ |
72 ":test_support", | 76 ":test_support", |
73 ":tether", | 77 ":tether", |
74 "//base/test:test_support", | 78 "//base/test:test_support", |
75 "//chromeos", | 79 "//chromeos", |
76 "//chromeos/components/tether/proto", | 80 "//chromeos/components/tether/proto", |
77 "//components/cryptauth", | 81 "//components/cryptauth", |
78 "//components/cryptauth:test_support", | 82 "//components/cryptauth:test_support", |
| 83 "//components/cryptauth/ble", |
79 "//device/bluetooth", | 84 "//device/bluetooth", |
80 "//device/bluetooth:mocks", | 85 "//device/bluetooth:mocks", |
81 "//testing/gmock", | 86 "//testing/gmock", |
82 "//testing/gtest", | 87 "//testing/gtest", |
83 ] | 88 ] |
84 } | 89 } |
OLD | NEW |