blob: a5144da9cf400fe85545ff4f685724aee261de1f [file] [log] [blame]
[email protected]743530f2014-06-12 19:38:501# 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
Ben Pastenec60bf5022018-05-04 01:10:335import("//build/config/chromeos/rules.gni")
mukai6ba73552014-10-09 19:05:176import("//build/config/ui.gni")
Lutz Justen09c943a2018-04-13 01:49:197import("//testing/libfuzzer/fuzzer_test.gni")
qsrfb5251d12015-01-21 15:57:228import("//testing/test.gni")
[email protected]743530f2014-06-12 19:38:509import("//third_party/protobuf/proto_library.gni")
10
mukai327e5f52014-10-16 19:10:5211assert(is_chromeos, "Non-ChromeOS builds must not depend on //chromeos")
12
mukai6ba73552014-10-09 19:05:1713component("chromeos") {
Nico Weber2023256d2018-08-28 17:44:5714 configs += [ "//build/config/linux/nss:system_nss_no_ssl_config" ]
scottmg34fb7e52014-12-03 23:27:2415 public_deps = [
16 "//dbus",
mukai6ba73552014-10-09 19:05:1717 ]
18 deps = [
Kush Sinha719fb1b2018-03-19 19:29:5819 ":account_manager_proto",
drcrash7da3d8b2016-09-09 05:39:5320 ":attestation_proto",
rsorokinfc75ccee2017-02-10 13:16:4321 ":authpolicy_proto",
xiaoyinh58676cf2017-05-08 20:21:3122 ":biod_proto",
Jeffrey Kardatzkea3f86c4c2018-05-31 18:34:0723 ":cicerone_proto",
Renee Wright0e1449f2018-03-28 00:21:4024 ":concierge_proto",
agrieved7a71c882015-11-20 19:53:2825 ":cryptohome_proto",
xiaohuic2f57e3f72017-05-31 01:29:5326 ":login_manager_proto",
lasorenf933419f2017-05-15 19:37:4527 ":media_perception_proto",
Luigi Semenzatoa179f272018-09-07 21:06:4128 ":metrics_event_proto",
Denis Kuznetsov046a611c2018-09-27 11:23:5729 ":oobe_config_proto",
agrieved7a71c882015-11-20 19:53:2830 ":power_manager_proto",
Joel Hockeyb797d182018-09-01 10:48:5331 ":seneschal_proto",
Allen Vicencio02457102017-11-28 01:20:2032 ":smbprovider_proto",
Timothy Loh71d654412018-04-04 05:30:0533 ":vm_applications_apps_proto",
mukai6ba73552014-10-09 19:05:1734 "//base",
Nico Webera3d0a422015-01-20 21:46:2135 "//base:i18n",
mukai6ba73552014-10-09 19:05:1736 "//base/third_party/dynamic_annotations",
Alexander Alekseev3f09a8f2018-05-03 02:52:1037 "//components/account_id",
reillyg4a849272015-02-20 21:38:4338 "//components/device_event_log",
mukai6ba73552014-10-09 19:05:1739 "//components/onc",
Vaclav Brozek87ea66b2018-06-12 11:09:4740 "//components/password_manager/core/browser:password_hash_data",
tnagel51accc42016-12-28 12:00:5841 "//components/policy:cloud_policy_proto_generated_compile",
agrieved7a71c882015-11-20 19:53:2842 "//components/policy/proto",
stevenjb100c6202016-10-28 02:28:0043 "//components/pref_registry",
brettw9f7802a22016-01-30 06:40:1744 "//components/prefs",
stevenjb83368882015-07-10 20:51:4545 "//components/proxy_config",
stevenjbffe695c2017-01-10 21:35:5146 "//components/url_formatter",
alemate627f6532016-03-04 10:39:5447 "//components/user_manager",
nkostylev8d7d18d2015-01-28 11:25:0848 "//crypto:platform",
mukai6ba73552014-10-09 19:05:1749 "//google_apis",
shenghao77ec80c2017-02-22 20:14:1850 "//media/base:video_facing",
oshima3f959fa82016-05-02 18:42:5751 "//net",
Luum Habtemariamb30c8112018-06-25 21:51:2252 "//services/network/public/cpp:cpp",
stevenjb100c6202016-10-28 02:28:0053 "//skia", # For components/user_manager
mukai6ba73552014-10-09 19:05:1754 "//third_party/icu",
mukai6ba73552014-10-09 19:05:1755 "//third_party/protobuf:protobuf_lite",
James Cooka7478252018-02-23 23:03:1156 "//ui/gfx/geometry", # For accelerometer.
mukai6ba73552014-10-09 19:05:1757 "//url",
mukai6ba73552014-10-09 19:05:1758 ]
teravest54ee2252017-03-17 14:18:1659 sources = [
60 "accelerometer/accelerometer_reader.cc",
61 "accelerometer/accelerometer_reader.h",
62 "accelerometer/accelerometer_types.cc",
63 "accelerometer/accelerometer_types.h",
Kush Sinha719fb1b2018-03-19 19:29:5864 "account_manager/account_manager.cc",
65 "account_manager/account_manager.h",
Kush Sinha74c38a02018-04-16 23:53:4466 "account_manager/account_manager_factory.cc",
67 "account_manager/account_manager_factory.h",
teravest54ee2252017-03-17 14:18:1668 "app_mode/kiosk_oem_manifest_parser.cc",
69 "app_mode/kiosk_oem_manifest_parser.h",
teravest54ee2252017-03-17 14:18:1670 "attestation/attestation_flow.cc",
71 "attestation/attestation_flow.h",
teravest54ee2252017-03-17 14:18:1672 "audio/audio_device.cc",
73 "audio/audio_device.h",
74 "audio/audio_devices_pref_handler.h",
75 "audio/audio_devices_pref_handler_impl.cc",
76 "audio/audio_devices_pref_handler_impl.h",
77 "audio/audio_devices_pref_handler_stub.cc",
78 "audio/audio_devices_pref_handler_stub.h",
79 "audio/audio_pref_observer.h",
80 "audio/chromeos_sounds.h",
81 "audio/cras_audio_handler.cc",
82 "audio/cras_audio_handler.h",
teravest54ee2252017-03-17 14:18:1683 "cert_loader.cc",
84 "cert_loader.h",
85 "chromeos_constants.cc",
86 "chromeos_constants.h",
87 "chromeos_export.h",
Kyle Horimotoa3da6ab2018-04-27 19:39:5488 "chromeos_features.cc",
89 "chromeos_features.h",
teravest54ee2252017-03-17 14:18:1690 "chromeos_paths.cc",
91 "chromeos_paths.h",
92 "chromeos_pref_names.cc",
93 "chromeos_pref_names.h",
94 "chromeos_switches.cc",
95 "chromeos_switches.h",
96 "cryptohome/async_method_caller.cc",
97 "cryptohome/async_method_caller.h",
98 "cryptohome/cryptohome_parameters.cc",
99 "cryptohome/cryptohome_parameters.h",
Maajid75b8ee42017-12-25 05:42:40100 "cryptohome/cryptohome_util.cc",
101 "cryptohome/cryptohome_util.h",
teravest54ee2252017-03-17 14:18:16102 "cryptohome/homedir_methods.cc",
103 "cryptohome/homedir_methods.h",
104 "cryptohome/system_salt_getter.cc",
105 "cryptohome/system_salt_getter.h",
Ryo Hashimoto17fddd2e2018-05-10 05:46:45106 "dbus/arc_appfuse_provider_client.cc",
107 "dbus/arc_appfuse_provider_client.h",
Prashant Malani1025c4772017-08-24 20:22:30108 "dbus/arc_midis_client.cc",
109 "dbus/arc_midis_client.h",
teravest54ee2252017-03-17 14:18:16110 "dbus/arc_obb_mounter_client.cc",
111 "dbus/arc_obb_mounter_client.h",
Jeffrey Kardatzke49054cb72017-08-11 17:45:56112 "dbus/arc_oemcrypto_client.cc",
113 "dbus/arc_oemcrypto_client.h",
Steven Bennetts149a15b2018-07-19 17:33:36114 "dbus/attestation_constants.cc",
115 "dbus/attestation_constants.h",
teravest54ee2252017-03-17 14:18:16116 "dbus/audio_node.cc",
117 "dbus/audio_node.h",
118 "dbus/auth_policy_client.cc",
119 "dbus/auth_policy_client.h",
sammiequon0958b7f2017-04-03 19:24:21120 "dbus/biod/biod_client.cc",
121 "dbus/biod/biod_client.h",
sammiequon86bf7842017-04-05 22:47:03122 "dbus/biod/fake_biod_client.cc",
123 "dbus/biod/fake_biod_client.h",
teravest54ee2252017-03-17 14:18:16124 "dbus/blocking_method_caller.cc",
125 "dbus/blocking_method_caller.h",
Felix Ekblombba090e2018-04-19 09:38:43126 "dbus/cec_service_client.cc",
127 "dbus/cec_service_client.h",
Jeffrey Kardatzkea3f86c4c2018-05-31 18:34:07128 "dbus/cicerone_client.cc",
129 "dbus/cicerone_client.h",
Renee Wright0e1449f2018-03-28 00:21:40130 "dbus/concierge_client.cc",
131 "dbus/concierge_client.h",
teravest54ee2252017-03-17 14:18:16132 "dbus/cras_audio_client.cc",
133 "dbus/cras_audio_client.h",
134 "dbus/cros_disks_client.cc",
135 "dbus/cros_disks_client.h",
136 "dbus/cryptohome_client.cc",
137 "dbus/cryptohome_client.h",
138 "dbus/dbus_client_implementation_type.h",
139 "dbus/dbus_clients_browser.cc",
140 "dbus/dbus_clients_browser.h",
141 "dbus/dbus_clients_common.cc",
142 "dbus/dbus_clients_common.h",
143 "dbus/dbus_method_call_status.cc",
144 "dbus/dbus_method_call_status.h",
Steven Bennetts11227062018-07-19 15:49:57145 "dbus/dbus_switches.cc",
146 "dbus/dbus_switches.h",
teravest54ee2252017-03-17 14:18:16147 "dbus/dbus_thread_manager.cc",
148 "dbus/dbus_thread_manager.h",
149 "dbus/debug_daemon_client.cc",
150 "dbus/debug_daemon_client.h",
151 "dbus/easy_unlock_client.cc",
152 "dbus/easy_unlock_client.h",
Ryo Hashimoto17fddd2e2018-05-10 05:46:45153 "dbus/fake_arc_appfuse_provider_client.cc",
154 "dbus/fake_arc_appfuse_provider_client.h",
Prashant Malani1025c4772017-08-24 20:22:30155 "dbus/fake_arc_midis_client.cc",
156 "dbus/fake_arc_midis_client.h",
teravest54ee2252017-03-17 14:18:16157 "dbus/fake_arc_obb_mounter_client.cc",
158 "dbus/fake_arc_obb_mounter_client.h",
Jeffrey Kardatzke49054cb72017-08-11 17:45:56159 "dbus/fake_arc_oemcrypto_client.cc",
160 "dbus/fake_arc_oemcrypto_client.h",
teravest54ee2252017-03-17 14:18:16161 "dbus/fake_auth_policy_client.cc",
162 "dbus/fake_auth_policy_client.h",
Felix Ekblombba090e2018-04-19 09:38:43163 "dbus/fake_cec_service_client.cc",
164 "dbus/fake_cec_service_client.h",
Jeffrey Kardatzkea3f86c4c2018-05-31 18:34:07165 "dbus/fake_cicerone_client.cc",
166 "dbus/fake_cicerone_client.h",
Renee Wright0e1449f2018-03-28 00:21:40167 "dbus/fake_concierge_client.cc",
168 "dbus/fake_concierge_client.h",
teravest54ee2252017-03-17 14:18:16169 "dbus/fake_cras_audio_client.cc",
170 "dbus/fake_cras_audio_client.h",
171 "dbus/fake_cros_disks_client.cc",
172 "dbus/fake_cros_disks_client.h",
173 "dbus/fake_cryptohome_client.cc",
174 "dbus/fake_cryptohome_client.h",
175 "dbus/fake_debug_daemon_client.cc",
176 "dbus/fake_debug_daemon_client.h",
177 "dbus/fake_easy_unlock_client.cc",
178 "dbus/fake_easy_unlock_client.h",
179 "dbus/fake_gsm_sms_client.cc",
180 "dbus/fake_gsm_sms_client.h",
Toni Barzice5b1f572018-02-28 01:29:26181 "dbus/fake_hammerd_client.cc",
182 "dbus/fake_hammerd_client.h",
teravest54ee2252017-03-17 14:18:16183 "dbus/fake_image_burner_client.cc",
184 "dbus/fake_image_burner_client.h",
185 "dbus/fake_image_loader_client.cc",
186 "dbus/fake_image_loader_client.h",
187 "dbus/fake_lorgnette_manager_client.cc",
188 "dbus/fake_lorgnette_manager_client.h",
Andrew Moylan5ced6002018-07-16 01:24:09189 "dbus/fake_machine_learning_client.cc",
190 "dbus/fake_machine_learning_client.h",
lasorenf933419f2017-05-15 19:37:45191 "dbus/fake_media_analytics_client.cc",
192 "dbus/fake_media_analytics_client.h",
teravest54ee2252017-03-17 14:18:16193 "dbus/fake_modem_messaging_client.cc",
194 "dbus/fake_modem_messaging_client.h",
Denis Kuznetsov41c67ab2018-08-22 11:41:25195 "dbus/fake_oobe_configuration_client.cc",
196 "dbus/fake_oobe_configuration_client.h",
teravest54ee2252017-03-17 14:18:16197 "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",
Joel Hockeyb797d182018-09-01 10:48:53201 "dbus/fake_seneschal_client.cc",
202 "dbus/fake_seneschal_client.h",
Qijiang Fan0f3005f2018-01-24 08:53:49203 "dbus/fake_session_manager_client.cc",
204 "dbus/fake_session_manager_client.h",
teravest54ee2252017-03-17 14:18:16205 "dbus/fake_shill_device_client.cc",
206 "dbus/fake_shill_device_client.h",
207 "dbus/fake_shill_ipconfig_client.cc",
208 "dbus/fake_shill_ipconfig_client.h",
209 "dbus/fake_shill_manager_client.cc",
210 "dbus/fake_shill_manager_client.h",
211 "dbus/fake_shill_profile_client.cc",
212 "dbus/fake_shill_profile_client.h",
213 "dbus/fake_shill_service_client.cc",
214 "dbus/fake_shill_service_client.h",
215 "dbus/fake_shill_third_party_vpn_driver_client.cc",
216 "dbus/fake_shill_third_party_vpn_driver_client.h",
Allen Vicencio02457102017-11-28 01:20:20217 "dbus/fake_smb_provider_client.cc",
218 "dbus/fake_smb_provider_client.h",
teravest54ee2252017-03-17 14:18:16219 "dbus/fake_sms_client.cc",
220 "dbus/fake_sms_client.h",
221 "dbus/fake_system_clock_client.cc",
222 "dbus/fake_system_clock_client.h",
223 "dbus/fake_upstart_client.cc",
224 "dbus/fake_upstart_client.h",
Ryo Hashimoto44c140b2017-09-13 05:10:08225 "dbus/fake_virtual_file_provider_client.cc",
226 "dbus/fake_virtual_file_provider_client.h",
teravest54ee2252017-03-17 14:18:16227 "dbus/gsm_sms_client.cc",
228 "dbus/gsm_sms_client.h",
Toni Barzice5b1f572018-02-28 01:29:26229 "dbus/hammerd_client.cc",
230 "dbus/hammerd_client.h",
teravest54ee2252017-03-17 14:18:16231 "dbus/image_burner_client.cc",
232 "dbus/image_burner_client.h",
233 "dbus/image_loader_client.cc",
234 "dbus/image_loader_client.h",
235 "dbus/lorgnette_manager_client.cc",
236 "dbus/lorgnette_manager_client.h",
Andrew Moylan5ced6002018-07-16 01:24:09237 "dbus/machine_learning_client.cc",
238 "dbus/machine_learning_client.h",
lasorenf933419f2017-05-15 19:37:45239 "dbus/media_analytics_client.cc",
240 "dbus/media_analytics_client.h",
teravest54ee2252017-03-17 14:18:16241 "dbus/modem_messaging_client.cc",
242 "dbus/modem_messaging_client.h",
Denis Kuznetsov41c67ab2018-08-22 11:41:25243 "dbus/oobe_configuration_client.cc",
244 "dbus/oobe_configuration_client.h",
teravest54ee2252017-03-17 14:18:16245 "dbus/permission_broker_client.cc",
246 "dbus/permission_broker_client.h",
247 "dbus/pipe_reader.cc",
248 "dbus/pipe_reader.h",
249 "dbus/power_manager_client.cc",
250 "dbus/power_manager_client.h",
251 "dbus/power_policy_controller.cc",
252 "dbus/power_policy_controller.h",
Joel Hockeyb797d182018-09-01 10:48:53253 "dbus/seneschal_client.cc",
254 "dbus/seneschal_client.h",
teravest54ee2252017-03-17 14:18:16255 "dbus/services/cros_dbus_service.cc",
256 "dbus/services/cros_dbus_service.h",
teravest54ee2252017-03-17 14:18:16257 "dbus/session_manager_client.cc",
258 "dbus/session_manager_client.h",
259 "dbus/shill_client_helper.cc",
260 "dbus/shill_client_helper.h",
261 "dbus/shill_device_client.cc",
262 "dbus/shill_device_client.h",
263 "dbus/shill_ipconfig_client.cc",
264 "dbus/shill_ipconfig_client.h",
265 "dbus/shill_manager_client.cc",
266 "dbus/shill_manager_client.h",
267 "dbus/shill_profile_client.cc",
268 "dbus/shill_profile_client.h",
269 "dbus/shill_service_client.cc",
270 "dbus/shill_service_client.h",
271 "dbus/shill_third_party_vpn_driver_client.cc",
272 "dbus/shill_third_party_vpn_driver_client.h",
Allen Vicencio02457102017-11-28 01:20:20273 "dbus/smb_provider_client.cc",
274 "dbus/smb_provider_client.h",
teravest54ee2252017-03-17 14:18:16275 "dbus/sms_client.cc",
276 "dbus/sms_client.h",
277 "dbus/system_clock_client.cc",
278 "dbus/system_clock_client.h",
279 "dbus/update_engine_client.cc",
280 "dbus/update_engine_client.h",
281 "dbus/upstart_client.cc",
282 "dbus/upstart_client.h",
Ryo Hashimoto386e7282018-07-31 09:11:16283 "dbus/util/account_identifier_operators.cc",
284 "dbus/util/account_identifier_operators.h",
Steven Bennetts642db782018-07-19 20:48:19285 "dbus/util/tpm_util.cc",
286 "dbus/util/tpm_util.h",
Steven Bennettsa4fe4f72018-07-19 20:54:34287 "dbus/util/version_loader.cc",
288 "dbus/util/version_loader.h",
Ryo Hashimoto44c140b2017-09-13 05:10:08289 "dbus/virtual_file_provider_client.cc",
290 "dbus/virtual_file_provider_client.h",
teravest54ee2252017-03-17 14:18:16291 "dbus/volume_state.cc",
292 "dbus/volume_state.h",
Anand K. Mistry6039ab02018-08-07 03:21:34293 "disks/disk.cc",
294 "disks/disk.h",
teravest54ee2252017-03-17 14:18:16295 "disks/disk_mount_manager.cc",
296 "disks/disk_mount_manager.h",
297 "disks/suspend_unmount_manager.cc",
298 "disks/suspend_unmount_manager.h",
299 "geolocation/geoposition.cc",
300 "geolocation/geoposition.h",
301 "geolocation/simple_geolocation_provider.cc",
302 "geolocation/simple_geolocation_provider.h",
303 "geolocation/simple_geolocation_request.cc",
304 "geolocation/simple_geolocation_request.h",
305 "geolocation/simple_geolocation_request_test_monitor.cc",
306 "geolocation/simple_geolocation_request_test_monitor.h",
307 "hugepage_text/hugepage_text.cc",
308 "hugepage_text/hugepage_text.h",
309 "login/auth/auth_attempt_state.cc",
310 "login/auth/auth_attempt_state.h",
311 "login/auth/auth_attempt_state_resolver.cc",
312 "login/auth/auth_attempt_state_resolver.h",
313 "login/auth/auth_status_consumer.cc",
314 "login/auth/auth_status_consumer.h",
315 "login/auth/authenticator.cc",
316 "login/auth/authenticator.h",
rsorokind8c46c12017-04-11 08:43:19317 "login/auth/authpolicy_login_helper.cc",
318 "login/auth/authpolicy_login_helper.h",
Maksim Ivanov266cee12018-04-11 04:07:31319 "login/auth/challenge_response_key.cc",
320 "login/auth/challenge_response_key.h",
teravest54ee2252017-03-17 14:18:16321 "login/auth/cryptohome_authenticator.cc",
322 "login/auth/cryptohome_authenticator.h",
323 "login/auth/extended_authenticator.cc",
324 "login/auth/extended_authenticator.h",
325 "login/auth/extended_authenticator_impl.cc",
326 "login/auth/extended_authenticator_impl.h",
327 "login/auth/key.cc",
328 "login/auth/key.h",
329 "login/auth/login_performer.cc",
330 "login/auth/login_performer.h",
331 "login/auth/stub_authenticator.cc",
332 "login/auth/stub_authenticator.h",
333 "login/auth/test_attempt_state.cc",
334 "login/auth/test_attempt_state.h",
335 "login/auth/user_context.cc",
336 "login/auth/user_context.h",
337 "login/login_state.cc",
338 "login/login_state.h",
339 "login_event_recorder.cc",
340 "login_event_recorder.h",
341 "network/auto_connect_handler.cc",
342 "network/auto_connect_handler.h",
Steven Bennetts538486f2017-05-18 21:02:04343 "network/certificate_helper.cc",
344 "network/certificate_helper.h",
teravest54ee2252017-03-17 14:18:16345 "network/certificate_pattern.cc",
346 "network/certificate_pattern.h",
347 "network/client_cert_resolver.cc",
348 "network/client_cert_resolver.h",
349 "network/client_cert_util.cc",
350 "network/client_cert_util.h",
351 "network/device_state.cc",
352 "network/device_state.h",
Lily Houghton9844d322018-01-20 05:44:01353 "network/dhcp_pac_file_fetcher_chromeos.cc",
354 "network/dhcp_pac_file_fetcher_chromeos.h",
355 "network/dhcp_pac_file_fetcher_factory_chromeos.cc",
356 "network/dhcp_pac_file_fetcher_factory_chromeos.h",
teravest54ee2252017-03-17 14:18:16357 "network/firewall_hole.cc",
358 "network/firewall_hole.h",
359 "network/geolocation_handler.cc",
360 "network/geolocation_handler.h",
361 "network/host_resolver_impl_chromeos.cc",
362 "network/host_resolver_impl_chromeos.h",
363 "network/managed_network_configuration_handler.cc",
364 "network/managed_network_configuration_handler.h",
365 "network/managed_network_configuration_handler_impl.cc",
366 "network/managed_network_configuration_handler_impl.h",
367 "network/managed_state.cc",
368 "network/managed_state.h",
369 "network/network_activation_handler.cc",
370 "network/network_activation_handler.h",
371 "network/network_cert_migrator.cc",
372 "network/network_cert_migrator.h",
stevenjbbbb23b72017-05-25 23:04:48373 "network/network_certificate_handler.cc",
374 "network/network_certificate_handler.h",
teravest54ee2252017-03-17 14:18:16375 "network/network_change_notifier_chromeos.cc",
376 "network/network_change_notifier_chromeos.h",
377 "network/network_change_notifier_factory_chromeos.cc",
378 "network/network_change_notifier_factory_chromeos.h",
379 "network/network_configuration_handler.cc",
380 "network/network_configuration_handler.h",
381 "network/network_configuration_observer.h",
382 "network/network_connect.cc",
383 "network/network_connect.h",
384 "network/network_connection_handler.cc",
385 "network/network_connection_handler.h",
khorimotoa2ff31632017-05-04 01:20:24386 "network/network_connection_handler_impl.cc",
387 "network/network_connection_handler_impl.h",
teravest54ee2252017-03-17 14:18:16388 "network/network_connection_observer.cc",
389 "network/network_connection_observer.h",
390 "network/network_device_handler.cc",
391 "network/network_device_handler.h",
392 "network/network_device_handler_impl.cc",
393 "network/network_device_handler_impl.h",
394 "network/network_event_log.h",
395 "network/network_handler.cc",
396 "network/network_handler.h",
397 "network/network_handler_callbacks.cc",
398 "network/network_handler_callbacks.h",
399 "network/network_ip_config.cc",
400 "network/network_ip_config.h",
401 "network/network_profile.cc",
402 "network/network_profile.h",
403 "network/network_profile_handler.cc",
404 "network/network_profile_handler.h",
405 "network/network_profile_observer.h",
406 "network/network_sms_handler.cc",
407 "network/network_sms_handler.h",
408 "network/network_state.cc",
409 "network/network_state.h",
410 "network/network_state_handler.cc",
411 "network/network_state_handler.h",
412 "network/network_state_handler_observer.cc",
413 "network/network_state_handler_observer.h",
414 "network/network_type_pattern.cc",
415 "network/network_type_pattern.h",
416 "network/network_ui_data.cc",
417 "network/network_ui_data.h",
418 "network/network_util.cc",
419 "network/network_util.h",
420 "network/onc/onc_certificate_importer.h",
421 "network/onc/onc_certificate_importer_impl.cc",
422 "network/onc/onc_certificate_importer_impl.h",
423 "network/onc/onc_mapper.cc",
424 "network/onc/onc_mapper.h",
425 "network/onc/onc_merger.cc",
426 "network/onc/onc_merger.h",
427 "network/onc/onc_normalizer.cc",
428 "network/onc/onc_normalizer.h",
Pavol Markoa69b546a2018-02-06 18:11:57429 "network/onc/onc_parsed_certificates.cc",
430 "network/onc/onc_parsed_certificates.h",
teravest54ee2252017-03-17 14:18:16431 "network/onc/onc_signature.cc",
432 "network/onc/onc_signature.h",
433 "network/onc/onc_translation_tables.cc",
434 "network/onc/onc_translation_tables.h",
435 "network/onc/onc_translator.h",
436 "network/onc/onc_translator_onc_to_shill.cc",
437 "network/onc/onc_translator_shill_to_onc.cc",
438 "network/onc/onc_utils.cc",
439 "network/onc/onc_utils.h",
440 "network/onc/onc_validator.cc",
441 "network/onc/onc_validator.h",
442 "network/policy_applicator.cc",
443 "network/policy_applicator.h",
444 "network/policy_util.cc",
445 "network/policy_util.h",
446 "network/portal_detector/network_portal_detector.cc",
447 "network/portal_detector/network_portal_detector.h",
448 "network/portal_detector/network_portal_detector_strategy.cc",
449 "network/portal_detector/network_portal_detector_strategy.h",
450 "network/portal_detector/network_portal_detector_stub.cc",
451 "network/portal_detector/network_portal_detector_stub.h",
452 "network/prohibited_technologies_handler.cc",
453 "network/prohibited_technologies_handler.h",
454 "network/proxy/proxy_config_handler.cc",
455 "network/proxy/proxy_config_handler.h",
456 "network/proxy/proxy_config_service_impl.cc",
457 "network/proxy/proxy_config_service_impl.h",
458 "network/proxy/ui_proxy_config.cc",
459 "network/proxy/ui_proxy_config.h",
460 "network/proxy/ui_proxy_config_service.cc",
461 "network/proxy/ui_proxy_config_service.h",
462 "network/shill_property_handler.cc",
463 "network/shill_property_handler.h",
464 "network/shill_property_util.cc",
465 "network/shill_property_util.h",
khorimotoe8e89d52017-04-19 21:16:04466 "network/tether_constants.cc",
467 "network/tether_constants.h",
Pavol Marko3bab3afd2018-09-24 14:42:17468 "policy_certificate_provider.h",
teravest54ee2252017-03-17 14:18:16469 "printing/ppd_cache.cc",
470 "printing/ppd_cache.h",
Justin Carlson781f77e212017-11-15 22:32:31471 "printing/ppd_line_reader.cc",
472 "printing/ppd_line_reader.h",
teravest54ee2252017-03-17 14:18:16473 "printing/ppd_provider.cc",
474 "printing/ppd_provider.h",
475 "printing/printer_configuration.cc",
476 "printing/printer_configuration.h",
477 "printing/printer_translator.cc",
478 "printing/printer_translator.h",
David Valleau03e6fa6b2018-01-19 02:54:26479 "printing/uri_components.cc",
480 "printing/uri_components.h",
teravest54ee2252017-03-17 14:18:16481 "process_proxy/process_output_watcher.cc",
482 "process_proxy/process_output_watcher.h",
483 "process_proxy/process_proxy.cc",
484 "process_proxy/process_proxy.h",
485 "process_proxy/process_proxy_registry.cc",
486 "process_proxy/process_proxy_registry.h",
487 "settings/cros_settings_names.cc",
488 "settings/cros_settings_names.h",
489 "settings/cros_settings_provider.cc",
490 "settings/cros_settings_provider.h",
491 "settings/timezone_settings.cc",
492 "settings/timezone_settings.h",
493 "settings/timezone_settings_helper.cc",
494 "settings/timezone_settings_helper.h",
squea15eba142017-04-25 15:41:36495 "system/cpu_temperature_reader.cc",
496 "system/cpu_temperature_reader.h",
teravest54ee2252017-03-17 14:18:16497 "system/devicemode.cc",
498 "system/devicemode.h",
499 "system/devicetype.cc",
500 "system/devicetype.h",
Pavol Markoac1f5612018-05-19 21:44:59501 "system/factory_ping_embargo_check.cc",
502 "system/factory_ping_embargo_check.h",
teravest54ee2252017-03-17 14:18:16503
504 # Used when running mash, both on Linux and on real devices.
505 "system/fake_statistics_provider.cc",
506 "system/fake_statistics_provider.h",
507 "system/name_value_pairs_parser.cc",
508 "system/name_value_pairs_parser.h",
509 "system/statistics_provider.cc",
510 "system/statistics_provider.h",
teravest54ee2252017-03-17 14:18:16511 "timezone/timezone_provider.cc",
512 "timezone/timezone_provider.h",
513 "timezone/timezone_request.cc",
514 "timezone/timezone_request.h",
515 "timezone/timezone_resolver.cc",
516 "timezone/timezone_resolver.h",
Lutz Justen09c943a2018-04-13 01:49:19517 "tools/variable_expander.cc",
518 "tools/variable_expander.h",
teravest54ee2252017-03-17 14:18:16519 "tpm/tpm_password_fetcher.cc",
520 "tpm/tpm_password_fetcher.h",
521 "tpm/tpm_token_info_getter.cc",
522 "tpm/tpm_token_info_getter.h",
523 "tpm/tpm_token_loader.cc",
524 "tpm/tpm_token_loader.h",
525 ]
mukai6ba73552014-10-09 19:05:17526 defines = [ "CHROMEOS_IMPLEMENTATION" ]
agrievec50a6542016-06-09 03:44:09527 if (current_cpu == "arm" || current_cpu == "x86") {
hashimotoc5ffb8b2016-03-09 03:19:31528 defines += [ "BINDER_IPC_32BIT" ]
hashimotoaa1465a2015-12-11 06:19:59529 }
mukai6ba73552014-10-09 19:05:17530}
531
skau65455b5a02016-08-03 20:16:38532# This must be a static library instead of a source set because some of the
brettwc4e6a0f2015-08-27 18:28:32533# files pull in things with dependencies that aren't linked in all cases.
534#
535# TODO this should probably be changed such that it links in all cases and
536# can be converted to a source set.
Brett Wilson16eb70c2015-08-22 21:08:09537static_library("test_support") {
mukai6ba73552014-10-09 19:05:17538 testonly = true
agrieve95ba4442016-04-25 15:47:13539 configs += [ "//build/config/linux/dbus" ]
Brett Wilson817fec02015-08-22 20:36:49540 public_deps = [
drcrash7da3d8b2016-09-09 05:39:53541 ":attestation_proto",
xiaoyinh58676cf2017-05-08 20:21:31542 ":biod_proto",
mukai6ba73552014-10-09 19:05:17543 ":chromeos",
544 ":cryptohome_proto",
545 ":power_manager_proto",
oshima3f959fa82016-05-02 18:42:57546 ]
547 deps = [
mukai6ba73552014-10-09 19:05:17548 ":test_support_without_gmock",
Alexander Alekseev3f09a8f2018-05-03 02:52:10549 "//components/account_id",
oshima3f959fa82016-05-02 18:42:57550 "//dbus:test_support",
551 "//google_apis",
552 "//net:test_support",
Luum Habtemariamb30c8112018-06-25 21:51:22553 "//services/network:test_support",
Brett Wilson817fec02015-08-22 20:36:49554 "//testing/gmock",
oshima3f959fa82016-05-02 18:42:57555 "//testing/gtest",
mukai6ba73552014-10-09 19:05:17556 ]
557 sources = [
558 "attestation/mock_attestation_flow.cc",
559 "attestation/mock_attestation_flow.h",
560 "chromeos_test_utils.cc",
561 "chromeos_test_utils.h",
562 "cryptohome/mock_async_method_caller.cc",
563 "cryptohome/mock_async_method_caller.h",
564 "cryptohome/mock_homedir_methods.cc",
565 "cryptohome/mock_homedir_methods.h",
sammiequonb6dc62f52017-04-12 04:11:21566 "dbus/biod/test_utils.cc",
567 "dbus/biod/test_utils.h",
hashimoto1472afe2014-11-18 06:18:40568 "dbus/services/service_provider_test_helper.cc",
569 "dbus/services/service_provider_test_helper.h",
mukai6ba73552014-10-09 19:05:17570 "disks/mock_disk_mount_manager.cc",
571 "disks/mock_disk_mount_manager.h",
brettw6c1a7722015-01-06 08:34:24572 "login/auth/fake_extended_authenticator.cc",
573 "login/auth/fake_extended_authenticator.h",
mukai6ba73552014-10-09 19:05:17574 "login/auth/mock_auth_attempt_state_resolver.cc",
575 "login/auth/mock_auth_attempt_state_resolver.h",
576 "login/auth/mock_auth_status_consumer.cc",
577 "login/auth/mock_auth_status_consumer.h",
mukai6ba73552014-10-09 19:05:17578 "login/auth/mock_url_fetchers.cc",
579 "login/auth/mock_url_fetchers.h",
isandrk12962022017-05-04 15:27:33580 "login/scoped_test_public_session_login_state.cc",
581 "login/scoped_test_public_session_login_state.h",
mukai6ba73552014-10-09 19:05:17582 "network/fake_network_device_handler.cc",
583 "network/fake_network_device_handler.h",
584 "network/mock_managed_network_configuration_handler.cc",
585 "network/mock_managed_network_configuration_handler.h",
malaykeshav77a1ea02016-04-21 18:55:50586 "network/mock_network_device_handler.cc",
587 "network/mock_network_device_handler.h",
Alexander Hendrichb24296892018-08-01 08:18:15588 "network/mock_network_state_handler.cc",
589 "network/mock_network_state_handler.h",
khorimoto6c378ee2017-03-30 23:57:47590 "network/network_state_test.cc",
591 "network/network_state_test.h",
mukai6ba73552014-10-09 19:05:17592 "network/onc/onc_test_utils.cc",
593 "network/onc/onc_test_utils.h",
kumarniranjanf0973312017-05-20 00:00:34594 "network/portal_detector/mock_network_portal_detector.cc",
595 "network/portal_detector/mock_network_portal_detector.h",
mukai6ba73552014-10-09 19:05:17596 ]
597}
598
599static_library("test_support_without_gmock") {
600 testonly = true
agrieve95ba4442016-04-25 15:47:13601 configs += [ "//build/config/linux/dbus" ]
mukai6ba73552014-10-09 19:05:17602 deps = [
drcrash7da3d8b2016-09-09 05:39:53603 ":attestation_proto",
xiaoyinh58676cf2017-05-08 20:21:31604 ":biod_proto",
mukai6ba73552014-10-09 19:05:17605 ":chromeos",
606 ":cryptohome_proto",
khmel71bd29c2018-01-17 19:29:35607 ":login_manager_proto",
mukai6ba73552014-10-09 19:05:17608 ":power_manager_proto",
emaxx8aaab6c2017-03-07 14:57:33609 "//components/policy/proto",
agrieved7a71c882015-11-20 19:53:28610 "//crypto",
Sam McNallyf073a6f62018-06-13 02:17:24611 "//url",
mukai6ba73552014-10-09 19:05:17612 ]
613 sources = [
614 "dbus/fake_cros_disks_client.cc",
615 "dbus/fake_cros_disks_client.h",
Qijiang Fan0f3005f2018-01-24 08:53:49616
617 # TODO(crbug.com/799071) remove fake_session_manager_client and fix build rules.
mukai6ba73552014-10-09 19:05:17618 "dbus/fake_session_manager_client.cc",
619 "dbus/fake_session_manager_client.h",
620 "dbus/fake_shill_manager_client.cc",
621 "dbus/fake_shill_manager_client.h",
622 "dbus/fake_update_engine_client.cc",
623 "dbus/fake_update_engine_client.h",
mukai6ba73552014-10-09 19:05:17624 ]
625}
626
627test("chromeos_unittests") {
628 configs += [
agrieve95ba4442016-04-25 15:47:13629 "//build/config/linux/dbus",
Nico Weber2023256d2018-08-28 17:44:57630 "//build/config/linux/nss:system_nss_no_ssl_config",
mukai6ba73552014-10-09 19:05:17631 ]
632 deps = [
drcrash7da3d8b2016-09-09 05:39:53633 ":attestation_proto",
Roman Sorokin63c0c2162017-11-28 09:43:04634 ":authpolicy_proto",
xiaoyinh58676cf2017-05-08 20:21:31635 ":biod_proto",
agrieved7a71c882015-11-20 19:53:28636 ":cryptohome_proto",
Denis Kuznetsov046a611c2018-09-27 11:23:57637 ":oobe_config_proto",
agrieved7a71c882015-11-20 19:53:28638 ":power_manager_proto",
639 ":test_support",
Roman Sorokin94a94e32017-11-29 13:11:21640 ":test_support_without_gmock",
mukai6ba73552014-10-09 19:05:17641 "//base/test:test_support",
Kyle Horimoto940d7df2018-03-17 01:00:23642 "//chromeos/services:unit_tests",
Alexander Alekseev3f09a8f2018-05-03 02:52:10643 "//components/account_id",
mukai6ba73552014-10-09 19:05:17644 "//components/onc",
brettw9f7802a22016-01-30 06:40:17645 "//components/prefs:test_support",
stevenjb83368882015-07-10 20:51:45646 "//components/proxy_config",
mukai6ba73552014-10-09 19:05:17647 "//crypto",
648 "//crypto:test_support",
649 "//dbus:test_support",
650 "//google_apis",
jennyzfbaa3e62017-03-06 20:14:02651 "//media/base:video_facing",
Ken Rockotf03d97c952018-07-04 22:08:10652 "//mojo/core/embedder",
mukai6ba73552014-10-09 19:05:17653 "//net",
654 "//net:test_support",
Luum Habtemariamb30c8112018-06-25 21:51:22655 "//services/network:test_support",
Jay Civelli1ba115722018-07-16 17:41:01656 "//services/network/public/cpp",
mukai6ba73552014-10-09 19:05:17657 "//testing/gmock",
658 "//testing/gtest",
jshin77e507b2015-04-24 01:13:15659 "//third_party/icu",
mukai6ba73552014-10-09 19:05:17660 "//url",
mukai6ba73552014-10-09 19:05:17661 ]
teravest54ee2252017-03-17 14:18:16662 sources = [
Kush Sinha719fb1b2018-03-19 19:29:58663 "account_manager/account_manager_unittest.cc",
teravest54ee2252017-03-17 14:18:16664 "app_mode/kiosk_oem_manifest_parser_unittest.cc",
665 "attestation/attestation_flow_unittest.cc",
666 "audio/audio_devices_pref_handler_impl_unittest.cc",
667 "audio/cras_audio_handler_unittest.cc",
668 "cert_loader_unittest.cc",
Maajid1a0654a2018-01-23 07:49:49669 "cryptohome/cryptohome_util_unittest.cc",
teravest54ee2252017-03-17 14:18:16670 "cryptohome/system_salt_getter_unittest.cc",
sammiequon0958b7f2017-04-03 19:24:21671 "dbus/biod/biod_client_unittest.cc",
sammiequonb6dc62f52017-04-12 04:11:21672 "dbus/biod/fake_biod_client_unittest.cc",
teravest54ee2252017-03-17 14:18:16673 "dbus/blocking_method_caller_unittest.cc",
Felix Ekblom72e8e962018-05-11 07:16:20674 "dbus/cec_service_client_unittest.cc",
teravest54ee2252017-03-17 14:18:16675 "dbus/cras_audio_client_unittest.cc",
676 "dbus/cros_disks_client_unittest.cc",
677 "dbus/dbus_thread_manager_unittest.cc",
678 "dbus/fake_auth_policy_client_unittest.cc",
679 "dbus/fake_cryptohome_client_unittest.cc",
680 "dbus/fake_easy_unlock_client_unittest.cc",
681 "dbus/fake_power_manager_client_unittest.cc",
682 "dbus/gsm_sms_client_unittest.cc",
683 "dbus/modem_messaging_client_unittest.cc",
Denis Kuznetsov046a611c2018-09-27 11:23:57684 "dbus/oobe_configuration_client_unittest.cc",
Hidehiko Abe1ac7aa22017-10-30 20:35:19685 "dbus/pipe_reader_unittest.cc",
teravest54ee2252017-03-17 14:18:16686 "dbus/power_manager_client_unittest.cc",
687 "dbus/power_policy_controller_unittest.cc",
688 "dbus/services/cros_dbus_service_unittest.cc",
teravest54ee2252017-03-17 14:18:16689 "dbus/shill_client_unittest_base.cc",
690 "dbus/shill_client_unittest_base.h",
691 "dbus/shill_device_client_unittest.cc",
692 "dbus/shill_ipconfig_client_unittest.cc",
693 "dbus/shill_manager_client_unittest.cc",
694 "dbus/shill_profile_client_unittest.cc",
695 "dbus/shill_service_client_unittest.cc",
696 "dbus/shill_third_party_vpn_driver_client_unittest.cc",
Marton Hunyady1b8f9b72018-09-05 10:04:49697 "dbus/update_engine_client_unittest.cc",
Steven Bennettsa4fe4f72018-07-19 20:54:34698 "dbus/util/version_loader_unittest.cc",
teravest54ee2252017-03-17 14:18:16699 "disks/disk_mount_manager_unittest.cc",
Anand K. Mistry3a633db2018-08-07 06:52:32700 "disks/disk_unittest.cc",
teravest54ee2252017-03-17 14:18:16701 "disks/suspend_unmount_manager_unittest.cc",
702 "geolocation/simple_geolocation_unittest.cc",
Roman Sorokin94a94e32017-11-29 13:11:21703 "login/auth/authpolicy_login_helper_unittest.cc",
teravest54ee2252017-03-17 14:18:16704 "login/auth/key_unittest.cc",
705 "login/login_state_unittest.cc",
706 "network/auto_connect_handler_unittest.cc",
Steven Bennetts538486f2017-05-18 21:02:04707 "network/certificate_helper_unittest.cc",
teravest54ee2252017-03-17 14:18:16708 "network/client_cert_resolver_unittest.cc",
709 "network/firewall_hole_unittest.cc",
710 "network/geolocation_handler_unittest.cc",
711 "network/host_resolver_impl_chromeos_unittest.cc",
712 "network/managed_network_configuration_handler_unittest.cc",
713 "network/network_cert_migrator_unittest.cc",
714 "network/network_change_notifier_chromeos_unittest.cc",
715 "network/network_configuration_handler_unittest.cc",
716 "network/network_connect_unittest.cc",
khorimotoa2ff31632017-05-04 01:20:24717 "network/network_connection_handler_impl_unittest.cc",
teravest54ee2252017-03-17 14:18:16718 "network/network_device_handler_unittest.cc",
719 "network/network_sms_handler_unittest.cc",
720 "network/network_state_handler_unittest.cc",
721 "network/network_state_unittest.cc",
722 "network/network_type_pattern_unittest.cc",
723 "network/network_ui_data_unittest.cc",
724 "network/network_util_unittest.cc",
725 "network/onc/onc_certificate_importer_impl_unittest.cc",
726 "network/onc/onc_merger_unittest.cc",
727 "network/onc/onc_normalizer_unittest.cc",
Pavol Markoa69b546a2018-02-06 18:11:57728 "network/onc/onc_parsed_certificates_unittest.cc",
teravest54ee2252017-03-17 14:18:16729 "network/onc/onc_translator_unittest.cc",
730 "network/onc/onc_utils_unittest.cc",
731 "network/onc/onc_validator_unittest.cc",
732 "network/prohibited_technologies_handler_unittest.cc",
mmenke29e5a5d2017-06-21 21:35:37733 "network/proxy/proxy_config_service_impl_unittest.cc",
teravest54ee2252017-03-17 14:18:16734 "network/shill_property_handler_unittest.cc",
735 "printing/ppd_cache_unittest.cc",
Justin Carlson781f77e212017-11-15 22:32:31736 "printing/ppd_line_reader_unittest.cc",
teravest54ee2252017-03-17 14:18:16737 "printing/ppd_provider_unittest.cc",
Sean Kauff2bbe72018-05-23 01:05:02738 "printing/printer_configuration_unittest.cc",
teravest54ee2252017-03-17 14:18:16739 "printing/printer_translator_unittest.cc",
740 "process_proxy/process_output_watcher_unittest.cc",
741 "process_proxy/process_proxy_unittest.cc",
Kyle Horimoto940d7df2018-03-17 01:00:23742 "run_all_unittests.cc",
teravest54ee2252017-03-17 14:18:16743 "settings/timezone_settings_unittest.cc",
squea15eba142017-04-25 15:41:36744 "system/cpu_temperature_reader_unittest.cc",
Pavol Markoac1f5612018-05-19 21:44:59745 "system/factory_ping_embargo_check_unittest.cc",
teravest54ee2252017-03-17 14:18:16746 "system/name_value_pairs_parser_unittest.cc",
teravest54ee2252017-03-17 14:18:16747 "timezone/timezone_unittest.cc",
Lutz Justen09c943a2018-04-13 01:49:19748 "tools/variable_expander_unittest.cc",
teravest54ee2252017-03-17 14:18:16749 "tpm/tpm_token_info_getter_unittest.cc",
750 ]
dpranke94c6fb22016-06-10 01:55:08751
752 data = [
753 "test/data/",
dpranke94c6fb22016-06-10 01:55:08754 ]
mukai6ba73552014-10-09 19:05:17755}
756
Ben Pastene70ce32d22018-09-10 22:30:52757# The following definitions only apply when building for a CrOS board (ie: not
758# linux-chromeos). See the following for reference:
759# https://chromium.googlesource.com/chromium/src/+/master/docs/chromeos_build_instructions.md
760# https://chromium.googlesource.com/chromiumos/docs/+/master/simple_chrome_workflow.md
761if (is_chromeos_chrome) {
Ben Pastenec1543c22018-05-04 23:39:43762 generate_vm_runner_script("cros_vm_launcher") {
763 generated_script = "$root_build_dir/bin/launch_cros_vm"
Ben Pastene22d25c82018-08-06 20:18:34764
765 # Assume every time we build cros_vm_launcher, we also build chrome and
766 # want to deploy it to the VM.
767 deploy_chrome = true
Ben Pastenec1543c22018-05-04 23:39:43768 }
Ben Pastene9ec70f92018-05-14 21:09:22769
770 # The sanity test's actual binary is baked into the vm image. All we need to
771 # do is build the test wrapper and build our own browser to push to the VM
772 # before testing it.
Ben Pastene16882032018-09-21 01:16:39773 generate_vm_runner_script("cros_vm_sanity_test") {
774 testonly = true
775 test_exe = "cros_vm_sanity_test"
Ben Pastene9ec70f92018-05-14 21:09:22776 generated_script = "$root_build_dir/bin/run_cros_vm_sanity_test"
Ben Pastened09dd692018-09-21 18:58:10777 runtime_deps_file = "$root_out_dir/cros_vm_sanity_test.runtime_deps"
Ben Pastene9ec70f92018-05-14 21:09:22778
Ben Pastene16882032018-09-21 01:16:39779 data_deps = [
780 ":cros_chrome_deploy",
781 "//:chromiumos_preflight", # Builds the browser.
782 ]
Ben Pastene9ec70f92018-05-14 21:09:22783 }
Ben Pastene2bc796b2018-08-03 03:02:00784
785 group("cros_chrome_deploy") {
786 # The following run-time dependencies are needed to deploy chrome to a
787 # ChromeOS device. See the link for the full list:
788 # https://codesearch.chromium.org/chromium/src/third_party/chromite/lib/chrome_util.py?l=341
789 # Most of these are copy targets, for which GN doesn't add their outputs
790 # as runtime-deps. See the link below for more details:
791 # https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/reference.md#actions-and-copies
792 data_deps = [
793 "//chrome:xdg_mime",
794 "//mojo/core:shared_library_arc32",
795 "//mojo/core:shared_library_arc64",
796 ]
797
798 # TODO(bpastene): Figure out what's generating resources/chromeos/ and
799 # declare it as a dep instead of adding the dir directly.
800 data = [
801 "$root_out_dir/resources/chromeos/",
802 ]
803 }
Ben Pastenec60bf5022018-05-04 01:10:33804}
805
Lutz Justen09c943a2018-04-13 01:49:19806fuzzer_test("variable_expander_fuzzer") {
807 sources = [
808 "tools/variable_expander_fuzzer.cc",
809 ]
810 seed_corpus = "//chromeos/test/data/variable_expander/fuzzer_corpus"
811 dict = "//chromeos/test/data/variable_expander/fuzzer.dict"
812 deps = [
813 ":chromeos",
814 "//base/test:test_support",
815 ]
816}
817
[email protected]743530f2014-06-12 19:38:50818proto_library("power_manager_proto") {
819 sources = [
Daniel Erat0f6c6242018-03-09 18:24:14820 "//third_party/cros_system_api/dbus/power_manager/backlight.proto",
Daniel Erat05f8e5c2017-10-30 22:41:45821 "//third_party/cros_system_api/dbus/power_manager/idle.proto",
[email protected]743530f2014-06-12 19:38:50822 "//third_party/cros_system_api/dbus/power_manager/input_event.proto",
823 "//third_party/cros_system_api/dbus/power_manager/peripheral_battery_status.proto",
824 "//third_party/cros_system_api/dbus/power_manager/policy.proto",
825 "//third_party/cros_system_api/dbus/power_manager/power_supply_properties.proto",
826 "//third_party/cros_system_api/dbus/power_manager/suspend.proto",
derat08e333d2017-03-21 21:51:22827 "//third_party/cros_system_api/dbus/power_manager/switch_states.proto",
[email protected]743530f2014-06-12 19:38:50828 ]
mukai6ba73552014-10-09 19:05:17829
830 proto_out_dir = "chromeos/dbus/power_manager"
831}
832
Luigi Semenzatoa179f272018-09-07 21:06:41833proto_library("metrics_event_proto") {
834 sources = [
835 "//third_party/cros_system_api/dbus/metrics_event/metrics_event.proto",
836 ]
837
838 proto_out_dir = "chromeos/dbus/metrics_event"
839}
840
drcrash7da3d8b2016-09-09 05:39:53841proto_library("attestation_proto") {
842 sources = [
843 "dbus/proto/attestation.proto",
844 ]
845
Steven Bennetts149a15b2018-07-19 17:33:36846 proto_out_dir = "chromeos/dbus/attestation"
[email protected]743530f2014-06-12 19:38:50847}
rsorokinfc75ccee2017-02-10 13:16:43848
849proto_library("authpolicy_proto") {
850 sources = [
rsorokin01014b72017-04-28 12:26:29851 "//third_party/cros_system_api/dbus/authpolicy/active_directory_info.proto",
rsorokinfc75ccee2017-02-10 13:16:43852 ]
853
854 proto_out_dir = "chromeos/dbus/authpolicy"
855}
xiaoyinh58676cf2017-05-08 20:21:31856
857proto_library("biod_proto") {
858 sources = [
859 "//third_party/cros_system_api/dbus/biod/constants.proto",
860 "//third_party/cros_system_api/dbus/biod/messages.proto",
861 ]
862
863 proto_out_dir = "chromeos/dbus/biod"
864}
lasorenf933419f2017-05-15 19:37:45865
Jeffrey Kardatzkea3f86c4c2018-05-31 18:34:07866proto_library("cicerone_proto") {
867 sources = [
868 "//third_party/cros_system_api/dbus/vm_cicerone/cicerone_service.proto",
869 ]
870
871 proto_out_dir = "chromeos/dbus/cicerone"
872}
873
Renee Wright0e1449f2018-03-28 00:21:40874proto_library("concierge_proto") {
875 sources = [
876 "//third_party/cros_system_api/dbus/vm_concierge/service.proto",
877 ]
878
879 proto_out_dir = "chromeos/dbus/concierge"
880}
Timothy Loh71d654412018-04-04 05:30:05881
Steven Bennetts149a15b2018-07-19 17:33:36882proto_library("cryptohome_proto") {
883 sources = [
884 "//third_party/cros_system_api/dbus/cryptohome/key.proto",
885 "//third_party/cros_system_api/dbus/cryptohome/rpc.proto",
886 ]
887
888 proto_out_dir = "chromeos/dbus/cryptohome"
889}
890
891proto_library("cryptohome_signkey_proto") {
892 sources = [
893 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto",
894 ]
895
896 proto_out_dir = "chromeos/dbus/cryptohome"
897}
898
899proto_library("login_manager_proto") {
900 sources = [
901 "//third_party/cros_system_api/dbus/login_manager/arc.proto",
902 "//third_party/cros_system_api/dbus/login_manager/policy_descriptor.proto",
903 ]
904
905 proto_out_dir = "chromeos/dbus/login_manager"
906}
907
908proto_library("media_perception_proto") {
909 sources = [
910 "dbus/proto/media_perception.proto",
911 ]
912
913 proto_out_dir = "chromeos/dbus/media_perception"
914}
915
Denis Kuznetsov046a611c2018-09-27 11:23:57916proto_library("oobe_config_proto") {
917 sources = [
918 "//third_party/cros_system_api/dbus/oobe_config/oobe_config.proto",
919 ]
920
921 proto_out_dir = "chromeos/dbus/oobe_config"
922}
923
Joel Hockeyb797d182018-09-01 10:48:53924proto_library("seneschal_proto") {
925 sources = [
926 "//third_party/cros_system_api/dbus/seneschal/seneschal_service.proto",
927 ]
928
929 proto_out_dir = "chromeos/dbus/seneschal"
930}
931
Steven Bennetts149a15b2018-07-19 17:33:36932proto_library("smbprovider_proto") {
933 sources = [
934 "//third_party/cros_system_api/dbus/smbprovider/directory_entry.proto",
935 ]
936
937 proto_out_dir = "chromeos/dbus/smbprovider"
938}
939
Timothy Loh71d654412018-04-04 05:30:05940proto_library("vm_applications_apps_proto") {
941 sources = [
942 "//third_party/cros_system_api/dbus/vm_applications/apps.proto",
943 ]
944
945 proto_out_dir = "chromeos/dbus/vm_applications"
946}
Steven Bennetts149a15b2018-07-19 17:33:36947
948proto_library("account_manager_proto") {
949 sources = [
950 "account_manager/tokens.proto",
951 ]
952
953 proto_out_dir = "chromeos/account_manager"
954}