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 "base64url.cc", | 7 "base64url.cc", |
8 "base64url.h", | 8 "base64url.h", |
9 "bluetooth_connection.cc", | 9 "bluetooth_connection.cc", |
10 "bluetooth_connection.h", | 10 "bluetooth_connection.h", |
11 "bluetooth_connection_finder.cc", | 11 "bluetooth_connection_finder.cc", |
12 "bluetooth_connection_finder.h", | 12 "bluetooth_connection_finder.h", |
| 13 "bluetooth_throttler.cc", |
| 14 "bluetooth_throttler.h", |
13 "bluetooth_util.cc", | 15 "bluetooth_util.cc", |
14 "bluetooth_util_chromeos.cc", | 16 "bluetooth_util_chromeos.cc", |
15 "bluetooth_util.h", | 17 "bluetooth_util.h", |
16 "client.cc", | 18 "client.cc", |
17 "client.h", | 19 "client.h", |
18 "client_observer.h", | 20 "client_observer.h", |
19 "connection.cc", | 21 "connection.cc", |
20 "connection.h", | 22 "connection.h", |
21 "connection_finder.h", | 23 "connection_finder.h", |
22 "connection_observer.h", | 24 "connection_observer.h", |
(...skipping 13 matching lines...) Expand all Loading... |
36 "//net", | 38 "//net", |
37 ] | 39 ] |
38 } | 40 } |
39 | 41 |
40 source_set("unit_tests") { | 42 source_set("unit_tests") { |
41 testonly = true | 43 testonly = true |
42 sources = [ | 44 sources = [ |
43 "base64url_unittest.cc", | 45 "base64url_unittest.cc", |
44 "bluetooth_connection_unittest.cc", | 46 "bluetooth_connection_unittest.cc", |
45 "bluetooth_connection_finder_unittest.cc", | 47 "bluetooth_connection_finder_unittest.cc", |
| 48 "bluetooth_throttler_unittest.cc", |
46 "client_unittest.cc", | 49 "client_unittest.cc", |
47 "connection_unittest.cc", | 50 "connection_unittest.cc", |
48 "proximity_auth_system_unittest.cc", | 51 "proximity_auth_system_unittest.cc", |
49 "remote_status_update_unittest.cc", | 52 "remote_status_update_unittest.cc", |
50 "wire_message_unittest.cc", | 53 "wire_message_unittest.cc", |
51 ] | 54 ] |
52 | 55 |
53 deps = [ | 56 deps = [ |
54 ":proximity_auth", | 57 ":proximity_auth", |
55 "cryptauth:unit_tests", | 58 "cryptauth:unit_tests", |
56 "//base/test:test_support", | 59 "//base/test:test_support", |
57 "//device/bluetooth:mocks", | 60 "//device/bluetooth:mocks", |
58 "//testing/gmock", | 61 "//testing/gmock", |
59 "//testing/gtest", | 62 "//testing/gtest", |
60 ] | 63 ] |
61 } | 64 } |
62 | 65 |
63 # Note: This is a convenience target for ease of rapid iteration during | 66 # Note: This is a convenience target for ease of rapid iteration during |
64 # development. It is not executed on any try or build bots. | 67 # development. It is not executed on any try or build bots. |
65 test("proximity_auth_unittests") { | 68 test("proximity_auth_unittests") { |
66 sources = [ "run_all_unittests.cc" ] | 69 sources = [ "run_all_unittests.cc" ] |
67 deps = [ ":unit_tests" ] | 70 deps = [ ":unit_tests" ] |
68 } | 71 } |
OLD | NEW |