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

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

Issue 2561203002: Migrate weave-related classes from proximity_auth/ble to cryptauth/ble. (Closed)
Patch Set: Moved all general classes from proximity_auth to cryptauth. Created 4 years 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 "authenticator.h", 9 "authenticator.h",
10 "bluetooth_connection.cc", 10 "bluetooth_connection.cc",
11 "bluetooth_connection.h", 11 "bluetooth_connection.h",
12 "bluetooth_connection_finder.cc", 12 "bluetooth_connection_finder.cc",
13 "bluetooth_connection_finder.h", 13 "bluetooth_connection_finder.h",
14 "bluetooth_throttler.h",
15 "bluetooth_throttler_impl.cc",
16 "bluetooth_throttler_impl.h",
17 "bluetooth_util.cc", 14 "bluetooth_util.cc",
18 "bluetooth_util.h", 15 "bluetooth_util.h",
19 "bluetooth_util_chromeos.cc", 16 "bluetooth_util_chromeos.cc",
20 "connection.cc",
21 "connection.h",
22 "connection_finder.h", 17 "connection_finder.h",
23 "connection_observer.h", 18 "connection_observer.h",
24 "cryptauth_enroller_factory_impl.cc", 19 "cryptauth_enroller_factory_impl.cc",
25 "cryptauth_enroller_factory_impl.h", 20 "cryptauth_enroller_factory_impl.h",
26 "device_to_device_authenticator.cc", 21 "device_to_device_authenticator.cc",
27 "device_to_device_authenticator.h", 22 "device_to_device_authenticator.h",
28 "device_to_device_initiator_operations.cc", 23 "device_to_device_initiator_operations.cc",
29 "device_to_device_initiator_operations.h", 24 "device_to_device_initiator_operations.h",
30 "device_to_device_secure_context.cc", 25 "device_to_device_secure_context.cc",
31 "device_to_device_secure_context.h", 26 "device_to_device_secure_context.h",
(...skipping 24 matching lines...) Expand all
56 "screenlock_bridge.cc", 51 "screenlock_bridge.cc",
57 "screenlock_bridge.h", 52 "screenlock_bridge.h",
58 "screenlock_state.h", 53 "screenlock_state.h",
59 "secure_context.h", 54 "secure_context.h",
60 "switches.cc", 55 "switches.cc",
61 "switches.h", 56 "switches.h",
62 "throttled_bluetooth_connection_finder.cc", 57 "throttled_bluetooth_connection_finder.cc",
63 "throttled_bluetooth_connection_finder.h", 58 "throttled_bluetooth_connection_finder.h",
64 "unlock_manager.cc", 59 "unlock_manager.cc",
65 "unlock_manager.h", 60 "unlock_manager.h",
66 "wire_message.cc",
67 "wire_message.h",
68 ] 61 ]
69 62
70 deps = [ 63 deps = [
71 "//base", 64 "//base",
72 "//components/cryptauth", 65 "//components/cryptauth",
66 "//components/cryptauth/ble",
73 "//components/prefs", 67 "//components/prefs",
74 "//components/proximity_auth/ble", 68 "//components/proximity_auth/ble",
75 "//components/proximity_auth/logging", 69 "//components/proximity_auth/logging",
76 "//components/signin/core/account_id:account_id", 70 "//components/signin/core/account_id:account_id",
77 "//device/bluetooth", 71 "//device/bluetooth",
78 "//net", 72 "//net",
79 ] 73 ]
80 74
81 # TODO(https://crbug.com/562683): This whitelists a circular include 75 # TODO(https://crbug.com/562683): This whitelists a circular include
82 # dependency between this target and the following targets which should not 76 # dependency between this target and the following targets which should not
83 # exist. 77 # exist.
84 allow_circular_includes_from = [ "//components/proximity_auth/ble" ] 78 allow_circular_includes_from = [ "//components/proximity_auth/ble" ]
85 79
86 if (is_chromeos) { 80 if (is_chromeos) {
87 deps += [ "//chromeos" ] 81 deps += [ "//chromeos" ]
88 } 82 }
89 } 83 }
90 84
91 static_library("test_support") { 85 static_library("test_support") {
92 testonly = true 86 testonly = true
93 87
94 sources = [ 88 sources = [
95 "device_to_device_responder_operations.cc", 89 "device_to_device_responder_operations.cc",
96 "device_to_device_responder_operations.h", 90 "device_to_device_responder_operations.h",
97 "fake_connection.cc",
98 "fake_connection.h",
99 "fake_secure_context.cc", 91 "fake_secure_context.cc",
100 "fake_secure_context.h", 92 "fake_secure_context.h",
101 "mock_proximity_auth_client.cc", 93 "mock_proximity_auth_client.cc",
102 "mock_proximity_auth_client.h", 94 "mock_proximity_auth_client.h",
103 "proximity_auth_test_util.cc", 95 "proximity_auth_test_util.cc",
104 "proximity_auth_test_util.h", 96 "proximity_auth_test_util.h",
105 ] 97 ]
106 98
107 public_deps = [ 99 public_deps = [
108 ":proximity_auth", 100 ":proximity_auth",
109 ] 101 ]
110 102
111 deps = [ 103 deps = [
112 "//base", 104 "//base",
113 "//components/cryptauth:test_support", 105 "//components/cryptauth:test_support",
114 "//components/proximity_auth/logging", 106 "//components/proximity_auth/logging",
115 "//testing/gmock", 107 "//testing/gmock",
116 ] 108 ]
117 } 109 }
118 110
119 source_set("unit_tests") { 111 source_set("unit_tests") {
120 testonly = true 112 testonly = true
121 sources = [ 113 sources = [
122 "bluetooth_connection_finder_unittest.cc", 114 "bluetooth_connection_finder_unittest.cc",
123 "bluetooth_connection_unittest.cc", 115 "bluetooth_connection_unittest.cc",
124 "bluetooth_throttler_impl_unittest.cc",
125 "connection_unittest.cc",
126 "device_to_device_authenticator_unittest.cc", 116 "device_to_device_authenticator_unittest.cc",
127 "device_to_device_operations_unittest.cc", 117 "device_to_device_operations_unittest.cc",
128 "device_to_device_secure_context_unittest.cc", 118 "device_to_device_secure_context_unittest.cc",
129 "messenger_impl_unittest.cc", 119 "messenger_impl_unittest.cc",
130 "proximity_auth_pref_manager_unittest.cc", 120 "proximity_auth_pref_manager_unittest.cc",
131 "proximity_auth_system_unittest.cc", 121 "proximity_auth_system_unittest.cc",
132 "proximity_monitor_impl_unittest.cc", 122 "proximity_monitor_impl_unittest.cc",
133 "remote_device_life_cycle_impl_unittest.cc", 123 "remote_device_life_cycle_impl_unittest.cc",
134 "remote_device_loader_unittest.cc", 124 "remote_device_loader_unittest.cc",
135 "remote_status_update_unittest.cc", 125 "remote_status_update_unittest.cc",
136 "throttled_bluetooth_connection_finder_unittest.cc", 126 "throttled_bluetooth_connection_finder_unittest.cc",
137 "unlock_manager_unittest.cc", 127 "unlock_manager_unittest.cc",
138 "wire_message_unittest.cc",
139 ] 128 ]
140 129
141 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] 130 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ]
142 131
143 deps = [ 132 deps = [
144 ":proximity_auth", 133 ":proximity_auth",
145 ":test_support", 134 ":test_support",
146 "//base", 135 "//base",
147 "//base/test:test_support", 136 "//base/test:test_support",
148 "//components/cryptauth:test_support", 137 "//components/cryptauth:test_support",
(...skipping 19 matching lines...) Expand all
168 sources = [ 157 sources = [
169 "run_all_unittests.cc", 158 "run_all_unittests.cc",
170 ] 159 ]
171 deps = [ 160 deps = [
172 ":unit_tests", 161 ":unit_tests",
173 "//base", 162 "//base",
174 "//base/test:test_support", 163 "//base/test:test_support",
175 ] 164 ]
176 } 165 }
177 } 166 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698