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("proximity_auth") { | 5 source_set("proximity_auth") { |
6 sources = [ | 6 sources = [ |
7 "bluetooth_connection.cc", | 7 "bluetooth_connection.cc", |
8 "bluetooth_connection.h", | 8 "bluetooth_connection.h", |
| 9 "bluetooth_connection_finder.cc", |
| 10 "bluetooth_connection_finder.h", |
9 "bluetooth_util.cc", | 11 "bluetooth_util.cc", |
10 "bluetooth_util_chromeos.cc", | 12 "bluetooth_util_chromeos.cc", |
11 "bluetooth_util.h", | 13 "bluetooth_util.h", |
12 "connection.cc", | 14 "connection.cc", |
13 "connection.h", | 15 "connection.h", |
| 16 "connection_finder.h", |
14 "connection_observer.h", | 17 "connection_observer.h", |
15 "proximity_auth_system.cc", | 18 "proximity_auth_system.cc", |
16 "proximity_auth_system.h", | 19 "proximity_auth_system.h", |
17 "remote_device.h", | 20 "remote_device.h", |
18 "wire_message.cc", | 21 "wire_message.cc", |
19 "wire_message.h", | 22 "wire_message.h", |
20 ] | 23 ] |
21 | 24 |
22 deps = [ | 25 deps = [ |
23 "//base", | 26 "//base", |
24 "//device/bluetooth", | 27 "//device/bluetooth", |
25 "//net", | 28 "//net", |
26 ] | 29 ] |
27 } | 30 } |
28 | 31 |
29 source_set("unit_tests") { | 32 source_set("unit_tests") { |
30 testonly = true | 33 testonly = true |
31 sources = [ | 34 sources = [ |
32 "bluetooth_connection_unittest.cc", | 35 "bluetooth_connection_unittest.cc", |
| 36 "bluetooth_connection_finder_unittest.cc", |
33 "connection_unittest.cc", | 37 "connection_unittest.cc", |
34 "proximity_auth_system_unittest.cc", | 38 "proximity_auth_system_unittest.cc", |
35 "wire_message_unittest.cc", | 39 "wire_message_unittest.cc", |
36 ] | 40 ] |
37 | 41 |
38 deps = [ | 42 deps = [ |
39 ":proximity_auth", | 43 ":proximity_auth", |
40 "cryptauth:unit_tests", | 44 "cryptauth:unit_tests", |
41 "//base/test:test_support", | 45 "//base/test:test_support", |
42 "//device/bluetooth:mocks", | 46 "//device/bluetooth:mocks", |
43 "//testing/gmock", | 47 "//testing/gmock", |
44 "//testing/gtest", | 48 "//testing/gtest", |
45 ] | 49 ] |
46 } | 50 } |
47 | 51 |
48 # Note: This is a convenience target for ease of rapid iteration during | 52 # Note: This is a convenience target for ease of rapid iteration during |
49 # development. It is not executed on any try or build bots. | 53 # development. It is not executed on any try or build bots. |
50 test("proximity_auth_unittests") { | 54 test("proximity_auth_unittests") { |
51 sources = [ | 55 sources = [ "run_all_unittests.cc" ] |
52 "run_all_unittests.cc", | 56 deps = [ ":unit_tests" ] |
53 ] | |
54 | |
55 deps = [ | |
56 ":unit_tests", | |
57 ] | |
58 } | 57 } |
OLD | NEW |