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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 "//net", | 71 "//net", |
72 ] | 72 ] |
73 } | 73 } |
74 | 74 |
75 source_set("test_support") { | 75 source_set("test_support") { |
76 testonly = true | 76 testonly = true |
77 | 77 |
78 sources = [ | 78 sources = [ |
79 "device_to_device_responder_operations.cc", | 79 "device_to_device_responder_operations.cc", |
80 "device_to_device_responder_operations.h", | 80 "device_to_device_responder_operations.h", |
| 81 "fake_connection.cc", |
| 82 "fake_connection.h", |
81 "mock_proximity_auth_client.cc", | 83 "mock_proximity_auth_client.cc", |
82 "mock_proximity_auth_client.h", | 84 "mock_proximity_auth_client.h", |
83 ] | 85 ] |
84 | 86 |
85 deps = [ | 87 deps = [ |
86 "cryptauth:test_support", | 88 "cryptauth:test_support", |
87 "//base", | 89 "//base", |
88 "//testing/gmock", | 90 "//testing/gmock", |
89 ] | 91 ] |
90 } | 92 } |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 # Note: This is a convenience target for ease of rapid iteration during | 130 # Note: This is a convenience target for ease of rapid iteration during |
129 # development. It is not executed on any try or build bots. | 131 # development. It is not executed on any try or build bots. |
130 test("proximity_auth_unittests") { | 132 test("proximity_auth_unittests") { |
131 sources = [ | 133 sources = [ |
132 "run_all_unittests.cc", | 134 "run_all_unittests.cc", |
133 ] | 135 ] |
134 deps = [ | 136 deps = [ |
135 ":unit_tests", | 137 ":unit_tests", |
136 ] | 138 ] |
137 } | 139 } |
OLD | NEW |