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