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