Update comments of TabObserver#onLoadStarted and rename onContentChanged
[chromium-blink-merge.git] / components / proximity_auth / BUILD.gn
blob3a8cf97e5308ead207dec6419835797731bd44c4
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") {
8   sources = [
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",
16     "bluetooth_util.cc",
17     "bluetooth_util.h",
18     "bluetooth_util_chromeos.cc",
19     "client.cc",
20     "client.h",
21     "client_observer.h",
22     "connection.cc",
23     "connection.h",
24     "connection_finder.h",
25     "connection_observer.h",
26     "proximity_auth_client.h",
27     "proximity_auth_system.cc",
28     "proximity_auth_system.h",
29     "remote_device.h",
30     "remote_status_update.cc",
31     "remote_status_update.h",
32     "screenlock_bridge.cc",
33     "screenlock_bridge.h",
34     "screenlock_state.h",
35     "secure_context.h",
36     "switches.cc",
37     "switches.h",
38     "throttled_bluetooth_connection_finder.cc",
39     "throttled_bluetooth_connection_finder.h",
40     "wire_message.cc",
41     "wire_message.h",
42   ]
44   deps = [
45     "logging",
46     "//base",
47     "//device/bluetooth",
48     "//net",
49   ]
52 source_set("unit_tests") {
53   testonly = true
54   sources = [
55     "bluetooth_connection_finder_unittest.cc",
56     "bluetooth_connection_unittest.cc",
57     "bluetooth_throttler_impl_unittest.cc",
58     "client_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",
64   ]
66   configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
68   deps = [
69     ":proximity_auth",
70     "ble:unit_tests",
71     "cryptauth:unit_tests",
72     "logging:unit_tests",
73     "//base/test:test_support",
74     "//device/bluetooth:mocks",
75     "//testing/gmock",
76     "//testing/gtest",
77   ]
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") {
83   sources = [
84     "run_all_unittests.cc",
85   ]
86   deps = [
87     ":unit_tests",
88   ]