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
3 # found in the LICENSE file.
5 import("//testing/test.gni")
7 source_set("proximity_auth") {
9 "bluetooth_connection.cc",
10 "bluetooth_connection.h",
11 "bluetooth_connection_finder.cc",
12 "bluetooth_connection_finder.h",
13 "bluetooth_throttler.h",
14 "bluetooth_throttler_impl.cc",
15 "bluetooth_throttler_impl.h",
18 "bluetooth_util_chromeos.cc",
24 "connection_finder.h",
25 "connection_observer.h",
26 "proximity_auth_client.h",
27 "proximity_auth_system.cc",
28 "proximity_auth_system.h",
30 "remote_status_update.cc",
31 "remote_status_update.h",
32 "screenlock_bridge.cc",
33 "screenlock_bridge.h",
38 "throttled_bluetooth_connection_finder.cc",
39 "throttled_bluetooth_connection_finder.h",
52 source_set("unit_tests") {
55 "bluetooth_connection_finder_unittest.cc",
56 "bluetooth_connection_unittest.cc",
57 "bluetooth_throttler_impl_unittest.cc",
59 "connection_unittest.cc",
60 "proximity_auth_system_unittest.cc",
61 "remote_status_update_unittest.cc",
62 "throttled_bluetooth_connection_finder_unittest.cc",
63 "wire_message_unittest.cc",
66 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
71 "cryptauth:unit_tests",
73 "//base/test:test_support",
74 "//device/bluetooth:mocks",
80 # Note: This is a convenience target for ease of rapid iteration during
81 # development. It is not executed on any try or build bots.
82 test("proximity_auth_unittests") {
84 "run_all_unittests.cc",