| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 { | |
| 6 'targets': [ | |
| 7 { | |
| 8 # GN version: //components/proximity_auth and | |
| 9 # //components/proximity_auth/ble. | |
| 10 'target_name': 'proximity_auth', | |
| 11 'type': 'static_library', | |
| 12 'include_dirs': [ | |
| 13 '..', | |
| 14 ], | |
| 15 'dependencies': [ | |
| 16 ':cryptauth', | |
| 17 ':cryptauth_proto', | |
| 18 ':proximity_auth_logging', | |
| 19 '../base/base.gyp:base', | |
| 20 '../device/bluetooth/bluetooth.gyp:device_bluetooth', | |
| 21 '../net/net.gyp:net', | |
| 22 'prefs/prefs.gyp:prefs', | |
| 23 ], | |
| 24 'sources': [ | |
| 25 "proximity_auth/authenticator.h", | |
| 26 "proximity_auth/ble/bluetooth_low_energy_characteristics_finder.cc", | |
| 27 "proximity_auth/ble/bluetooth_low_energy_characteristics_finder.h", | |
| 28 "proximity_auth/ble/bluetooth_low_energy_connection.cc", | |
| 29 "proximity_auth/ble/bluetooth_low_energy_connection.h", | |
| 30 "proximity_auth/ble/bluetooth_low_energy_connection_finder.cc", | |
| 31 "proximity_auth/ble/bluetooth_low_energy_connection_finder.h", | |
| 32 "proximity_auth/ble/bluetooth_low_energy_device_whitelist.cc", | |
| 33 "proximity_auth/ble/bluetooth_low_energy_device_whitelist.h", | |
| 34 "proximity_auth/ble/bluetooth_low_energy_weave_client_connection.cc", | |
| 35 "proximity_auth/ble/bluetooth_low_energy_weave_client_connection.h", | |
| 36 "proximity_auth/ble/bluetooth_low_energy_weave_defines.h", | |
| 37 "proximity_auth/ble/bluetooth_low_energy_weave_packet_generator.cc", | |
| 38 "proximity_auth/ble/bluetooth_low_energy_weave_packet_generator.h", | |
| 39 "proximity_auth/ble/bluetooth_low_energy_weave_packet_receiver.cc", | |
| 40 "proximity_auth/ble/bluetooth_low_energy_weave_packet_receiver.h", | |
| 41 "proximity_auth/ble/remote_attribute.h", | |
| 42 "proximity_auth/ble/fake_wire_message.cc", | |
| 43 "proximity_auth/ble/fake_wire_message.h", | |
| 44 "proximity_auth/ble/pref_names.cc", | |
| 45 "proximity_auth/ble/pref_names.h", | |
| 46 "proximity_auth/bluetooth_connection.cc", | |
| 47 "proximity_auth/bluetooth_connection.h", | |
| 48 "proximity_auth/bluetooth_connection_finder.cc", | |
| 49 "proximity_auth/bluetooth_connection_finder.h", | |
| 50 "proximity_auth/bluetooth_throttler.h", | |
| 51 "proximity_auth/bluetooth_throttler_impl.cc", | |
| 52 "proximity_auth/bluetooth_throttler_impl.h", | |
| 53 "proximity_auth/bluetooth_util.cc", | |
| 54 "proximity_auth/bluetooth_util.h", | |
| 55 "proximity_auth/bluetooth_util_chromeos.cc", | |
| 56 "proximity_auth/cryptauth_enroller_factory_impl.cc", | |
| 57 "proximity_auth/cryptauth_enroller_factory_impl.h", | |
| 58 "proximity_auth/connection.cc", | |
| 59 "proximity_auth/connection.h", | |
| 60 "proximity_auth/connection_finder.h", | |
| 61 "proximity_auth/connection_observer.h", | |
| 62 "proximity_auth/device_to_device_authenticator.cc", | |
| 63 "proximity_auth/device_to_device_authenticator.h", | |
| 64 "proximity_auth/device_to_device_initiator_operations.cc", | |
| 65 "proximity_auth/device_to_device_initiator_operations.h", | |
| 66 "proximity_auth/device_to_device_secure_context.cc", | |
| 67 "proximity_auth/device_to_device_secure_context.h", | |
| 68 "proximity_auth/messenger.h", | |
| 69 "proximity_auth/messenger_impl.cc", | |
| 70 "proximity_auth/messenger_impl.h", | |
| 71 "proximity_auth/messenger_observer.h", | |
| 72 "proximity_auth/metrics.cc", | |
| 73 "proximity_auth/metrics.h", | |
| 74 "proximity_auth/proximity_auth_client.h", | |
| 75 "proximity_auth/proximity_auth_pref_manager.cc", | |
| 76 "proximity_auth/proximity_auth_pref_manager.h", | |
| 77 "proximity_auth/proximity_auth_pref_names.cc", | |
| 78 "proximity_auth/proximity_auth_pref_names.h", | |
| 79 "proximity_auth/proximity_auth_system.cc", | |
| 80 "proximity_auth/proximity_auth_system.h", | |
| 81 "proximity_auth/proximity_monitor.h", | |
| 82 "proximity_auth/proximity_monitor_impl.cc", | |
| 83 "proximity_auth/proximity_monitor_impl.h", | |
| 84 "proximity_auth/proximity_monitor_observer.h", | |
| 85 "proximity_auth/remote_device.cc", | |
| 86 "proximity_auth/remote_device.h", | |
| 87 "proximity_auth/remote_device_loader.cc", | |
| 88 "proximity_auth/remote_device_loader.h", | |
| 89 "proximity_auth/remote_device_life_cycle.h", | |
| 90 "proximity_auth/remote_device_life_cycle_impl.h", | |
| 91 "proximity_auth/remote_device_life_cycle_impl.cc", | |
| 92 "proximity_auth/remote_status_update.cc", | |
| 93 "proximity_auth/remote_status_update.h", | |
| 94 "proximity_auth/screenlock_bridge.cc", | |
| 95 "proximity_auth/screenlock_bridge.h", | |
| 96 "proximity_auth/screenlock_state.h", | |
| 97 "proximity_auth/secure_context.h", | |
| 98 "proximity_auth/switches.cc", | |
| 99 "proximity_auth/switches.h", | |
| 100 "proximity_auth/throttled_bluetooth_connection_finder.cc", | |
| 101 "proximity_auth/throttled_bluetooth_connection_finder.h", | |
| 102 "proximity_auth/unlock_manager.cc", | |
| 103 "proximity_auth/unlock_manager.h", | |
| 104 "proximity_auth/wire_message.cc", | |
| 105 "proximity_auth/wire_message.h", | |
| 106 ], | |
| 107 | |
| 108 'export_dependent_settings': [ | |
| 109 'cryptauth_proto', | |
| 110 ], | |
| 111 }, | |
| 112 { | |
| 113 'target_name': 'proximity_auth_test_support', | |
| 114 'type': 'static_library', | |
| 115 'include_dirs': [ | |
| 116 '..', | |
| 117 ], | |
| 118 'dependencies': [ | |
| 119 ':cryptauth_test_support', | |
| 120 '../base/base.gyp:base', | |
| 121 '../testing/gmock.gyp:gmock', | |
| 122 ], | |
| 123 'sources': [ | |
| 124 "proximity_auth/device_to_device_responder_operations.cc", | |
| 125 "proximity_auth/device_to_device_responder_operations.h", | |
| 126 "proximity_auth/fake_connection.cc", | |
| 127 "proximity_auth/fake_connection.h", | |
| 128 "proximity_auth/fake_secure_context.cc", | |
| 129 "proximity_auth/fake_secure_context.h", | |
| 130 "proximity_auth/mock_proximity_auth_client.cc", | |
| 131 "proximity_auth/mock_proximity_auth_client.h", | |
| 132 "proximity_auth/proximity_auth_test_util.cc", | |
| 133 "proximity_auth/proximity_auth_test_util.h", | |
| 134 ], | |
| 135 }, | |
| 136 { | |
| 137 # GN version: //components/proximity_auth/logging | |
| 138 'target_name': 'proximity_auth_logging', | |
| 139 'type': 'static_library', | |
| 140 'include_dirs': [ | |
| 141 '..', | |
| 142 ], | |
| 143 'dependencies': [ | |
| 144 '../base/base.gyp:base', | |
| 145 ], | |
| 146 'sources': [ | |
| 147 "proximity_auth/logging/log_buffer.cc", | |
| 148 "proximity_auth/logging/log_buffer.h", | |
| 149 "proximity_auth/logging/logging.h", | |
| 150 "proximity_auth/logging/logging.cc", | |
| 151 ] | |
| 152 }, | |
| 153 { | |
| 154 # GN version: //components/proximity_auth/cryptauth/proto | |
| 155 'target_name': 'cryptauth_proto', | |
| 156 'type': 'static_library', | |
| 157 'sources': [ | |
| 158 'proximity_auth/cryptauth/proto/cryptauth_api.proto', | |
| 159 'proximity_auth/cryptauth/proto/securemessage.proto', | |
| 160 ], | |
| 161 'variables': { | |
| 162 'proto_in_dir': 'proximity_auth/cryptauth/proto', | |
| 163 'proto_out_dir': 'components/proximity_auth/cryptauth/proto', | |
| 164 }, | |
| 165 'includes': [ '../build/protoc.gypi' ] | |
| 166 }, | |
| 167 { | |
| 168 'target_name': 'cryptauth', | |
| 169 'type': 'static_library', | |
| 170 'include_dirs': [ | |
| 171 '..', | |
| 172 ], | |
| 173 'dependencies': [ | |
| 174 'cryptauth_proto', | |
| 175 '../base/base.gyp:base', | |
| 176 '../crypto/crypto.gyp:crypto', | |
| 177 '../components/components.gyp:gcm_driver', | |
| 178 '../google_apis/google_apis.gyp:google_apis', | |
| 179 '../net/net.gyp:net', | |
| 180 ], | |
| 181 'sources': [ | |
| 182 "proximity_auth/cryptauth/cryptauth_access_token_fetcher.h", | |
| 183 "proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.cc", | |
| 184 "proximity_auth/cryptauth/cryptauth_access_token_fetcher_impl.h", | |
| 185 "proximity_auth/cryptauth/cryptauth_api_call_flow.cc", | |
| 186 "proximity_auth/cryptauth/cryptauth_api_call_flow.h", | |
| 187 "proximity_auth/cryptauth/cryptauth_client.h", | |
| 188 "proximity_auth/cryptauth/cryptauth_client_impl.cc", | |
| 189 "proximity_auth/cryptauth/cryptauth_client_impl.h", | |
| 190 "proximity_auth/cryptauth/cryptauth_device_manager.cc", | |
| 191 "proximity_auth/cryptauth/cryptauth_device_manager.h", | |
| 192 "proximity_auth/cryptauth/cryptauth_enroller.h", | |
| 193 "proximity_auth/cryptauth/cryptauth_enroller_impl.cc", | |
| 194 "proximity_auth/cryptauth/cryptauth_enroller_impl.h", | |
| 195 "proximity_auth/cryptauth/cryptauth_enrollment_manager.cc", | |
| 196 "proximity_auth/cryptauth/cryptauth_enrollment_manager.h", | |
| 197 "proximity_auth/cryptauth/cryptauth_enrollment_utils.cc", | |
| 198 "proximity_auth/cryptauth/cryptauth_gcm_manager.cc", | |
| 199 "proximity_auth/cryptauth/cryptauth_gcm_manager.h", | |
| 200 "proximity_auth/cryptauth/cryptauth_gcm_manager_impl.cc", | |
| 201 "proximity_auth/cryptauth/cryptauth_gcm_manager_impl.h", | |
| 202 "proximity_auth/cryptauth/pref_names.cc", | |
| 203 "proximity_auth/cryptauth/pref_names.h", | |
| 204 "proximity_auth/cryptauth/secure_message_delegate.cc", | |
| 205 "proximity_auth/cryptauth/secure_message_delegate.h", | |
| 206 "proximity_auth/cryptauth/switches.cc", | |
| 207 "proximity_auth/cryptauth/switches.h", | |
| 208 "proximity_auth/cryptauth/sync_scheduler.cc", | |
| 209 "proximity_auth/cryptauth/sync_scheduler.h", | |
| 210 "proximity_auth/cryptauth/sync_scheduler_impl.cc", | |
| 211 "proximity_auth/cryptauth/sync_scheduler_impl.h", | |
| 212 ], | |
| 213 'export_dependent_settings': [ | |
| 214 'cryptauth_proto', | |
| 215 ], | |
| 216 }, | |
| 217 { | |
| 218 'target_name': 'cryptauth_test_support', | |
| 219 'type': 'static_library', | |
| 220 'include_dirs': [ | |
| 221 '..', | |
| 222 ], | |
| 223 'dependencies': [ | |
| 224 'cryptauth_proto', | |
| 225 '../base/base.gyp:base', | |
| 226 '../testing/gmock.gyp:gmock', | |
| 227 ], | |
| 228 'sources': [ | |
| 229 "proximity_auth/cryptauth/fake_cryptauth_gcm_manager.cc", | |
| 230 "proximity_auth/cryptauth/fake_cryptauth_gcm_manager.h", | |
| 231 "proximity_auth/cryptauth/fake_secure_message_delegate.cc", | |
| 232 "proximity_auth/cryptauth/fake_secure_message_delegate.h", | |
| 233 "proximity_auth/cryptauth/mock_cryptauth_client.cc", | |
| 234 "proximity_auth/cryptauth/mock_cryptauth_client.h", | |
| 235 "proximity_auth/cryptauth/mock_sync_scheduler.cc", | |
| 236 "proximity_auth/cryptauth/mock_sync_scheduler.h", | |
| 237 ], | |
| 238 'export_dependent_settings': [ | |
| 239 'cryptauth_proto', | |
| 240 ], | |
| 241 }, | |
| 242 { | |
| 243 # GN version: //components/proximity_auth/webui | |
| 244 'target_name': 'proximity_auth_webui', | |
| 245 'type': 'static_library', | |
| 246 'dependencies': [ | |
| 247 '../base/base.gyp:base', | |
| 248 '../content/content.gyp:content_browser', | |
| 249 '../ui/resources/ui_resources.gyp:ui_resources', | |
| 250 'components_resources.gyp:components_resources', | |
| 251 'cryptauth', | |
| 252 'cryptauth_proto', | |
| 253 'proximity_auth', | |
| 254 ], | |
| 255 'include_dirs': [ | |
| 256 '..', | |
| 257 ], | |
| 258 'sources': [ | |
| 259 'proximity_auth/webui/proximity_auth_ui.cc', | |
| 260 'proximity_auth/webui/proximity_auth_ui.h', | |
| 261 'proximity_auth/webui/proximity_auth_webui_handler.cc', | |
| 262 'proximity_auth/webui/proximity_auth_webui_handler.h', | |
| 263 'proximity_auth/webui/reachable_phone_flow.cc', | |
| 264 'proximity_auth/webui/reachable_phone_flow.h', | |
| 265 'proximity_auth/webui/url_constants.cc', | |
| 266 'proximity_auth/webui/url_constants.h', | |
| 267 ], | |
| 268 }, | |
| 269 ], | |
| 270 } | |
| OLD | NEW |