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 import("//testing/test.gni") | 5 import("//testing/test.gni") |
6 | 6 |
7 source_set("proximity_auth") { | 7 source_set("proximity_auth") { |
8 sources = [ | 8 sources = [ |
9 "authenticator.h", | 9 "authenticator.h", |
10 "bluetooth_connection.cc", | 10 "bluetooth_connection.cc", |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 "//net", | 67 "//net", |
68 ] | 68 ] |
69 } | 69 } |
70 | 70 |
71 source_set("test_support") { | 71 source_set("test_support") { |
72 testonly = true | 72 testonly = true |
73 | 73 |
74 sources = [ | 74 sources = [ |
75 "device_to_device_responder_operations.cc", | 75 "device_to_device_responder_operations.cc", |
76 "device_to_device_responder_operations.h", | 76 "device_to_device_responder_operations.h", |
| 77 "mock_proximity_auth_client.cc", |
| 78 "mock_proximity_auth_client.h", |
77 ] | 79 ] |
78 | 80 |
79 deps = [ | 81 deps = [ |
80 "cryptauth:test_support", | 82 "cryptauth:test_support", |
81 "//base", | 83 "//base", |
| 84 "//testing/gmock", |
82 ] | 85 ] |
83 } | 86 } |
84 | 87 |
85 source_set("unit_tests") { | 88 source_set("unit_tests") { |
86 testonly = true | 89 testonly = true |
87 sources = [ | 90 sources = [ |
88 "bluetooth_connection_finder_unittest.cc", | 91 "bluetooth_connection_finder_unittest.cc", |
89 "bluetooth_connection_unittest.cc", | 92 "bluetooth_connection_unittest.cc", |
90 "bluetooth_throttler_impl_unittest.cc", | 93 "bluetooth_throttler_impl_unittest.cc", |
91 "client_impl_unittest.cc", | 94 "client_impl_unittest.cc", |
(...skipping 28 matching lines...) Expand all Loading... |
120 # Note: This is a convenience target for ease of rapid iteration during | 123 # Note: This is a convenience target for ease of rapid iteration during |
121 # development. It is not executed on any try or build bots. | 124 # development. It is not executed on any try or build bots. |
122 test("proximity_auth_unittests") { | 125 test("proximity_auth_unittests") { |
123 sources = [ | 126 sources = [ |
124 "run_all_unittests.cc", | 127 "run_all_unittests.cc", |
125 ] | 128 ] |
126 deps = [ | 129 deps = [ |
127 ":unit_tests", | 130 ":unit_tests", |
128 ] | 131 ] |
129 } | 132 } |
OLD | NEW |