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 static_library("proximity_auth") { | 5 static_library("proximity_auth") { |
6 sources = [ | 6 sources = [ |
| 7 "bluetooth_connection.cc", |
| 8 "bluetooth_connection.h", |
7 "bluetooth_util.cc", | 9 "bluetooth_util.cc", |
8 "bluetooth_util_chromeos.cc", | 10 "bluetooth_util_chromeos.cc", |
9 "bluetooth_util.h", | 11 "bluetooth_util.h", |
10 "connection.cc", | 12 "connection.cc", |
11 "connection.h", | 13 "connection.h", |
12 "connection_observer.h", | 14 "connection_observer.h", |
13 "proximity_auth_system.cc", | 15 "proximity_auth_system.cc", |
14 "proximity_auth_system.h", | 16 "proximity_auth_system.h", |
15 "remote_device.h", | 17 "remote_device.h", |
16 "wire_message.cc", | 18 "wire_message.cc", |
17 "wire_message.h", | 19 "wire_message.h", |
18 ] | 20 ] |
19 | 21 |
20 deps = [ | 22 deps = [ |
21 "//base", | 23 "//base", |
22 "//device/bluetooth", | 24 "//device/bluetooth", |
23 ] | 25 ] |
24 } | 26 } |
25 | 27 |
26 source_set("unit_tests") { | 28 source_set("unit_tests") { |
27 testonly = true | 29 testonly = true |
28 sources = [ | 30 sources = [ |
| 31 "bluetooth_connection_unittest.cc", |
29 "connection_unittest.cc", | 32 "connection_unittest.cc", |
30 "proximity_auth_system_unittest.cc", | 33 "proximity_auth_system_unittest.cc", |
31 "wire_message_unittest.cc", | 34 "wire_message_unittest.cc", |
32 ] | 35 ] |
33 | 36 |
34 deps = [ | 37 deps = [ |
35 ":proximity_auth", | 38 ":proximity_auth", |
36 "//base/test:test_support", | 39 "//base/test:test_support", |
| 40 "//device/bluetooth:mocks", |
37 "//testing/gmock", | 41 "//testing/gmock", |
38 "//testing/gtest", | 42 "//testing/gtest", |
39 ] | 43 ] |
40 } | 44 } |
OLD | NEW |