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",
25 "connection_finder.h",
26 "connection_observer.h",
29 "proximity_auth_client.h",
30 "proximity_auth_system.cc",
31 "proximity_auth_system.h",
32 "proximity_monitor.h",
33 "proximity_monitor_impl.cc",
34 "proximity_monitor_impl.h",
35 "proximity_monitor_observer.h",
37 "remote_status_update.cc",
38 "remote_status_update.h",
39 "screenlock_bridge.cc",
40 "screenlock_bridge.h",
45 "throttled_bluetooth_connection_finder.cc",
46 "throttled_bluetooth_connection_finder.h",
59 source_set("unit_tests") {
62 "bluetooth_connection_finder_unittest.cc",
63 "bluetooth_connection_unittest.cc",
64 "bluetooth_throttler_impl_unittest.cc",
65 "client_impl_unittest.cc",
66 "connection_unittest.cc",
67 "proximity_auth_system_unittest.cc",
68 "proximity_monitor_impl_unittest.cc",
69 "remote_status_update_unittest.cc",
70 "throttled_bluetooth_connection_finder_unittest.cc",
71 "wire_message_unittest.cc",
74 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
79 "cryptauth:unit_tests",
81 "//base/test:test_support",
82 "//device/bluetooth:mocks",
88 # Note: This is a convenience target for ease of rapid iteration during
89 # development. It is not executed on any try or build bots.
90 test("proximity_auth_unittests") {
92 "run_all_unittests.cc",