Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(223)

Side by Side Diff: components/proximity_auth/BUILD.gn

Issue 2841743003: [EasyUnlock] Update BluetoothLowEnergyConnectionFinder to look for EIDs. (Closed)
Patch Set: remote static initializer Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 static_library("proximity_auth") { 7 static_library("proximity_auth") {
8 sources = [ 8 sources = [
9 "bluetooth_connection.cc", 9 "bluetooth_connection.cc",
10 "bluetooth_connection.h", 10 "bluetooth_connection.h",
11 "bluetooth_connection_finder.cc", 11 "bluetooth_connection_finder.cc",
12 "bluetooth_connection_finder.h", 12 "bluetooth_connection_finder.h",
13 "bluetooth_low_energy_connection_finder.cc",
14 "bluetooth_low_energy_connection_finder.h",
13 "bluetooth_util.cc", 15 "bluetooth_util.cc",
14 "bluetooth_util.h", 16 "bluetooth_util.h",
15 "bluetooth_util_chromeos.cc", 17 "bluetooth_util_chromeos.cc",
16 "messenger.h", 18 "messenger.h",
17 "messenger_impl.cc", 19 "messenger_impl.cc",
18 "messenger_impl.h", 20 "messenger_impl.h",
19 "messenger_observer.h", 21 "messenger_observer.h",
20 "metrics.cc", 22 "metrics.cc",
21 "metrics.h", 23 "metrics.h",
22 "proximity_auth_client.h", 24 "proximity_auth_client.h",
(...skipping 22 matching lines...) Expand all
45 "unlock_manager.h", 47 "unlock_manager.h",
46 "unlock_manager_impl.cc", 48 "unlock_manager_impl.cc",
47 "unlock_manager_impl.h", 49 "unlock_manager_impl.h",
48 ] 50 ]
49 51
50 deps = [ 52 deps = [
51 "//base", 53 "//base",
52 "//components/cryptauth", 54 "//components/cryptauth",
53 "//components/cryptauth/ble", 55 "//components/cryptauth/ble",
54 "//components/prefs", 56 "//components/prefs",
55 "//components/proximity_auth/ble",
56 "//components/proximity_auth/logging", 57 "//components/proximity_auth/logging",
57 "//components/signin/core/account_id:account_id", 58 "//components/signin/core/account_id:account_id",
58 "//device/bluetooth", 59 "//device/bluetooth",
59 "//net", 60 "//net",
60 ] 61 ]
61 62
62 # TODO(https://crbug.com/562683): This whitelists a circular include
63 # dependency between this target and the following targets which should not
64 # exist.
65 allow_circular_includes_from = [ "//components/proximity_auth/ble" ]
66
67 if (is_chromeos) { 63 if (is_chromeos) {
68 deps += [ "//chromeos" ] 64 deps += [ "//chromeos" ]
69 } 65 }
70 } 66 }
71 67
72 static_library("test_support") { 68 static_library("test_support") {
73 testonly = true 69 testonly = true
74 70
75 sources = [ 71 sources = [
76 "fake_lock_handler.cc", 72 "fake_lock_handler.cc",
(...skipping 14 matching lines...) Expand all
91 "//components/proximity_auth/logging", 87 "//components/proximity_auth/logging",
92 "//testing/gmock", 88 "//testing/gmock",
93 ] 89 ]
94 } 90 }
95 91
96 source_set("unit_tests") { 92 source_set("unit_tests") {
97 testonly = true 93 testonly = true
98 sources = [ 94 sources = [
99 "bluetooth_connection_finder_unittest.cc", 95 "bluetooth_connection_finder_unittest.cc",
100 "bluetooth_connection_unittest.cc", 96 "bluetooth_connection_unittest.cc",
97 "bluetooth_low_energy_connection_finder_unittest.cc",
101 "messenger_impl_unittest.cc", 98 "messenger_impl_unittest.cc",
102 "proximity_auth_pref_manager_unittest.cc", 99 "proximity_auth_pref_manager_unittest.cc",
103 "proximity_auth_system_unittest.cc", 100 "proximity_auth_system_unittest.cc",
104 "proximity_monitor_impl_unittest.cc", 101 "proximity_monitor_impl_unittest.cc",
105 "remote_device_life_cycle_impl_unittest.cc", 102 "remote_device_life_cycle_impl_unittest.cc",
106 "remote_status_update_unittest.cc", 103 "remote_status_update_unittest.cc",
107 "throttled_bluetooth_connection_finder_unittest.cc", 104 "throttled_bluetooth_connection_finder_unittest.cc",
108 "unlock_manager_impl_unittest.cc", 105 "unlock_manager_impl_unittest.cc",
109 ] 106 ]
110 107
111 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 108 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
112 109
113 deps = [ 110 deps = [
114 ":proximity_auth", 111 ":proximity_auth",
115 ":test_support", 112 ":test_support",
116 "//base", 113 "//base",
117 "//base/test:test_support", 114 "//base/test:test_support",
118 "//components/cryptauth:test_support", 115 "//components/cryptauth:test_support",
119 "//components/cryptauth:unit_tests", 116 "//components/cryptauth:unit_tests",
117 "//components/cryptauth/ble",
120 "//components/prefs:test_support", 118 "//components/prefs:test_support",
121 "//components/proximity_auth/ble:unit_tests",
122 "//components/proximity_auth/logging", 119 "//components/proximity_auth/logging",
123 "//components/proximity_auth/logging:unit_tests", 120 "//components/proximity_auth/logging:unit_tests",
124 "//device/bluetooth:mocks", 121 "//device/bluetooth:mocks",
125 "//testing/gmock", 122 "//testing/gmock",
126 "//testing/gtest", 123 "//testing/gtest",
127 ] 124 ]
128 125
129 if (is_chromeos) { 126 if (is_chromeos) {
130 deps += [ "//chromeos" ] 127 deps += [ "//chromeos" ]
131 } 128 }
132 } 129 }
133 130
134 # Note: This is a convenience target for ease of rapid iteration during 131 # Note: This is a convenience target for ease of rapid iteration during
135 # development. It is not executed on any try or build bots. 132 # development. It is not executed on any try or build bots.
136 if (!is_chromeos) { 133 if (!is_chromeos) {
137 test("proximity_auth_unittests") { 134 test("proximity_auth_unittests") {
138 sources = [ 135 sources = [
139 "run_all_unittests.cc", 136 "run_all_unittests.cc",
140 ] 137 ]
141 deps = [ 138 deps = [
142 ":unit_tests", 139 ":unit_tests",
143 "//base", 140 "//base",
144 "//base/test:test_support", 141 "//base/test:test_support",
145 ] 142 ]
146 } 143 }
147 } 144 }
OLDNEW
« no previous file with comments | « components/cryptauth/background_eid_generator.cc ('k') | components/proximity_auth/ble/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698