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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 "throttled_bluetooth_connection_finder.cc", | 64 "throttled_bluetooth_connection_finder.cc", |
65 "throttled_bluetooth_connection_finder.h", | 65 "throttled_bluetooth_connection_finder.h", |
66 "unlock_manager.cc", | 66 "unlock_manager.cc", |
67 "unlock_manager.h", | 67 "unlock_manager.h", |
68 "wire_message.cc", | 68 "wire_message.cc", |
69 "wire_message.h", | 69 "wire_message.h", |
70 ] | 70 ] |
71 | 71 |
72 deps = [ | 72 deps = [ |
73 "//base", | 73 "//base", |
74 "//base:prefs", | 74 "//components/prefs", |
75 "//components/proximity_auth/ble", | 75 "//components/proximity_auth/ble", |
76 "//components/proximity_auth/cryptauth", | 76 "//components/proximity_auth/cryptauth", |
77 "//components/proximity_auth/logging", | 77 "//components/proximity_auth/logging", |
78 "//components/signin/core/account_id:account_id", | 78 "//components/signin/core/account_id:account_id", |
79 "//device/bluetooth", | 79 "//device/bluetooth", |
80 "//net", | 80 "//net", |
81 ] | 81 ] |
82 | 82 |
83 # TODO(https://crbug.com/562683): This whitelists a circular include | 83 # TODO(https://crbug.com/562683): This whitelists a circular include |
84 # dependency between this target and the following targets which should not | 84 # dependency between this target and the following targets which should not |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 "unlock_manager_unittest.cc", | 142 "unlock_manager_unittest.cc", |
143 "wire_message_unittest.cc", | 143 "wire_message_unittest.cc", |
144 ] | 144 ] |
145 | 145 |
146 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 146 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
147 | 147 |
148 deps = [ | 148 deps = [ |
149 ":proximity_auth", | 149 ":proximity_auth", |
150 ":test_support", | 150 ":test_support", |
151 "//base", | 151 "//base", |
152 "//base:prefs_test_support", | |
153 "//base/test:test_support", | 152 "//base/test:test_support", |
| 153 "//components/prefs:test_support", |
154 "//components/proximity_auth/ble:unit_tests", | 154 "//components/proximity_auth/ble:unit_tests", |
155 "//components/proximity_auth/cryptauth:test_support", | 155 "//components/proximity_auth/cryptauth:test_support", |
156 "//components/proximity_auth/cryptauth:unit_tests", | 156 "//components/proximity_auth/cryptauth:unit_tests", |
157 "//components/proximity_auth/logging", | 157 "//components/proximity_auth/logging", |
158 "//components/proximity_auth/logging:unit_tests", | 158 "//components/proximity_auth/logging:unit_tests", |
159 "//device/bluetooth:mocks", | 159 "//device/bluetooth:mocks", |
160 "//testing/gmock", | 160 "//testing/gmock", |
161 "//testing/gtest", | 161 "//testing/gtest", |
162 ] | 162 ] |
163 | 163 |
164 if (is_chromeos) { | 164 if (is_chromeos) { |
165 deps += [ "//chromeos" ] | 165 deps += [ "//chromeos" ] |
166 } | 166 } |
167 } | 167 } |
168 | 168 |
169 # Note: This is a convenience target for ease of rapid iteration during | 169 # Note: This is a convenience target for ease of rapid iteration during |
170 # development. It is not executed on any try or build bots. | 170 # development. It is not executed on any try or build bots. |
171 if (!is_chromeos) { | 171 if (!is_chromeos) { |
172 test("proximity_auth_unittests") { | 172 test("proximity_auth_unittests") { |
173 sources = [ | 173 sources = [ |
174 "run_all_unittests.cc", | 174 "run_all_unittests.cc", |
175 ] | 175 ] |
176 deps = [ | 176 deps = [ |
177 ":unit_tests", | 177 ":unit_tests", |
178 "//base", | 178 "//base", |
179 "//base/test:test_support", | 179 "//base/test:test_support", |
180 ] | 180 ] |
181 } | 181 } |
182 } | 182 } |
OLD | NEW |