[email protected] | 743530f | 2014-06-12 19:38:50 | [diff] [blame] | 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 | |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 5 | import("//build/config/ui.gni") |
qsr | fb5251d1 | 2015-01-21 15:57:22 | [diff] [blame] | 6 | import("//testing/test.gni") |
[email protected] | 743530f | 2014-06-12 19:38:50 | [diff] [blame] | 7 | import("//third_party/protobuf/proto_library.gni") |
| 8 | |
mukai | 327e5f5 | 2014-10-16 19:10:52 | [diff] [blame] | 9 | assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos") |
| 10 | |
hashimoto | aa1465a | 2015-12-11 06:19:59 | [diff] [blame] | 11 | declare_args() { |
| 12 | # Use binder. Binder related code is compiled only when true. |
| 13 | use_binder = false |
| 14 | } |
| 15 | |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 16 | component("chromeos") { |
svaldez | 2135be5 | 2016-04-20 16:34:53 | [diff] [blame] | 17 | configs += [ "//third_party/nss:system_nss_no_ssl_config" ] |
scottmg | 34fb7e5 | 2014-12-03 23:27:24 | [diff] [blame] | 18 | public_deps = [ |
| 19 | "//dbus", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 20 | ] |
| 21 | deps = [ |
drcrash | 7da3d8b | 2016-09-09 05:39:53 | [diff] [blame] | 22 | ":attestation_proto", |
rsorokin | fc75ccee | 2017-02-10 13:16:43 | [diff] [blame] | 23 | ":authpolicy_proto", |
xiaoyinh | 58676cf | 2017-05-08 20:21:31 | [diff] [blame] | 24 | ":biod_proto", |
agrieve | d7a71c88 | 2015-11-20 19:53:28 | [diff] [blame] | 25 | ":cryptohome_proto", |
xiaohuic | 2f57e3f7 | 2017-05-31 01:29:53 | [diff] [blame] | 26 | ":login_manager_proto", |
lasoren | f933419f | 2017-05-15 19:37:45 | [diff] [blame] | 27 | ":media_perception_proto", |
agrieve | d7a71c88 | 2015-11-20 19:53:28 | [diff] [blame] | 28 | ":power_manager_proto", |
Allen Vicencio | 0245710 | 2017-11-28 01:20:20 | [diff] [blame] | 29 | ":smbprovider_proto", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 30 | "//base", |
Nico Weber | a3d0a42 | 2015-01-20 21:46:21 | [diff] [blame] | 31 | "//base:i18n", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 32 | "//base/third_party/dynamic_annotations", |
reillyg | 4a84927 | 2015-02-20 21:38:43 | [diff] [blame] | 33 | "//components/device_event_log", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 34 | "//components/onc", |
Jialiu Lin | 20ae949 | 2018-01-04 18:15:07 | [diff] [blame] | 35 | "//components/password_manager/core/browser:hash_password_manager", |
tnagel | 51accc4 | 2016-12-28 12:00:58 | [diff] [blame] | 36 | "//components/policy:cloud_policy_proto_generated_compile", |
agrieve | d7a71c88 | 2015-11-20 19:53:28 | [diff] [blame] | 37 | "//components/policy/proto", |
stevenjb | 100c620 | 2016-10-28 02:28:00 | [diff] [blame] | 38 | "//components/pref_registry", |
brettw | 9f7802a2 | 2016-01-30 06:40:17 | [diff] [blame] | 39 | "//components/prefs", |
stevenjb | 8336888 | 2015-07-10 20:51:45 | [diff] [blame] | 40 | "//components/proxy_config", |
alemate | bd6a733 | 2015-10-20 19:35:53 | [diff] [blame] | 41 | "//components/signin/core/account_id", |
stevenjb | ffe695c | 2017-01-10 21:35:51 | [diff] [blame] | 42 | "//components/url_formatter", |
alemate | 627f653 | 2016-03-04 10:39:54 | [diff] [blame] | 43 | "//components/user_manager", |
nkostylev | 8d7d18d | 2015-01-28 11:25:08 | [diff] [blame] | 44 | "//crypto:platform", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 45 | "//google_apis", |
shenghao | 77ec80c | 2017-02-22 20:14:18 | [diff] [blame] | 46 | "//media/base:video_facing", |
oshima | 3f959fa8 | 2016-05-02 18:42:57 | [diff] [blame] | 47 | "//net", |
stevenjb | 100c620 | 2016-10-28 02:28:00 | [diff] [blame] | 48 | "//skia", # For components/user_manager |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 49 | "//third_party/icu", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 50 | "//third_party/protobuf:protobuf_lite", |
James Cook | a747825 | 2018-02-23 23:03:11 | [diff] [blame^] | 51 | "//ui/gfx/geometry", # For accelerometer. |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 52 | "//url", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 53 | ] |
teravest | 822d58e6 | 2017-03-20 16:31:58 | [diff] [blame] | 54 | data_deps = [ |
| 55 | ":dbus_service_files", |
| 56 | ] |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 57 | sources = [ |
| 58 | "accelerometer/accelerometer_reader.cc", |
| 59 | "accelerometer/accelerometer_reader.h", |
| 60 | "accelerometer/accelerometer_types.cc", |
| 61 | "accelerometer/accelerometer_types.h", |
| 62 | "app_mode/kiosk_oem_manifest_parser.cc", |
| 63 | "app_mode/kiosk_oem_manifest_parser.h", |
| 64 | "attestation/attestation_constants.cc", |
| 65 | "attestation/attestation_constants.h", |
| 66 | "attestation/attestation_flow.cc", |
| 67 | "attestation/attestation_flow.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 68 | "audio/audio_device.cc", |
| 69 | "audio/audio_device.h", |
| 70 | "audio/audio_devices_pref_handler.h", |
| 71 | "audio/audio_devices_pref_handler_impl.cc", |
| 72 | "audio/audio_devices_pref_handler_impl.h", |
| 73 | "audio/audio_devices_pref_handler_stub.cc", |
| 74 | "audio/audio_devices_pref_handler_stub.h", |
| 75 | "audio/audio_pref_observer.h", |
| 76 | "audio/chromeos_sounds.h", |
| 77 | "audio/cras_audio_handler.cc", |
| 78 | "audio/cras_audio_handler.h", |
| 79 | "binder/buffer_reader.cc", |
| 80 | "binder/buffer_reader.h", |
| 81 | "binder/command_broker.cc", |
| 82 | "binder/command_broker.h", |
| 83 | "binder/command_stream.cc", |
| 84 | "binder/command_stream.h", |
| 85 | "binder/constants.h", |
| 86 | "binder/driver.cc", |
| 87 | "binder/driver.h", |
| 88 | "binder/ipc_thread.cc", |
| 89 | "binder/ipc_thread.h", |
| 90 | "binder/local_object.cc", |
| 91 | "binder/local_object.h", |
| 92 | "binder/object.h", |
| 93 | "binder/remote_object.cc", |
| 94 | "binder/remote_object.h", |
| 95 | "binder/service_manager_proxy.cc", |
| 96 | "binder/service_manager_proxy.h", |
| 97 | "binder/status.h", |
| 98 | "binder/transaction_data.h", |
| 99 | "binder/transaction_data_from_driver.cc", |
| 100 | "binder/transaction_data_from_driver.h", |
| 101 | "binder/transaction_data_reader.cc", |
| 102 | "binder/transaction_data_reader.h", |
| 103 | "binder/transaction_status.cc", |
| 104 | "binder/transaction_status.h", |
| 105 | "binder/util.cc", |
| 106 | "binder/util.h", |
| 107 | "binder/writable_transaction_data.cc", |
| 108 | "binder/writable_transaction_data.h", |
| 109 | "cert_loader.cc", |
| 110 | "cert_loader.h", |
| 111 | "chromeos_constants.cc", |
| 112 | "chromeos_constants.h", |
| 113 | "chromeos_export.h", |
| 114 | "chromeos_paths.cc", |
| 115 | "chromeos_paths.h", |
| 116 | "chromeos_pref_names.cc", |
| 117 | "chromeos_pref_names.h", |
| 118 | "chromeos_switches.cc", |
| 119 | "chromeos_switches.h", |
| 120 | "cryptohome/async_method_caller.cc", |
| 121 | "cryptohome/async_method_caller.h", |
| 122 | "cryptohome/cryptohome_parameters.cc", |
| 123 | "cryptohome/cryptohome_parameters.h", |
Maajid | 75b8ee4 | 2017-12-25 05:42:40 | [diff] [blame] | 124 | "cryptohome/cryptohome_util.cc", |
| 125 | "cryptohome/cryptohome_util.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 126 | "cryptohome/homedir_methods.cc", |
| 127 | "cryptohome/homedir_methods.h", |
| 128 | "cryptohome/system_salt_getter.cc", |
| 129 | "cryptohome/system_salt_getter.h", |
Maajid | 4618f860 | 2017-12-21 03:36:03 | [diff] [blame] | 130 | "cryptohome/tpm_util.cc", |
| 131 | "cryptohome/tpm_util.h", |
Prashant Malani | 1025c477 | 2017-08-24 20:22:30 | [diff] [blame] | 132 | "dbus/arc_midis_client.cc", |
| 133 | "dbus/arc_midis_client.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 134 | "dbus/arc_obb_mounter_client.cc", |
| 135 | "dbus/arc_obb_mounter_client.h", |
Jeffrey Kardatzke | 49054cb7 | 2017-08-11 17:45:56 | [diff] [blame] | 136 | "dbus/arc_oemcrypto_client.cc", |
| 137 | "dbus/arc_oemcrypto_client.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 138 | "dbus/audio_node.cc", |
| 139 | "dbus/audio_node.h", |
| 140 | "dbus/auth_policy_client.cc", |
| 141 | "dbus/auth_policy_client.h", |
sammiequon | 0958b7f | 2017-04-03 19:24:21 | [diff] [blame] | 142 | "dbus/biod/biod_client.cc", |
| 143 | "dbus/biod/biod_client.h", |
sammiequon | 86bf784 | 2017-04-05 22:47:03 | [diff] [blame] | 144 | "dbus/biod/fake_biod_client.cc", |
| 145 | "dbus/biod/fake_biod_client.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 146 | "dbus/blocking_method_caller.cc", |
| 147 | "dbus/blocking_method_caller.h", |
| 148 | "dbus/cras_audio_client.cc", |
| 149 | "dbus/cras_audio_client.h", |
| 150 | "dbus/cros_disks_client.cc", |
| 151 | "dbus/cros_disks_client.h", |
| 152 | "dbus/cryptohome_client.cc", |
| 153 | "dbus/cryptohome_client.h", |
| 154 | "dbus/dbus_client_implementation_type.h", |
| 155 | "dbus/dbus_clients_browser.cc", |
| 156 | "dbus/dbus_clients_browser.h", |
| 157 | "dbus/dbus_clients_common.cc", |
| 158 | "dbus/dbus_clients_common.h", |
| 159 | "dbus/dbus_method_call_status.cc", |
| 160 | "dbus/dbus_method_call_status.h", |
| 161 | "dbus/dbus_thread_manager.cc", |
| 162 | "dbus/dbus_thread_manager.h", |
| 163 | "dbus/debug_daemon_client.cc", |
| 164 | "dbus/debug_daemon_client.h", |
| 165 | "dbus/easy_unlock_client.cc", |
| 166 | "dbus/easy_unlock_client.h", |
Prashant Malani | 1025c477 | 2017-08-24 20:22:30 | [diff] [blame] | 167 | "dbus/fake_arc_midis_client.cc", |
| 168 | "dbus/fake_arc_midis_client.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 169 | "dbus/fake_arc_obb_mounter_client.cc", |
| 170 | "dbus/fake_arc_obb_mounter_client.h", |
Jeffrey Kardatzke | 49054cb7 | 2017-08-11 17:45:56 | [diff] [blame] | 171 | "dbus/fake_arc_oemcrypto_client.cc", |
| 172 | "dbus/fake_arc_oemcrypto_client.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 173 | "dbus/fake_auth_policy_client.cc", |
| 174 | "dbus/fake_auth_policy_client.h", |
| 175 | "dbus/fake_cras_audio_client.cc", |
| 176 | "dbus/fake_cras_audio_client.h", |
| 177 | "dbus/fake_cros_disks_client.cc", |
| 178 | "dbus/fake_cros_disks_client.h", |
| 179 | "dbus/fake_cryptohome_client.cc", |
| 180 | "dbus/fake_cryptohome_client.h", |
| 181 | "dbus/fake_debug_daemon_client.cc", |
| 182 | "dbus/fake_debug_daemon_client.h", |
| 183 | "dbus/fake_easy_unlock_client.cc", |
| 184 | "dbus/fake_easy_unlock_client.h", |
| 185 | "dbus/fake_gsm_sms_client.cc", |
| 186 | "dbus/fake_gsm_sms_client.h", |
| 187 | "dbus/fake_image_burner_client.cc", |
| 188 | "dbus/fake_image_burner_client.h", |
| 189 | "dbus/fake_image_loader_client.cc", |
| 190 | "dbus/fake_image_loader_client.h", |
| 191 | "dbus/fake_lorgnette_manager_client.cc", |
| 192 | "dbus/fake_lorgnette_manager_client.h", |
lasoren | f933419f | 2017-05-15 19:37:45 | [diff] [blame] | 193 | "dbus/fake_media_analytics_client.cc", |
| 194 | "dbus/fake_media_analytics_client.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 195 | "dbus/fake_modem_messaging_client.cc", |
| 196 | "dbus/fake_modem_messaging_client.h", |
| 197 | "dbus/fake_permission_broker_client.cc", |
| 198 | "dbus/fake_permission_broker_client.h", |
| 199 | "dbus/fake_power_manager_client.cc", |
| 200 | "dbus/fake_power_manager_client.h", |
Qijiang Fan | 0f3005f | 2018-01-24 08:53:49 | [diff] [blame] | 201 | "dbus/fake_session_manager_client.cc", |
| 202 | "dbus/fake_session_manager_client.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 203 | "dbus/fake_shill_device_client.cc", |
| 204 | "dbus/fake_shill_device_client.h", |
| 205 | "dbus/fake_shill_ipconfig_client.cc", |
| 206 | "dbus/fake_shill_ipconfig_client.h", |
| 207 | "dbus/fake_shill_manager_client.cc", |
| 208 | "dbus/fake_shill_manager_client.h", |
| 209 | "dbus/fake_shill_profile_client.cc", |
| 210 | "dbus/fake_shill_profile_client.h", |
| 211 | "dbus/fake_shill_service_client.cc", |
| 212 | "dbus/fake_shill_service_client.h", |
| 213 | "dbus/fake_shill_third_party_vpn_driver_client.cc", |
| 214 | "dbus/fake_shill_third_party_vpn_driver_client.h", |
Allen Vicencio | 0245710 | 2017-11-28 01:20:20 | [diff] [blame] | 215 | "dbus/fake_smb_provider_client.cc", |
| 216 | "dbus/fake_smb_provider_client.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 217 | "dbus/fake_sms_client.cc", |
| 218 | "dbus/fake_sms_client.h", |
| 219 | "dbus/fake_system_clock_client.cc", |
| 220 | "dbus/fake_system_clock_client.h", |
| 221 | "dbus/fake_upstart_client.cc", |
| 222 | "dbus/fake_upstart_client.h", |
Ryo Hashimoto | 44c140b | 2017-09-13 05:10:08 | [diff] [blame] | 223 | "dbus/fake_virtual_file_provider_client.cc", |
| 224 | "dbus/fake_virtual_file_provider_client.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 225 | "dbus/gsm_sms_client.cc", |
| 226 | "dbus/gsm_sms_client.h", |
| 227 | "dbus/image_burner_client.cc", |
| 228 | "dbus/image_burner_client.h", |
| 229 | "dbus/image_loader_client.cc", |
| 230 | "dbus/image_loader_client.h", |
| 231 | "dbus/lorgnette_manager_client.cc", |
| 232 | "dbus/lorgnette_manager_client.h", |
lasoren | f933419f | 2017-05-15 19:37:45 | [diff] [blame] | 233 | "dbus/media_analytics_client.cc", |
| 234 | "dbus/media_analytics_client.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 235 | "dbus/modem_messaging_client.cc", |
| 236 | "dbus/modem_messaging_client.h", |
| 237 | "dbus/permission_broker_client.cc", |
| 238 | "dbus/permission_broker_client.h", |
| 239 | "dbus/pipe_reader.cc", |
| 240 | "dbus/pipe_reader.h", |
| 241 | "dbus/power_manager_client.cc", |
| 242 | "dbus/power_manager_client.h", |
| 243 | "dbus/power_policy_controller.cc", |
| 244 | "dbus/power_policy_controller.h", |
Tim Zheng | 78822b3e | 2018-01-21 04:48:13 | [diff] [blame] | 245 | "dbus/services/chrome_features_service_provider.cc", |
| 246 | "dbus/services/chrome_features_service_provider.h", |
Xiaochu Liu | 12c14b4 | 2017-09-21 22:54:48 | [diff] [blame] | 247 | "dbus/services/component_updater_service_provider.cc", |
| 248 | "dbus/services/component_updater_service_provider.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 249 | "dbus/services/console_service_provider.cc", |
| 250 | "dbus/services/console_service_provider.h", |
| 251 | "dbus/services/cros_dbus_service.cc", |
| 252 | "dbus/services/cros_dbus_service.h", |
| 253 | "dbus/services/display_power_service_provider.cc", |
| 254 | "dbus/services/display_power_service_provider.h", |
| 255 | "dbus/services/liveness_service_provider.cc", |
| 256 | "dbus/services/liveness_service_provider.h", |
| 257 | "dbus/services/proxy_resolution_service_provider.cc", |
| 258 | "dbus/services/proxy_resolution_service_provider.h", |
Ryo Hashimoto | 6ff11701 | 2017-09-20 06:55:03 | [diff] [blame] | 259 | "dbus/services/virtual_file_request_service_provider.cc", |
| 260 | "dbus/services/virtual_file_request_service_provider.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 261 | "dbus/session_manager_client.cc", |
| 262 | "dbus/session_manager_client.h", |
| 263 | "dbus/shill_client_helper.cc", |
| 264 | "dbus/shill_client_helper.h", |
| 265 | "dbus/shill_device_client.cc", |
| 266 | "dbus/shill_device_client.h", |
| 267 | "dbus/shill_ipconfig_client.cc", |
| 268 | "dbus/shill_ipconfig_client.h", |
| 269 | "dbus/shill_manager_client.cc", |
| 270 | "dbus/shill_manager_client.h", |
| 271 | "dbus/shill_profile_client.cc", |
| 272 | "dbus/shill_profile_client.h", |
| 273 | "dbus/shill_service_client.cc", |
| 274 | "dbus/shill_service_client.h", |
| 275 | "dbus/shill_third_party_vpn_driver_client.cc", |
| 276 | "dbus/shill_third_party_vpn_driver_client.h", |
Allen Vicencio | 0245710 | 2017-11-28 01:20:20 | [diff] [blame] | 277 | "dbus/smb_provider_client.cc", |
| 278 | "dbus/smb_provider_client.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 279 | "dbus/sms_client.cc", |
| 280 | "dbus/sms_client.h", |
| 281 | "dbus/system_clock_client.cc", |
| 282 | "dbus/system_clock_client.h", |
| 283 | "dbus/update_engine_client.cc", |
| 284 | "dbus/update_engine_client.h", |
| 285 | "dbus/upstart_client.cc", |
| 286 | "dbus/upstart_client.h", |
Ryo Hashimoto | 44c140b | 2017-09-13 05:10:08 | [diff] [blame] | 287 | "dbus/virtual_file_provider_client.cc", |
| 288 | "dbus/virtual_file_provider_client.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 289 | "dbus/volume_state.cc", |
| 290 | "dbus/volume_state.h", |
| 291 | "disks/disk_mount_manager.cc", |
| 292 | "disks/disk_mount_manager.h", |
| 293 | "disks/suspend_unmount_manager.cc", |
| 294 | "disks/suspend_unmount_manager.h", |
| 295 | "geolocation/geoposition.cc", |
| 296 | "geolocation/geoposition.h", |
| 297 | "geolocation/simple_geolocation_provider.cc", |
| 298 | "geolocation/simple_geolocation_provider.h", |
| 299 | "geolocation/simple_geolocation_request.cc", |
| 300 | "geolocation/simple_geolocation_request.h", |
| 301 | "geolocation/simple_geolocation_request_test_monitor.cc", |
| 302 | "geolocation/simple_geolocation_request_test_monitor.h", |
| 303 | "hugepage_text/hugepage_text.cc", |
| 304 | "hugepage_text/hugepage_text.h", |
| 305 | "login/auth/auth_attempt_state.cc", |
| 306 | "login/auth/auth_attempt_state.h", |
| 307 | "login/auth/auth_attempt_state_resolver.cc", |
| 308 | "login/auth/auth_attempt_state_resolver.h", |
| 309 | "login/auth/auth_status_consumer.cc", |
| 310 | "login/auth/auth_status_consumer.h", |
| 311 | "login/auth/authenticator.cc", |
| 312 | "login/auth/authenticator.h", |
rsorokin | d8c46c1 | 2017-04-11 08:43:19 | [diff] [blame] | 313 | "login/auth/authpolicy_login_helper.cc", |
| 314 | "login/auth/authpolicy_login_helper.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 315 | "login/auth/cryptohome_authenticator.cc", |
| 316 | "login/auth/cryptohome_authenticator.h", |
| 317 | "login/auth/extended_authenticator.cc", |
| 318 | "login/auth/extended_authenticator.h", |
| 319 | "login/auth/extended_authenticator_impl.cc", |
| 320 | "login/auth/extended_authenticator_impl.h", |
| 321 | "login/auth/key.cc", |
| 322 | "login/auth/key.h", |
| 323 | "login/auth/login_performer.cc", |
| 324 | "login/auth/login_performer.h", |
| 325 | "login/auth/stub_authenticator.cc", |
| 326 | "login/auth/stub_authenticator.h", |
| 327 | "login/auth/test_attempt_state.cc", |
| 328 | "login/auth/test_attempt_state.h", |
| 329 | "login/auth/user_context.cc", |
| 330 | "login/auth/user_context.h", |
| 331 | "login/login_state.cc", |
| 332 | "login/login_state.h", |
| 333 | "login_event_recorder.cc", |
| 334 | "login_event_recorder.h", |
| 335 | "network/auto_connect_handler.cc", |
| 336 | "network/auto_connect_handler.h", |
Steven Bennetts | 538486f | 2017-05-18 21:02:04 | [diff] [blame] | 337 | "network/certificate_helper.cc", |
| 338 | "network/certificate_helper.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 339 | "network/certificate_pattern.cc", |
| 340 | "network/certificate_pattern.h", |
| 341 | "network/client_cert_resolver.cc", |
| 342 | "network/client_cert_resolver.h", |
| 343 | "network/client_cert_util.cc", |
| 344 | "network/client_cert_util.h", |
| 345 | "network/device_state.cc", |
| 346 | "network/device_state.h", |
Lily Houghton | 9844d32 | 2018-01-20 05:44:01 | [diff] [blame] | 347 | "network/dhcp_pac_file_fetcher_chromeos.cc", |
| 348 | "network/dhcp_pac_file_fetcher_chromeos.h", |
| 349 | "network/dhcp_pac_file_fetcher_factory_chromeos.cc", |
| 350 | "network/dhcp_pac_file_fetcher_factory_chromeos.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 351 | "network/firewall_hole.cc", |
| 352 | "network/firewall_hole.h", |
| 353 | "network/geolocation_handler.cc", |
| 354 | "network/geolocation_handler.h", |
| 355 | "network/host_resolver_impl_chromeos.cc", |
| 356 | "network/host_resolver_impl_chromeos.h", |
| 357 | "network/managed_network_configuration_handler.cc", |
| 358 | "network/managed_network_configuration_handler.h", |
| 359 | "network/managed_network_configuration_handler_impl.cc", |
| 360 | "network/managed_network_configuration_handler_impl.h", |
| 361 | "network/managed_state.cc", |
| 362 | "network/managed_state.h", |
| 363 | "network/network_activation_handler.cc", |
| 364 | "network/network_activation_handler.h", |
| 365 | "network/network_cert_migrator.cc", |
| 366 | "network/network_cert_migrator.h", |
stevenjb | bbb23b7 | 2017-05-25 23:04:48 | [diff] [blame] | 367 | "network/network_certificate_handler.cc", |
| 368 | "network/network_certificate_handler.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 369 | "network/network_change_notifier_chromeos.cc", |
| 370 | "network/network_change_notifier_chromeos.h", |
| 371 | "network/network_change_notifier_factory_chromeos.cc", |
| 372 | "network/network_change_notifier_factory_chromeos.h", |
| 373 | "network/network_configuration_handler.cc", |
| 374 | "network/network_configuration_handler.h", |
| 375 | "network/network_configuration_observer.h", |
| 376 | "network/network_connect.cc", |
| 377 | "network/network_connect.h", |
| 378 | "network/network_connection_handler.cc", |
| 379 | "network/network_connection_handler.h", |
khorimoto | a2ff3163 | 2017-05-04 01:20:24 | [diff] [blame] | 380 | "network/network_connection_handler_impl.cc", |
| 381 | "network/network_connection_handler_impl.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 382 | "network/network_connection_observer.cc", |
| 383 | "network/network_connection_observer.h", |
| 384 | "network/network_device_handler.cc", |
| 385 | "network/network_device_handler.h", |
| 386 | "network/network_device_handler_impl.cc", |
| 387 | "network/network_device_handler_impl.h", |
| 388 | "network/network_event_log.h", |
| 389 | "network/network_handler.cc", |
| 390 | "network/network_handler.h", |
| 391 | "network/network_handler_callbacks.cc", |
| 392 | "network/network_handler_callbacks.h", |
| 393 | "network/network_ip_config.cc", |
| 394 | "network/network_ip_config.h", |
| 395 | "network/network_profile.cc", |
| 396 | "network/network_profile.h", |
| 397 | "network/network_profile_handler.cc", |
| 398 | "network/network_profile_handler.h", |
| 399 | "network/network_profile_observer.h", |
| 400 | "network/network_sms_handler.cc", |
| 401 | "network/network_sms_handler.h", |
| 402 | "network/network_state.cc", |
| 403 | "network/network_state.h", |
| 404 | "network/network_state_handler.cc", |
| 405 | "network/network_state_handler.h", |
| 406 | "network/network_state_handler_observer.cc", |
| 407 | "network/network_state_handler_observer.h", |
| 408 | "network/network_type_pattern.cc", |
| 409 | "network/network_type_pattern.h", |
| 410 | "network/network_ui_data.cc", |
| 411 | "network/network_ui_data.h", |
| 412 | "network/network_util.cc", |
| 413 | "network/network_util.h", |
| 414 | "network/onc/onc_certificate_importer.h", |
| 415 | "network/onc/onc_certificate_importer_impl.cc", |
| 416 | "network/onc/onc_certificate_importer_impl.h", |
| 417 | "network/onc/onc_mapper.cc", |
| 418 | "network/onc/onc_mapper.h", |
| 419 | "network/onc/onc_merger.cc", |
| 420 | "network/onc/onc_merger.h", |
| 421 | "network/onc/onc_normalizer.cc", |
| 422 | "network/onc/onc_normalizer.h", |
Pavol Marko | a69b546a | 2018-02-06 18:11:57 | [diff] [blame] | 423 | "network/onc/onc_parsed_certificates.cc", |
| 424 | "network/onc/onc_parsed_certificates.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 425 | "network/onc/onc_signature.cc", |
| 426 | "network/onc/onc_signature.h", |
| 427 | "network/onc/onc_translation_tables.cc", |
| 428 | "network/onc/onc_translation_tables.h", |
| 429 | "network/onc/onc_translator.h", |
| 430 | "network/onc/onc_translator_onc_to_shill.cc", |
| 431 | "network/onc/onc_translator_shill_to_onc.cc", |
| 432 | "network/onc/onc_utils.cc", |
| 433 | "network/onc/onc_utils.h", |
| 434 | "network/onc/onc_validator.cc", |
| 435 | "network/onc/onc_validator.h", |
| 436 | "network/policy_applicator.cc", |
| 437 | "network/policy_applicator.h", |
| 438 | "network/policy_util.cc", |
| 439 | "network/policy_util.h", |
| 440 | "network/portal_detector/network_portal_detector.cc", |
| 441 | "network/portal_detector/network_portal_detector.h", |
| 442 | "network/portal_detector/network_portal_detector_strategy.cc", |
| 443 | "network/portal_detector/network_portal_detector_strategy.h", |
| 444 | "network/portal_detector/network_portal_detector_stub.cc", |
| 445 | "network/portal_detector/network_portal_detector_stub.h", |
| 446 | "network/prohibited_technologies_handler.cc", |
| 447 | "network/prohibited_technologies_handler.h", |
| 448 | "network/proxy/proxy_config_handler.cc", |
| 449 | "network/proxy/proxy_config_handler.h", |
| 450 | "network/proxy/proxy_config_service_impl.cc", |
| 451 | "network/proxy/proxy_config_service_impl.h", |
| 452 | "network/proxy/ui_proxy_config.cc", |
| 453 | "network/proxy/ui_proxy_config.h", |
| 454 | "network/proxy/ui_proxy_config_service.cc", |
| 455 | "network/proxy/ui_proxy_config_service.h", |
| 456 | "network/shill_property_handler.cc", |
| 457 | "network/shill_property_handler.h", |
| 458 | "network/shill_property_util.cc", |
| 459 | "network/shill_property_util.h", |
khorimoto | e8e89d5 | 2017-04-19 21:16:04 | [diff] [blame] | 460 | "network/tether_constants.cc", |
| 461 | "network/tether_constants.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 462 | "printing/ppd_cache.cc", |
| 463 | "printing/ppd_cache.h", |
Justin Carlson | 781f77e21 | 2017-11-15 22:32:31 | [diff] [blame] | 464 | "printing/ppd_line_reader.cc", |
| 465 | "printing/ppd_line_reader.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 466 | "printing/ppd_provider.cc", |
| 467 | "printing/ppd_provider.h", |
| 468 | "printing/printer_configuration.cc", |
| 469 | "printing/printer_configuration.h", |
| 470 | "printing/printer_translator.cc", |
| 471 | "printing/printer_translator.h", |
David Valleau | 03e6fa6b | 2018-01-19 02:54:26 | [diff] [blame] | 472 | "printing/uri_components.cc", |
| 473 | "printing/uri_components.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 474 | "process_proxy/process_output_watcher.cc", |
| 475 | "process_proxy/process_output_watcher.h", |
| 476 | "process_proxy/process_proxy.cc", |
| 477 | "process_proxy/process_proxy.h", |
| 478 | "process_proxy/process_proxy_registry.cc", |
| 479 | "process_proxy/process_proxy_registry.h", |
| 480 | "settings/cros_settings_names.cc", |
| 481 | "settings/cros_settings_names.h", |
| 482 | "settings/cros_settings_provider.cc", |
| 483 | "settings/cros_settings_provider.h", |
| 484 | "settings/timezone_settings.cc", |
| 485 | "settings/timezone_settings.h", |
| 486 | "settings/timezone_settings_helper.cc", |
| 487 | "settings/timezone_settings_helper.h", |
sque | a15eba14 | 2017-04-25 15:41:36 | [diff] [blame] | 488 | "system/cpu_temperature_reader.cc", |
| 489 | "system/cpu_temperature_reader.h", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 490 | "system/devicemode.cc", |
| 491 | "system/devicemode.h", |
| 492 | "system/devicetype.cc", |
| 493 | "system/devicetype.h", |
| 494 | |
| 495 | # Used when running mash, both on Linux and on real devices. |
| 496 | "system/fake_statistics_provider.cc", |
| 497 | "system/fake_statistics_provider.h", |
| 498 | "system/name_value_pairs_parser.cc", |
| 499 | "system/name_value_pairs_parser.h", |
| 500 | "system/statistics_provider.cc", |
| 501 | "system/statistics_provider.h", |
| 502 | "system/version_loader.cc", |
| 503 | "system/version_loader.h", |
| 504 | "timezone/timezone_provider.cc", |
| 505 | "timezone/timezone_provider.h", |
| 506 | "timezone/timezone_request.cc", |
| 507 | "timezone/timezone_request.h", |
| 508 | "timezone/timezone_resolver.cc", |
| 509 | "timezone/timezone_resolver.h", |
| 510 | "tpm/tpm_password_fetcher.cc", |
| 511 | "tpm/tpm_password_fetcher.h", |
| 512 | "tpm/tpm_token_info_getter.cc", |
| 513 | "tpm/tpm_token_info_getter.h", |
| 514 | "tpm/tpm_token_loader.cc", |
| 515 | "tpm/tpm_token_loader.h", |
| 516 | ] |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 517 | defines = [ "CHROMEOS_IMPLEMENTATION" ] |
agrieve | c50a654 | 2016-06-09 03:44:09 | [diff] [blame] | 518 | if (current_cpu == "arm" || current_cpu == "x86") { |
hashimoto | c5ffb8b | 2016-03-09 03:19:31 | [diff] [blame] | 519 | defines += [ "BINDER_IPC_32BIT" ] |
hashimoto | aa1465a | 2015-12-11 06:19:59 | [diff] [blame] | 520 | } |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 521 | } |
| 522 | |
teravest | 822d58e6 | 2017-03-20 16:31:58 | [diff] [blame] | 523 | copy("dbus_service_files") { |
| 524 | sources = [ |
Tim Zheng | 78822b3e | 2018-01-21 04:48:13 | [diff] [blame] | 525 | "dbus/services/org.chromium.ChromeFeaturesService.conf", |
Xiaochu Liu | 12c14b4 | 2017-09-21 22:54:48 | [diff] [blame] | 526 | "dbus/services/org.chromium.ComponentUpdaterService.conf", |
Lann Martin | 7f6f2893 | 2017-07-26 15:35:00 | [diff] [blame] | 527 | "dbus/services/org.chromium.DisplayService.conf", |
teravest | 6e2e7874 | 2017-04-06 22:30:25 | [diff] [blame] | 528 | "dbus/services/org.chromium.KioskAppService.conf", |
teravest | 822d58e6 | 2017-03-20 16:31:58 | [diff] [blame] | 529 | "dbus/services/org.chromium.LibCrosService.conf", |
| 530 | "dbus/services/org.chromium.LivenessService.conf", |
derat | 34a13657 | 2017-03-30 03:29:20 | [diff] [blame] | 531 | "dbus/services/org.chromium.NetworkProxyService.conf", |
Ryo Hashimoto | 6ff11701 | 2017-09-20 06:55:03 | [diff] [blame] | 532 | "dbus/services/org.chromium.VirtualFileRequestService.conf", |
teravest | 822d58e6 | 2017-03-20 16:31:58 | [diff] [blame] | 533 | ] |
| 534 | outputs = [ |
| 535 | "$root_out_dir/dbus/{{source_file_part}}", |
| 536 | ] |
| 537 | } |
| 538 | |
skau | 65455b5a0 | 2016-08-03 20:16:38 | [diff] [blame] | 539 | # This must be a static library instead of a source set because some of the |
brettw | c4e6a0f | 2015-08-27 18:28:32 | [diff] [blame] | 540 | # files pull in things with dependencies that aren't linked in all cases. |
| 541 | # |
| 542 | # TODO this should probably be changed such that it links in all cases and |
| 543 | # can be converted to a source set. |
Brett Wilson | 16eb70c | 2015-08-22 21:08:09 | [diff] [blame] | 544 | static_library("test_support") { |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 545 | testonly = true |
agrieve | 95ba444 | 2016-04-25 15:47:13 | [diff] [blame] | 546 | configs += [ "//build/config/linux/dbus" ] |
Brett Wilson | 817fec0 | 2015-08-22 20:36:49 | [diff] [blame] | 547 | public_deps = [ |
drcrash | 7da3d8b | 2016-09-09 05:39:53 | [diff] [blame] | 548 | ":attestation_proto", |
xiaoyinh | 58676cf | 2017-05-08 20:21:31 | [diff] [blame] | 549 | ":biod_proto", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 550 | ":chromeos", |
| 551 | ":cryptohome_proto", |
| 552 | ":power_manager_proto", |
oshima | 3f959fa8 | 2016-05-02 18:42:57 | [diff] [blame] | 553 | ] |
| 554 | deps = [ |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 555 | ":test_support_without_gmock", |
oshima | 3f959fa8 | 2016-05-02 18:42:57 | [diff] [blame] | 556 | "//components/signin/core/account_id", |
| 557 | "//dbus:test_support", |
| 558 | "//google_apis", |
| 559 | "//net:test_support", |
Brett Wilson | 817fec0 | 2015-08-22 20:36:49 | [diff] [blame] | 560 | "//testing/gmock", |
oshima | 3f959fa8 | 2016-05-02 18:42:57 | [diff] [blame] | 561 | "//testing/gtest", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 562 | ] |
| 563 | sources = [ |
| 564 | "attestation/mock_attestation_flow.cc", |
| 565 | "attestation/mock_attestation_flow.h", |
| 566 | "chromeos_test_utils.cc", |
| 567 | "chromeos_test_utils.h", |
| 568 | "cryptohome/mock_async_method_caller.cc", |
| 569 | "cryptohome/mock_async_method_caller.h", |
| 570 | "cryptohome/mock_homedir_methods.cc", |
| 571 | "cryptohome/mock_homedir_methods.h", |
sammiequon | b6dc62f5 | 2017-04-12 04:11:21 | [diff] [blame] | 572 | "dbus/biod/test_utils.cc", |
| 573 | "dbus/biod/test_utils.h", |
hashimoto | 1472afe | 2014-11-18 06:18:40 | [diff] [blame] | 574 | "dbus/services/service_provider_test_helper.cc", |
| 575 | "dbus/services/service_provider_test_helper.h", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 576 | "disks/mock_disk_mount_manager.cc", |
| 577 | "disks/mock_disk_mount_manager.h", |
brettw | 6c1a772 | 2015-01-06 08:34:24 | [diff] [blame] | 578 | "login/auth/fake_extended_authenticator.cc", |
| 579 | "login/auth/fake_extended_authenticator.h", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 580 | "login/auth/mock_auth_attempt_state_resolver.cc", |
| 581 | "login/auth/mock_auth_attempt_state_resolver.h", |
| 582 | "login/auth/mock_auth_status_consumer.cc", |
| 583 | "login/auth/mock_auth_status_consumer.h", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 584 | "login/auth/mock_url_fetchers.cc", |
| 585 | "login/auth/mock_url_fetchers.h", |
isandrk | 1296202 | 2017-05-04 15:27:33 | [diff] [blame] | 586 | "login/scoped_test_public_session_login_state.cc", |
| 587 | "login/scoped_test_public_session_login_state.h", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 588 | "network/fake_network_device_handler.cc", |
| 589 | "network/fake_network_device_handler.h", |
| 590 | "network/mock_managed_network_configuration_handler.cc", |
| 591 | "network/mock_managed_network_configuration_handler.h", |
malaykeshav | 77a1ea0 | 2016-04-21 18:55:50 | [diff] [blame] | 592 | "network/mock_network_device_handler.cc", |
| 593 | "network/mock_network_device_handler.h", |
khorimoto | 6c378ee | 2017-03-30 23:57:47 | [diff] [blame] | 594 | "network/network_state_test.cc", |
| 595 | "network/network_state_test.h", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 596 | "network/onc/onc_test_utils.cc", |
| 597 | "network/onc/onc_test_utils.h", |
kumarniranjan | f097331 | 2017-05-20 00:00:34 | [diff] [blame] | 598 | "network/portal_detector/mock_network_portal_detector.cc", |
| 599 | "network/portal_detector/mock_network_portal_detector.h", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 600 | ] |
| 601 | } |
| 602 | |
| 603 | static_library("test_support_without_gmock") { |
| 604 | testonly = true |
agrieve | 95ba444 | 2016-04-25 15:47:13 | [diff] [blame] | 605 | configs += [ "//build/config/linux/dbus" ] |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 606 | deps = [ |
drcrash | 7da3d8b | 2016-09-09 05:39:53 | [diff] [blame] | 607 | ":attestation_proto", |
xiaoyinh | 58676cf | 2017-05-08 20:21:31 | [diff] [blame] | 608 | ":biod_proto", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 609 | ":chromeos", |
| 610 | ":cryptohome_proto", |
khmel | 71bd29c | 2018-01-17 19:29:35 | [diff] [blame] | 611 | ":login_manager_proto", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 612 | ":power_manager_proto", |
emaxx | 8aaab6c | 2017-03-07 14:57:33 | [diff] [blame] | 613 | "//components/policy/proto", |
agrieve | d7a71c88 | 2015-11-20 19:53:28 | [diff] [blame] | 614 | "//crypto", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 615 | ] |
| 616 | sources = [ |
| 617 | "dbus/fake_cros_disks_client.cc", |
| 618 | "dbus/fake_cros_disks_client.h", |
Qijiang Fan | 0f3005f | 2018-01-24 08:53:49 | [diff] [blame] | 619 | |
| 620 | # TODO(crbug.com/799071) remove fake_session_manager_client and fix build rules. |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 621 | "dbus/fake_session_manager_client.cc", |
| 622 | "dbus/fake_session_manager_client.h", |
| 623 | "dbus/fake_shill_manager_client.cc", |
| 624 | "dbus/fake_shill_manager_client.h", |
| 625 | "dbus/fake_update_engine_client.cc", |
| 626 | "dbus/fake_update_engine_client.h", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 627 | ] |
| 628 | } |
| 629 | |
| 630 | test("chromeos_unittests") { |
| 631 | configs += [ |
agrieve | 95ba444 | 2016-04-25 15:47:13 | [diff] [blame] | 632 | "//build/config/linux/dbus", |
svaldez | 2135be5 | 2016-04-20 16:34:53 | [diff] [blame] | 633 | "//third_party/nss:system_nss_no_ssl_config", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 634 | ] |
| 635 | deps = [ |
drcrash | 7da3d8b | 2016-09-09 05:39:53 | [diff] [blame] | 636 | ":attestation_proto", |
Roman Sorokin | 63c0c216 | 2017-11-28 09:43:04 | [diff] [blame] | 637 | ":authpolicy_proto", |
xiaoyinh | 58676cf | 2017-05-08 20:21:31 | [diff] [blame] | 638 | ":biod_proto", |
agrieve | d7a71c88 | 2015-11-20 19:53:28 | [diff] [blame] | 639 | ":cryptohome_proto", |
| 640 | ":power_manager_proto", |
| 641 | ":test_support", |
Roman Sorokin | 94a94e3 | 2017-11-29 13:11:21 | [diff] [blame] | 642 | ":test_support_without_gmock", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 643 | "//base/test:run_all_unittests", |
| 644 | "//base/test:test_support", |
| 645 | "//components/onc", |
brettw | 9f7802a2 | 2016-01-30 06:40:17 | [diff] [blame] | 646 | "//components/prefs:test_support", |
stevenjb | 8336888 | 2015-07-10 20:51:45 | [diff] [blame] | 647 | "//components/proxy_config", |
alemate | 627f653 | 2016-03-04 10:39:54 | [diff] [blame] | 648 | "//components/signin/core/account_id", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 649 | "//crypto", |
| 650 | "//crypto:test_support", |
| 651 | "//dbus:test_support", |
| 652 | "//google_apis", |
jennyz | fbaa3e6 | 2017-03-06 20:14:02 | [diff] [blame] | 653 | "//media/base:video_facing", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 654 | "//net", |
| 655 | "//net:test_support", |
| 656 | "//testing/gmock", |
| 657 | "//testing/gtest", |
jshin | 77e507b | 2015-04-24 01:13:15 | [diff] [blame] | 658 | "//third_party/icu", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 659 | "//url", |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 660 | ] |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 661 | sources = [ |
| 662 | "app_mode/kiosk_oem_manifest_parser_unittest.cc", |
| 663 | "attestation/attestation_flow_unittest.cc", |
| 664 | "audio/audio_devices_pref_handler_impl_unittest.cc", |
| 665 | "audio/cras_audio_handler_unittest.cc", |
| 666 | "cert_loader_unittest.cc", |
Maajid | 1a0654a | 2018-01-23 07:49:49 | [diff] [blame] | 667 | "cryptohome/cryptohome_util_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 668 | "cryptohome/homedir_methods_unittest.cc", |
| 669 | "cryptohome/system_salt_getter_unittest.cc", |
sammiequon | 0958b7f | 2017-04-03 19:24:21 | [diff] [blame] | 670 | "dbus/biod/biod_client_unittest.cc", |
sammiequon | b6dc62f5 | 2017-04-12 04:11:21 | [diff] [blame] | 671 | "dbus/biod/fake_biod_client_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 672 | "dbus/blocking_method_caller_unittest.cc", |
| 673 | "dbus/cras_audio_client_unittest.cc", |
| 674 | "dbus/cros_disks_client_unittest.cc", |
| 675 | "dbus/dbus_thread_manager_unittest.cc", |
| 676 | "dbus/fake_auth_policy_client_unittest.cc", |
| 677 | "dbus/fake_cryptohome_client_unittest.cc", |
| 678 | "dbus/fake_easy_unlock_client_unittest.cc", |
| 679 | "dbus/fake_power_manager_client_unittest.cc", |
| 680 | "dbus/gsm_sms_client_unittest.cc", |
| 681 | "dbus/modem_messaging_client_unittest.cc", |
Hidehiko Abe | 1ac7aa2 | 2017-10-30 20:35:19 | [diff] [blame] | 682 | "dbus/pipe_reader_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 683 | "dbus/power_manager_client_unittest.cc", |
| 684 | "dbus/power_policy_controller_unittest.cc", |
| 685 | "dbus/services/cros_dbus_service_unittest.cc", |
| 686 | "dbus/services/proxy_resolution_service_provider_unittest.cc", |
| 687 | "dbus/shill_client_unittest_base.cc", |
| 688 | "dbus/shill_client_unittest_base.h", |
| 689 | "dbus/shill_device_client_unittest.cc", |
| 690 | "dbus/shill_ipconfig_client_unittest.cc", |
| 691 | "dbus/shill_manager_client_unittest.cc", |
| 692 | "dbus/shill_profile_client_unittest.cc", |
| 693 | "dbus/shill_service_client_unittest.cc", |
| 694 | "dbus/shill_third_party_vpn_driver_client_unittest.cc", |
| 695 | "disks/disk_mount_manager_unittest.cc", |
| 696 | "disks/suspend_unmount_manager_unittest.cc", |
| 697 | "geolocation/simple_geolocation_unittest.cc", |
Roman Sorokin | 94a94e3 | 2017-11-29 13:11:21 | [diff] [blame] | 698 | "login/auth/authpolicy_login_helper_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 699 | "login/auth/key_unittest.cc", |
| 700 | "login/login_state_unittest.cc", |
| 701 | "network/auto_connect_handler_unittest.cc", |
Steven Bennetts | 538486f | 2017-05-18 21:02:04 | [diff] [blame] | 702 | "network/certificate_helper_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 703 | "network/client_cert_resolver_unittest.cc", |
| 704 | "network/firewall_hole_unittest.cc", |
| 705 | "network/geolocation_handler_unittest.cc", |
| 706 | "network/host_resolver_impl_chromeos_unittest.cc", |
| 707 | "network/managed_network_configuration_handler_unittest.cc", |
| 708 | "network/network_cert_migrator_unittest.cc", |
| 709 | "network/network_change_notifier_chromeos_unittest.cc", |
| 710 | "network/network_configuration_handler_unittest.cc", |
| 711 | "network/network_connect_unittest.cc", |
khorimoto | a2ff3163 | 2017-05-04 01:20:24 | [diff] [blame] | 712 | "network/network_connection_handler_impl_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 713 | "network/network_device_handler_unittest.cc", |
| 714 | "network/network_sms_handler_unittest.cc", |
| 715 | "network/network_state_handler_unittest.cc", |
| 716 | "network/network_state_unittest.cc", |
| 717 | "network/network_type_pattern_unittest.cc", |
| 718 | "network/network_ui_data_unittest.cc", |
| 719 | "network/network_util_unittest.cc", |
| 720 | "network/onc/onc_certificate_importer_impl_unittest.cc", |
| 721 | "network/onc/onc_merger_unittest.cc", |
| 722 | "network/onc/onc_normalizer_unittest.cc", |
Pavol Marko | a69b546a | 2018-02-06 18:11:57 | [diff] [blame] | 723 | "network/onc/onc_parsed_certificates_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 724 | "network/onc/onc_translator_unittest.cc", |
| 725 | "network/onc/onc_utils_unittest.cc", |
| 726 | "network/onc/onc_validator_unittest.cc", |
| 727 | "network/prohibited_technologies_handler_unittest.cc", |
mmenke | 29e5a5d | 2017-06-21 21:35:37 | [diff] [blame] | 728 | "network/proxy/proxy_config_service_impl_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 729 | "network/shill_property_handler_unittest.cc", |
| 730 | "printing/ppd_cache_unittest.cc", |
Justin Carlson | 781f77e21 | 2017-11-15 22:32:31 | [diff] [blame] | 731 | "printing/ppd_line_reader_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 732 | "printing/ppd_provider_unittest.cc", |
| 733 | "printing/printer_translator_unittest.cc", |
| 734 | "process_proxy/process_output_watcher_unittest.cc", |
| 735 | "process_proxy/process_proxy_unittest.cc", |
| 736 | "settings/timezone_settings_unittest.cc", |
sque | a15eba14 | 2017-04-25 15:41:36 | [diff] [blame] | 737 | "system/cpu_temperature_reader_unittest.cc", |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 738 | "system/name_value_pairs_parser_unittest.cc", |
| 739 | "system/version_loader_unittest.cc", |
| 740 | "timezone/timezone_unittest.cc", |
| 741 | "tpm/tpm_token_info_getter_unittest.cc", |
| 742 | ] |
hashimoto | aa1465a | 2015-12-11 06:19:59 | [diff] [blame] | 743 | if (use_binder) { |
agrieve | c50a654 | 2016-06-09 03:44:09 | [diff] [blame] | 744 | if (current_cpu == "arm" || current_cpu == "x86") { |
hashimoto | aa1465a | 2015-12-11 06:19:59 | [diff] [blame] | 745 | defines += [ "BINDER_IPC_32BIT" ] |
| 746 | } |
teravest | 54ee225 | 2017-03-17 14:18:16 | [diff] [blame] | 747 | sources += [ |
| 748 | "binder/buffer_reader_unittest.cc", |
| 749 | "binder/command_broker_unittest.cc", |
| 750 | "binder/command_stream_unittest.cc", |
| 751 | "binder/driver_unittest.cc", |
| 752 | "binder/end_to_end_unittest.cc", |
| 753 | "binder/service_manager_proxy_unittest.cc", |
| 754 | "binder/test_service.cc", |
| 755 | "binder/test_service.h", |
| 756 | "binder/transaction_data_read_write_unittest.cc", |
| 757 | ] |
hashimoto | aa1465a | 2015-12-11 06:19:59 | [diff] [blame] | 758 | } |
dpranke | 94c6fb2 | 2016-06-10 01:55:08 | [diff] [blame] | 759 | |
| 760 | data = [ |
| 761 | "test/data/", |
dpranke | 94c6fb2 | 2016-06-10 01:55:08 | [diff] [blame] | 762 | ] |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 763 | } |
| 764 | |
[email protected] | 743530f | 2014-06-12 19:38:50 | [diff] [blame] | 765 | proto_library("power_manager_proto") { |
| 766 | sources = [ |
Daniel Erat | 05f8e5c | 2017-10-30 22:41:45 | [diff] [blame] | 767 | "//third_party/cros_system_api/dbus/power_manager/idle.proto", |
[email protected] | 743530f | 2014-06-12 19:38:50 | [diff] [blame] | 768 | "//third_party/cros_system_api/dbus/power_manager/input_event.proto", |
| 769 | "//third_party/cros_system_api/dbus/power_manager/peripheral_battery_status.proto", |
| 770 | "//third_party/cros_system_api/dbus/power_manager/policy.proto", |
| 771 | "//third_party/cros_system_api/dbus/power_manager/power_supply_properties.proto", |
| 772 | "//third_party/cros_system_api/dbus/power_manager/suspend.proto", |
derat | 08e333d | 2017-03-21 21:51:22 | [diff] [blame] | 773 | "//third_party/cros_system_api/dbus/power_manager/switch_states.proto", |
[email protected] | 743530f | 2014-06-12 19:38:50 | [diff] [blame] | 774 | ] |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 775 | |
| 776 | proto_out_dir = "chromeos/dbus/power_manager" |
| 777 | } |
| 778 | |
| 779 | proto_library("cryptohome_proto") { |
| 780 | sources = [ |
| 781 | "//third_party/cros_system_api/dbus/cryptohome/key.proto", |
| 782 | "//third_party/cros_system_api/dbus/cryptohome/rpc.proto", |
| 783 | ] |
| 784 | |
| 785 | proto_out_dir = "chromeos/dbus/cryptohome" |
| 786 | } |
| 787 | |
xiaohuic | 2f57e3f7 | 2017-05-31 01:29:53 | [diff] [blame] | 788 | proto_library("login_manager_proto") { |
| 789 | sources = [ |
| 790 | "//third_party/cros_system_api/dbus/login_manager/arc.proto", |
Lutz Justen | 8dfd597 | 2017-11-07 10:26:26 | [diff] [blame] | 791 | "//third_party/cros_system_api/dbus/login_manager/policy_descriptor.proto", |
xiaohuic | 2f57e3f7 | 2017-05-31 01:29:53 | [diff] [blame] | 792 | ] |
| 793 | |
| 794 | proto_out_dir = "chromeos/dbus/login_manager" |
| 795 | } |
| 796 | |
drcrash | 7da3d8b | 2016-09-09 05:39:53 | [diff] [blame] | 797 | proto_library("attestation_proto") { |
| 798 | sources = [ |
| 799 | "dbus/proto/attestation.proto", |
| 800 | ] |
| 801 | |
| 802 | proto_out_dir = "chromeos/attestation" |
| 803 | } |
| 804 | |
mukai | 6ba7355 | 2014-10-09 19:05:17 | [diff] [blame] | 805 | proto_library("cryptohome_signkey_proto") { |
| 806 | sources = [ |
| 807 | "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto", |
| 808 | ] |
| 809 | |
mukai | 4e5b67db | 2014-10-10 21:08:23 | [diff] [blame] | 810 | proto_out_dir = "chromeos/cryptohome" |
[email protected] | 743530f | 2014-06-12 19:38:50 | [diff] [blame] | 811 | } |
rsorokin | fc75ccee | 2017-02-10 13:16:43 | [diff] [blame] | 812 | |
| 813 | proto_library("authpolicy_proto") { |
| 814 | sources = [ |
rsorokin | 01014b7 | 2017-04-28 12:26:29 | [diff] [blame] | 815 | "//third_party/cros_system_api/dbus/authpolicy/active_directory_info.proto", |
rsorokin | fc75ccee | 2017-02-10 13:16:43 | [diff] [blame] | 816 | ] |
| 817 | |
| 818 | proto_out_dir = "chromeos/dbus/authpolicy" |
| 819 | } |
xiaoyinh | 58676cf | 2017-05-08 20:21:31 | [diff] [blame] | 820 | |
| 821 | proto_library("biod_proto") { |
| 822 | sources = [ |
| 823 | "//third_party/cros_system_api/dbus/biod/constants.proto", |
| 824 | "//third_party/cros_system_api/dbus/biod/messages.proto", |
| 825 | ] |
| 826 | |
| 827 | proto_out_dir = "chromeos/dbus/biod" |
| 828 | } |
lasoren | f933419f | 2017-05-15 19:37:45 | [diff] [blame] | 829 | |
| 830 | proto_library("media_perception_proto") { |
| 831 | sources = [ |
| 832 | "dbus/proto/media_perception.proto", |
| 833 | ] |
| 834 | |
| 835 | proto_out_dir = "chromeos/media_perception" |
| 836 | } |
Allen Vicencio | 0245710 | 2017-11-28 01:20:20 | [diff] [blame] | 837 | |
| 838 | proto_library("smbprovider_proto") { |
| 839 | sources = [ |
| 840 | "//third_party/cros_system_api/dbus/smbprovider/directory_entry.proto", |
| 841 | ] |
| 842 | |
| 843 | proto_out_dir = "chromeos/dbus/smbprovider" |
| 844 | } |