blob: f90144db11bd41d83bc9a802cd4fa2b665392d64 [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",
agrieved7a71c882015-11-20 19:53:2829 ":power_manager_proto",
Joel Hockeyb797d182018-09-01 10:48:5330 ":seneschal_proto",
Allen Vicencio02457102017-11-28 01:20:2031 ":smbprovider_proto",
Timothy Loh71d654412018-04-04 05:30:0532 ":vm_applications_apps_proto",
mukai6ba73552014-10-09 19:05:1733 "//base",
Nico Webera3d0a422015-01-20 21:46:2134 "//base:i18n",
mukai6ba73552014-10-09 19:05:1735 "//base/third_party/dynamic_annotations",
Alexander Alekseev3f09a8f2018-05-03 02:52:1036 "//components/account_id",
reillyg4a849272015-02-20 21:38:4337 "//components/device_event_log",
mukai6ba73552014-10-09 19:05:1738 "//components/onc",
Vaclav Brozek87ea66b2018-06-12 11:09:4739 "//components/password_manager/core/browser:password_hash_data",
tnagel51accc42016-12-28 12:00:5840 "//components/policy:cloud_policy_proto_generated_compile",
agrieved7a71c882015-11-20 19:53:2841 "//components/policy/proto",
stevenjb100c6202016-10-28 02:28:0042 "//components/pref_registry",
brettw9f7802a22016-01-30 06:40:1743 "//components/prefs",
stevenjb83368882015-07-10 20:51:4544 "//components/proxy_config",
stevenjbffe695c2017-01-10 21:35:5145 "//components/url_formatter",
alemate627f6532016-03-04 10:39:5446 "//components/user_manager",
nkostylev8d7d18d2015-01-28 11:25:0847 "//crypto:platform",
mukai6ba73552014-10-09 19:05:1748 "//google_apis",
shenghao77ec80c2017-02-22 20:14:1849 "//media/base:video_facing",
oshima3f959fa82016-05-02 18:42:5750 "//net",
Luum Habtemariamb30c8112018-06-25 21:51:2251 "//services/network/public/cpp:cpp",
stevenjb100c6202016-10-28 02:28:0052 "//skia", # For components/user_manager
mukai6ba73552014-10-09 19:05:1753 "//third_party/icu",
mukai6ba73552014-10-09 19:05:1754 "//third_party/protobuf:protobuf_lite",
James Cooka7478252018-02-23 23:03:1155 "//ui/gfx/geometry", # For accelerometer.
mukai6ba73552014-10-09 19:05:1756 "//url",
mukai6ba73552014-10-09 19:05:1757 ]
teravest54ee2252017-03-17 14:18:1658 sources = [
59 "accelerometer/accelerometer_reader.cc",
60 "accelerometer/accelerometer_reader.h",
61 "accelerometer/accelerometer_types.cc",
62 "accelerometer/accelerometer_types.h",
Kush Sinha719fb1b2018-03-19 19:29:5863 "account_manager/account_manager.cc",
64 "account_manager/account_manager.h",
Kush Sinha74c38a02018-04-16 23:53:4465 "account_manager/account_manager_factory.cc",
66 "account_manager/account_manager_factory.h",
teravest54ee2252017-03-17 14:18:1667 "app_mode/kiosk_oem_manifest_parser.cc",
68 "app_mode/kiosk_oem_manifest_parser.h",
teravest54ee2252017-03-17 14:18:1669 "attestation/attestation_flow.cc",
70 "attestation/attestation_flow.h",
teravest54ee2252017-03-17 14:18:1671 "audio/audio_device.cc",
72 "audio/audio_device.h",
73 "audio/audio_devices_pref_handler.h",
74 "audio/audio_devices_pref_handler_impl.cc",
75 "audio/audio_devices_pref_handler_impl.h",
76 "audio/audio_devices_pref_handler_stub.cc",
77 "audio/audio_devices_pref_handler_stub.h",
78 "audio/audio_pref_observer.h",
79 "audio/chromeos_sounds.h",
80 "audio/cras_audio_handler.cc",
81 "audio/cras_audio_handler.h",
teravest54ee2252017-03-17 14:18:1682 "cert_loader.cc",
83 "cert_loader.h",
84 "chromeos_constants.cc",
85 "chromeos_constants.h",
86 "chromeos_export.h",
Kyle Horimotoa3da6ab2018-04-27 19:39:5487 "chromeos_features.cc",
88 "chromeos_features.h",
teravest54ee2252017-03-17 14:18:1689 "chromeos_paths.cc",
90 "chromeos_paths.h",
91 "chromeos_pref_names.cc",
92 "chromeos_pref_names.h",
93 "chromeos_switches.cc",
94 "chromeos_switches.h",
95 "cryptohome/async_method_caller.cc",
96 "cryptohome/async_method_caller.h",
97 "cryptohome/cryptohome_parameters.cc",
98 "cryptohome/cryptohome_parameters.h",
Maajid75b8ee42017-12-25 05:42:4099 "cryptohome/cryptohome_util.cc",
100 "cryptohome/cryptohome_util.h",
teravest54ee2252017-03-17 14:18:16101 "cryptohome/homedir_methods.cc",
102 "cryptohome/homedir_methods.h",
103 "cryptohome/system_salt_getter.cc",
104 "cryptohome/system_salt_getter.h",
Ryo Hashimoto17fddd2e2018-05-10 05:46:45105 "dbus/arc_appfuse_provider_client.cc",
106 "dbus/arc_appfuse_provider_client.h",
Prashant Malani1025c4772017-08-24 20:22:30107 "dbus/arc_midis_client.cc",
108 "dbus/arc_midis_client.h",
teravest54ee2252017-03-17 14:18:16109 "dbus/arc_obb_mounter_client.cc",
110 "dbus/arc_obb_mounter_client.h",
Jeffrey Kardatzke49054cb72017-08-11 17:45:56111 "dbus/arc_oemcrypto_client.cc",
112 "dbus/arc_oemcrypto_client.h",
Steven Bennetts149a15b2018-07-19 17:33:36113 "dbus/attestation_constants.cc",
114 "dbus/attestation_constants.h",
teravest54ee2252017-03-17 14:18:16115 "dbus/audio_node.cc",
116 "dbus/audio_node.h",
117 "dbus/auth_policy_client.cc",
118 "dbus/auth_policy_client.h",
sammiequon0958b7f2017-04-03 19:24:21119 "dbus/biod/biod_client.cc",
120 "dbus/biod/biod_client.h",
sammiequon86bf7842017-04-05 22:47:03121 "dbus/biod/fake_biod_client.cc",
122 "dbus/biod/fake_biod_client.h",
teravest54ee2252017-03-17 14:18:16123 "dbus/blocking_method_caller.cc",
124 "dbus/blocking_method_caller.h",
Felix Ekblombba090e2018-04-19 09:38:43125 "dbus/cec_service_client.cc",
126 "dbus/cec_service_client.h",
Jeffrey Kardatzkea3f86c4c2018-05-31 18:34:07127 "dbus/cicerone_client.cc",
128 "dbus/cicerone_client.h",
Renee Wright0e1449f2018-03-28 00:21:40129 "dbus/concierge_client.cc",
130 "dbus/concierge_client.h",
teravest54ee2252017-03-17 14:18:16131 "dbus/cras_audio_client.cc",
132 "dbus/cras_audio_client.h",
133 "dbus/cros_disks_client.cc",
134 "dbus/cros_disks_client.h",
135 "dbus/cryptohome_client.cc",
136 "dbus/cryptohome_client.h",
137 "dbus/dbus_client_implementation_type.h",
138 "dbus/dbus_clients_browser.cc",
139 "dbus/dbus_clients_browser.h",
140 "dbus/dbus_clients_common.cc",
141 "dbus/dbus_clients_common.h",
142 "dbus/dbus_method_call_status.cc",
143 "dbus/dbus_method_call_status.h",
Steven Bennetts11227062018-07-19 15:49:57144 "dbus/dbus_switches.cc",
145 "dbus/dbus_switches.h",
teravest54ee2252017-03-17 14:18:16146 "dbus/dbus_thread_manager.cc",
147 "dbus/dbus_thread_manager.h",
148 "dbus/debug_daemon_client.cc",
149 "dbus/debug_daemon_client.h",
150 "dbus/easy_unlock_client.cc",
151 "dbus/easy_unlock_client.h",
Ryo Hashimoto17fddd2e2018-05-10 05:46:45152 "dbus/fake_arc_appfuse_provider_client.cc",
153 "dbus/fake_arc_appfuse_provider_client.h",
Prashant Malani1025c4772017-08-24 20:22:30154 "dbus/fake_arc_midis_client.cc",
155 "dbus/fake_arc_midis_client.h",
teravest54ee2252017-03-17 14:18:16156 "dbus/fake_arc_obb_mounter_client.cc",
157 "dbus/fake_arc_obb_mounter_client.h",
Jeffrey Kardatzke49054cb72017-08-11 17:45:56158 "dbus/fake_arc_oemcrypto_client.cc",
159 "dbus/fake_arc_oemcrypto_client.h",
teravest54ee2252017-03-17 14:18:16160 "dbus/fake_auth_policy_client.cc",
161 "dbus/fake_auth_policy_client.h",
Felix Ekblombba090e2018-04-19 09:38:43162 "dbus/fake_cec_service_client.cc",
163 "dbus/fake_cec_service_client.h",
Jeffrey Kardatzkea3f86c4c2018-05-31 18:34:07164 "dbus/fake_cicerone_client.cc",
165 "dbus/fake_cicerone_client.h",
Renee Wright0e1449f2018-03-28 00:21:40166 "dbus/fake_concierge_client.cc",
167 "dbus/fake_concierge_client.h",
teravest54ee2252017-03-17 14:18:16168 "dbus/fake_cras_audio_client.cc",
169 "dbus/fake_cras_audio_client.h",
170 "dbus/fake_cros_disks_client.cc",
171 "dbus/fake_cros_disks_client.h",
172 "dbus/fake_cryptohome_client.cc",
173 "dbus/fake_cryptohome_client.h",
174 "dbus/fake_debug_daemon_client.cc",
175 "dbus/fake_debug_daemon_client.h",
176 "dbus/fake_easy_unlock_client.cc",
177 "dbus/fake_easy_unlock_client.h",
178 "dbus/fake_gsm_sms_client.cc",
179 "dbus/fake_gsm_sms_client.h",
Toni Barzice5b1f572018-02-28 01:29:26180 "dbus/fake_hammerd_client.cc",
181 "dbus/fake_hammerd_client.h",
teravest54ee2252017-03-17 14:18:16182 "dbus/fake_image_burner_client.cc",
183 "dbus/fake_image_burner_client.h",
184 "dbus/fake_image_loader_client.cc",
185 "dbus/fake_image_loader_client.h",
186 "dbus/fake_lorgnette_manager_client.cc",
187 "dbus/fake_lorgnette_manager_client.h",
Andrew Moylan5ced6002018-07-16 01:24:09188 "dbus/fake_machine_learning_client.cc",
189 "dbus/fake_machine_learning_client.h",
lasorenf933419f2017-05-15 19:37:45190 "dbus/fake_media_analytics_client.cc",
191 "dbus/fake_media_analytics_client.h",
teravest54ee2252017-03-17 14:18:16192 "dbus/fake_modem_messaging_client.cc",
193 "dbus/fake_modem_messaging_client.h",
Denis Kuznetsov41c67ab2018-08-22 11:41:25194 "dbus/fake_oobe_configuration_client.cc",
195 "dbus/fake_oobe_configuration_client.h",
teravest54ee2252017-03-17 14:18:16196 "dbus/fake_permission_broker_client.cc",
197 "dbus/fake_permission_broker_client.h",
198 "dbus/fake_power_manager_client.cc",
199 "dbus/fake_power_manager_client.h",
Joel Hockeyb797d182018-09-01 10:48:53200 "dbus/fake_seneschal_client.cc",
201 "dbus/fake_seneschal_client.h",
Qijiang Fan0f3005f2018-01-24 08:53:49202 "dbus/fake_session_manager_client.cc",
203 "dbus/fake_session_manager_client.h",
teravest54ee2252017-03-17 14:18:16204 "dbus/fake_shill_device_client.cc",
205 "dbus/fake_shill_device_client.h",
206 "dbus/fake_shill_ipconfig_client.cc",
207 "dbus/fake_shill_ipconfig_client.h",
208 "dbus/fake_shill_manager_client.cc",
209 "dbus/fake_shill_manager_client.h",
210 "dbus/fake_shill_profile_client.cc",
211 "dbus/fake_shill_profile_client.h",
212 "dbus/fake_shill_service_client.cc",
213 "dbus/fake_shill_service_client.h",
214 "dbus/fake_shill_third_party_vpn_driver_client.cc",
215 "dbus/fake_shill_third_party_vpn_driver_client.h",
Allen Vicencio02457102017-11-28 01:20:20216 "dbus/fake_smb_provider_client.cc",
217 "dbus/fake_smb_provider_client.h",
teravest54ee2252017-03-17 14:18:16218 "dbus/fake_sms_client.cc",
219 "dbus/fake_sms_client.h",
220 "dbus/fake_system_clock_client.cc",
221 "dbus/fake_system_clock_client.h",
222 "dbus/fake_upstart_client.cc",
223 "dbus/fake_upstart_client.h",
Ryo Hashimoto44c140b2017-09-13 05:10:08224 "dbus/fake_virtual_file_provider_client.cc",
225 "dbus/fake_virtual_file_provider_client.h",
teravest54ee2252017-03-17 14:18:16226 "dbus/gsm_sms_client.cc",
227 "dbus/gsm_sms_client.h",
Toni Barzice5b1f572018-02-28 01:29:26228 "dbus/hammerd_client.cc",
229 "dbus/hammerd_client.h",
teravest54ee2252017-03-17 14:18:16230 "dbus/image_burner_client.cc",
231 "dbus/image_burner_client.h",
232 "dbus/image_loader_client.cc",
233 "dbus/image_loader_client.h",
234 "dbus/lorgnette_manager_client.cc",
235 "dbus/lorgnette_manager_client.h",
Andrew Moylan5ced6002018-07-16 01:24:09236 "dbus/machine_learning_client.cc",
237 "dbus/machine_learning_client.h",
lasorenf933419f2017-05-15 19:37:45238 "dbus/media_analytics_client.cc",
239 "dbus/media_analytics_client.h",
teravest54ee2252017-03-17 14:18:16240 "dbus/modem_messaging_client.cc",
241 "dbus/modem_messaging_client.h",
Denis Kuznetsov41c67ab2018-08-22 11:41:25242 "dbus/oobe_configuration_client.cc",
243 "dbus/oobe_configuration_client.h",
teravest54ee2252017-03-17 14:18:16244 "dbus/permission_broker_client.cc",
245 "dbus/permission_broker_client.h",
246 "dbus/pipe_reader.cc",
247 "dbus/pipe_reader.h",
248 "dbus/power_manager_client.cc",
249 "dbus/power_manager_client.h",
250 "dbus/power_policy_controller.cc",
251 "dbus/power_policy_controller.h",
Joel Hockeyb797d182018-09-01 10:48:53252 "dbus/seneschal_client.cc",
253 "dbus/seneschal_client.h",
teravest54ee2252017-03-17 14:18:16254 "dbus/services/cros_dbus_service.cc",
255 "dbus/services/cros_dbus_service.h",
teravest54ee2252017-03-17 14:18:16256 "dbus/session_manager_client.cc",
257 "dbus/session_manager_client.h",
258 "dbus/shill_client_helper.cc",
259 "dbus/shill_client_helper.h",
260 "dbus/shill_device_client.cc",
261 "dbus/shill_device_client.h",
262 "dbus/shill_ipconfig_client.cc",
263 "dbus/shill_ipconfig_client.h",
264 "dbus/shill_manager_client.cc",
265 "dbus/shill_manager_client.h",
266 "dbus/shill_profile_client.cc",
267 "dbus/shill_profile_client.h",
268 "dbus/shill_service_client.cc",
269 "dbus/shill_service_client.h",
270 "dbus/shill_third_party_vpn_driver_client.cc",
271 "dbus/shill_third_party_vpn_driver_client.h",
Allen Vicencio02457102017-11-28 01:20:20272 "dbus/smb_provider_client.cc",
273 "dbus/smb_provider_client.h",
teravest54ee2252017-03-17 14:18:16274 "dbus/sms_client.cc",
275 "dbus/sms_client.h",
276 "dbus/system_clock_client.cc",
277 "dbus/system_clock_client.h",
278 "dbus/update_engine_client.cc",
279 "dbus/update_engine_client.h",
280 "dbus/upstart_client.cc",
281 "dbus/upstart_client.h",
Ryo Hashimoto386e7282018-07-31 09:11:16282 "dbus/util/account_identifier_operators.cc",
283 "dbus/util/account_identifier_operators.h",
Steven Bennetts642db782018-07-19 20:48:19284 "dbus/util/tpm_util.cc",
285 "dbus/util/tpm_util.h",
Steven Bennettsa4fe4f72018-07-19 20:54:34286 "dbus/util/version_loader.cc",
287 "dbus/util/version_loader.h",
Ryo Hashimoto44c140b2017-09-13 05:10:08288 "dbus/virtual_file_provider_client.cc",
289 "dbus/virtual_file_provider_client.h",
teravest54ee2252017-03-17 14:18:16290 "dbus/volume_state.cc",
291 "dbus/volume_state.h",
Anand K. Mistry6039ab02018-08-07 03:21:34292 "disks/disk.cc",
293 "disks/disk.h",
teravest54ee2252017-03-17 14:18:16294 "disks/disk_mount_manager.cc",
295 "disks/disk_mount_manager.h",
296 "disks/suspend_unmount_manager.cc",
297 "disks/suspend_unmount_manager.h",
298 "geolocation/geoposition.cc",
299 "geolocation/geoposition.h",
300 "geolocation/simple_geolocation_provider.cc",
301 "geolocation/simple_geolocation_provider.h",
302 "geolocation/simple_geolocation_request.cc",
303 "geolocation/simple_geolocation_request.h",
304 "geolocation/simple_geolocation_request_test_monitor.cc",
305 "geolocation/simple_geolocation_request_test_monitor.h",
306 "hugepage_text/hugepage_text.cc",
307 "hugepage_text/hugepage_text.h",
308 "login/auth/auth_attempt_state.cc",
309 "login/auth/auth_attempt_state.h",
310 "login/auth/auth_attempt_state_resolver.cc",
311 "login/auth/auth_attempt_state_resolver.h",
312 "login/auth/auth_status_consumer.cc",
313 "login/auth/auth_status_consumer.h",
314 "login/auth/authenticator.cc",
315 "login/auth/authenticator.h",
rsorokind8c46c12017-04-11 08:43:19316 "login/auth/authpolicy_login_helper.cc",
317 "login/auth/authpolicy_login_helper.h",
Maksim Ivanov266cee12018-04-11 04:07:31318 "login/auth/challenge_response_key.cc",
319 "login/auth/challenge_response_key.h",
teravest54ee2252017-03-17 14:18:16320 "login/auth/cryptohome_authenticator.cc",
321 "login/auth/cryptohome_authenticator.h",
322 "login/auth/extended_authenticator.cc",
323 "login/auth/extended_authenticator.h",
324 "login/auth/extended_authenticator_impl.cc",
325 "login/auth/extended_authenticator_impl.h",
326 "login/auth/key.cc",
327 "login/auth/key.h",
328 "login/auth/login_performer.cc",
329 "login/auth/login_performer.h",
330 "login/auth/stub_authenticator.cc",
331 "login/auth/stub_authenticator.h",
332 "login/auth/test_attempt_state.cc",
333 "login/auth/test_attempt_state.h",
334 "login/auth/user_context.cc",
335 "login/auth/user_context.h",
336 "login/login_state.cc",
337 "login/login_state.h",
338 "login_event_recorder.cc",
339 "login_event_recorder.h",
340 "network/auto_connect_handler.cc",
341 "network/auto_connect_handler.h",
Steven Bennetts538486f2017-05-18 21:02:04342 "network/certificate_helper.cc",
343 "network/certificate_helper.h",
teravest54ee2252017-03-17 14:18:16344 "network/certificate_pattern.cc",
345 "network/certificate_pattern.h",
346 "network/client_cert_resolver.cc",
347 "network/client_cert_resolver.h",
348 "network/client_cert_util.cc",
349 "network/client_cert_util.h",
350 "network/device_state.cc",
351 "network/device_state.h",
Lily Houghton9844d322018-01-20 05:44:01352 "network/dhcp_pac_file_fetcher_chromeos.cc",
353 "network/dhcp_pac_file_fetcher_chromeos.h",
354 "network/dhcp_pac_file_fetcher_factory_chromeos.cc",
355 "network/dhcp_pac_file_fetcher_factory_chromeos.h",
teravest54ee2252017-03-17 14:18:16356 "network/firewall_hole.cc",
357 "network/firewall_hole.h",
358 "network/geolocation_handler.cc",
359 "network/geolocation_handler.h",
360 "network/host_resolver_impl_chromeos.cc",
361 "network/host_resolver_impl_chromeos.h",
362 "network/managed_network_configuration_handler.cc",
363 "network/managed_network_configuration_handler.h",
364 "network/managed_network_configuration_handler_impl.cc",
365 "network/managed_network_configuration_handler_impl.h",
366 "network/managed_state.cc",
367 "network/managed_state.h",
368 "network/network_activation_handler.cc",
369 "network/network_activation_handler.h",
370 "network/network_cert_migrator.cc",
371 "network/network_cert_migrator.h",
stevenjbbbb23b72017-05-25 23:04:48372 "network/network_certificate_handler.cc",
373 "network/network_certificate_handler.h",
teravest54ee2252017-03-17 14:18:16374 "network/network_change_notifier_chromeos.cc",
375 "network/network_change_notifier_chromeos.h",
376 "network/network_change_notifier_factory_chromeos.cc",
377 "network/network_change_notifier_factory_chromeos.h",
378 "network/network_configuration_handler.cc",
379 "network/network_configuration_handler.h",
380 "network/network_configuration_observer.h",
381 "network/network_connect.cc",
382 "network/network_connect.h",
383 "network/network_connection_handler.cc",
384 "network/network_connection_handler.h",
khorimotoa2ff31632017-05-04 01:20:24385 "network/network_connection_handler_impl.cc",
386 "network/network_connection_handler_impl.h",
teravest54ee2252017-03-17 14:18:16387 "network/network_connection_observer.cc",
388 "network/network_connection_observer.h",
389 "network/network_device_handler.cc",
390 "network/network_device_handler.h",
391 "network/network_device_handler_impl.cc",
392 "network/network_device_handler_impl.h",
393 "network/network_event_log.h",
394 "network/network_handler.cc",
395 "network/network_handler.h",
396 "network/network_handler_callbacks.cc",
397 "network/network_handler_callbacks.h",
398 "network/network_ip_config.cc",
399 "network/network_ip_config.h",
400 "network/network_profile.cc",
401 "network/network_profile.h",
402 "network/network_profile_handler.cc",
403 "network/network_profile_handler.h",
404 "network/network_profile_observer.h",
405 "network/network_sms_handler.cc",
406 "network/network_sms_handler.h",
407 "network/network_state.cc",
408 "network/network_state.h",
409 "network/network_state_handler.cc",
410 "network/network_state_handler.h",
411 "network/network_state_handler_observer.cc",
412 "network/network_state_handler_observer.h",
413 "network/network_type_pattern.cc",
414 "network/network_type_pattern.h",
415 "network/network_ui_data.cc",
416 "network/network_ui_data.h",
417 "network/network_util.cc",
418 "network/network_util.h",
419 "network/onc/onc_certificate_importer.h",
420 "network/onc/onc_certificate_importer_impl.cc",
421 "network/onc/onc_certificate_importer_impl.h",
422 "network/onc/onc_mapper.cc",
423 "network/onc/onc_mapper.h",
424 "network/onc/onc_merger.cc",
425 "network/onc/onc_merger.h",
426 "network/onc/onc_normalizer.cc",
427 "network/onc/onc_normalizer.h",
Pavol Markoa69b546a2018-02-06 18:11:57428 "network/onc/onc_parsed_certificates.cc",
429 "network/onc/onc_parsed_certificates.h",
teravest54ee2252017-03-17 14:18:16430 "network/onc/onc_signature.cc",
431 "network/onc/onc_signature.h",
432 "network/onc/onc_translation_tables.cc",
433 "network/onc/onc_translation_tables.h",
434 "network/onc/onc_translator.h",
435 "network/onc/onc_translator_onc_to_shill.cc",
436 "network/onc/onc_translator_shill_to_onc.cc",
437 "network/onc/onc_utils.cc",
438 "network/onc/onc_utils.h",
439 "network/onc/onc_validator.cc",
440 "network/onc/onc_validator.h",
441 "network/policy_applicator.cc",
442 "network/policy_applicator.h",
443 "network/policy_util.cc",
444 "network/policy_util.h",
445 "network/portal_detector/network_portal_detector.cc",
446 "network/portal_detector/network_portal_detector.h",
447 "network/portal_detector/network_portal_detector_strategy.cc",
448 "network/portal_detector/network_portal_detector_strategy.h",
449 "network/portal_detector/network_portal_detector_stub.cc",
450 "network/portal_detector/network_portal_detector_stub.h",
451 "network/prohibited_technologies_handler.cc",
452 "network/prohibited_technologies_handler.h",
453 "network/proxy/proxy_config_handler.cc",
454 "network/proxy/proxy_config_handler.h",
455 "network/proxy/proxy_config_service_impl.cc",
456 "network/proxy/proxy_config_service_impl.h",
457 "network/proxy/ui_proxy_config.cc",
458 "network/proxy/ui_proxy_config.h",
459 "network/proxy/ui_proxy_config_service.cc",
460 "network/proxy/ui_proxy_config_service.h",
461 "network/shill_property_handler.cc",
462 "network/shill_property_handler.h",
463 "network/shill_property_util.cc",
464 "network/shill_property_util.h",
khorimotoe8e89d52017-04-19 21:16:04465 "network/tether_constants.cc",
466 "network/tether_constants.h",
Pavol Marko3bab3afd2018-09-24 14:42:17467 "policy_certificate_provider.h",
teravest54ee2252017-03-17 14:18:16468 "printing/ppd_cache.cc",
469 "printing/ppd_cache.h",
Justin Carlson781f77e212017-11-15 22:32:31470 "printing/ppd_line_reader.cc",
471 "printing/ppd_line_reader.h",
teravest54ee2252017-03-17 14:18:16472 "printing/ppd_provider.cc",
473 "printing/ppd_provider.h",
474 "printing/printer_configuration.cc",
475 "printing/printer_configuration.h",
476 "printing/printer_translator.cc",
477 "printing/printer_translator.h",
David Valleau03e6fa6b2018-01-19 02:54:26478 "printing/uri_components.cc",
479 "printing/uri_components.h",
teravest54ee2252017-03-17 14:18:16480 "process_proxy/process_output_watcher.cc",
481 "process_proxy/process_output_watcher.h",
482 "process_proxy/process_proxy.cc",
483 "process_proxy/process_proxy.h",
484 "process_proxy/process_proxy_registry.cc",
485 "process_proxy/process_proxy_registry.h",
486 "settings/cros_settings_names.cc",
487 "settings/cros_settings_names.h",
488 "settings/cros_settings_provider.cc",
489 "settings/cros_settings_provider.h",
490 "settings/timezone_settings.cc",
491 "settings/timezone_settings.h",
492 "settings/timezone_settings_helper.cc",
493 "settings/timezone_settings_helper.h",
squea15eba142017-04-25 15:41:36494 "system/cpu_temperature_reader.cc",
495 "system/cpu_temperature_reader.h",
teravest54ee2252017-03-17 14:18:16496 "system/devicemode.cc",
497 "system/devicemode.h",
498 "system/devicetype.cc",
499 "system/devicetype.h",
Pavol Markoac1f5612018-05-19 21:44:59500 "system/factory_ping_embargo_check.cc",
501 "system/factory_ping_embargo_check.h",
teravest54ee2252017-03-17 14:18:16502
503 # Used when running mash, both on Linux and on real devices.
504 "system/fake_statistics_provider.cc",
505 "system/fake_statistics_provider.h",
506 "system/name_value_pairs_parser.cc",
507 "system/name_value_pairs_parser.h",
508 "system/statistics_provider.cc",
509 "system/statistics_provider.h",
teravest54ee2252017-03-17 14:18:16510 "timezone/timezone_provider.cc",
511 "timezone/timezone_provider.h",
512 "timezone/timezone_request.cc",
513 "timezone/timezone_request.h",
514 "timezone/timezone_resolver.cc",
515 "timezone/timezone_resolver.h",
Lutz Justen09c943a2018-04-13 01:49:19516 "tools/variable_expander.cc",
517 "tools/variable_expander.h",
teravest54ee2252017-03-17 14:18:16518 "tpm/tpm_password_fetcher.cc",
519 "tpm/tpm_password_fetcher.h",
520 "tpm/tpm_token_info_getter.cc",
521 "tpm/tpm_token_info_getter.h",
522 "tpm/tpm_token_loader.cc",
523 "tpm/tpm_token_loader.h",
524 ]
mukai6ba73552014-10-09 19:05:17525 defines = [ "CHROMEOS_IMPLEMENTATION" ]
agrievec50a6542016-06-09 03:44:09526 if (current_cpu == "arm" || current_cpu == "x86") {
hashimotoc5ffb8b2016-03-09 03:19:31527 defines += [ "BINDER_IPC_32BIT" ]
hashimotoaa1465a2015-12-11 06:19:59528 }
mukai6ba73552014-10-09 19:05:17529}
530
skau65455b5a02016-08-03 20:16:38531# This must be a static library instead of a source set because some of the
brettwc4e6a0f2015-08-27 18:28:32532# files pull in things with dependencies that aren't linked in all cases.
533#
534# TODO this should probably be changed such that it links in all cases and
535# can be converted to a source set.
Brett Wilson16eb70c2015-08-22 21:08:09536static_library("test_support") {
mukai6ba73552014-10-09 19:05:17537 testonly = true
agrieve95ba4442016-04-25 15:47:13538 configs += [ "//build/config/linux/dbus" ]
Brett Wilson817fec02015-08-22 20:36:49539 public_deps = [
drcrash7da3d8b2016-09-09 05:39:53540 ":attestation_proto",
xiaoyinh58676cf2017-05-08 20:21:31541 ":biod_proto",
mukai6ba73552014-10-09 19:05:17542 ":chromeos",
543 ":cryptohome_proto",
544 ":power_manager_proto",
oshima3f959fa82016-05-02 18:42:57545 ]
546 deps = [
mukai6ba73552014-10-09 19:05:17547 ":test_support_without_gmock",
Alexander Alekseev3f09a8f2018-05-03 02:52:10548 "//components/account_id",
oshima3f959fa82016-05-02 18:42:57549 "//dbus:test_support",
550 "//google_apis",
551 "//net:test_support",
Luum Habtemariamb30c8112018-06-25 21:51:22552 "//services/network:test_support",
Brett Wilson817fec02015-08-22 20:36:49553 "//testing/gmock",
oshima3f959fa82016-05-02 18:42:57554 "//testing/gtest",
mukai6ba73552014-10-09 19:05:17555 ]
556 sources = [
557 "attestation/mock_attestation_flow.cc",
558 "attestation/mock_attestation_flow.h",
559 "chromeos_test_utils.cc",
560 "chromeos_test_utils.h",
561 "cryptohome/mock_async_method_caller.cc",
562 "cryptohome/mock_async_method_caller.h",
563 "cryptohome/mock_homedir_methods.cc",
564 "cryptohome/mock_homedir_methods.h",
sammiequonb6dc62f52017-04-12 04:11:21565 "dbus/biod/test_utils.cc",
566 "dbus/biod/test_utils.h",
hashimoto1472afe2014-11-18 06:18:40567 "dbus/services/service_provider_test_helper.cc",
568 "dbus/services/service_provider_test_helper.h",
mukai6ba73552014-10-09 19:05:17569 "disks/mock_disk_mount_manager.cc",
570 "disks/mock_disk_mount_manager.h",
brettw6c1a7722015-01-06 08:34:24571 "login/auth/fake_extended_authenticator.cc",
572 "login/auth/fake_extended_authenticator.h",
mukai6ba73552014-10-09 19:05:17573 "login/auth/mock_auth_attempt_state_resolver.cc",
574 "login/auth/mock_auth_attempt_state_resolver.h",
575 "login/auth/mock_auth_status_consumer.cc",
576 "login/auth/mock_auth_status_consumer.h",
mukai6ba73552014-10-09 19:05:17577 "login/auth/mock_url_fetchers.cc",
578 "login/auth/mock_url_fetchers.h",
isandrk12962022017-05-04 15:27:33579 "login/scoped_test_public_session_login_state.cc",
580 "login/scoped_test_public_session_login_state.h",
mukai6ba73552014-10-09 19:05:17581 "network/fake_network_device_handler.cc",
582 "network/fake_network_device_handler.h",
583 "network/mock_managed_network_configuration_handler.cc",
584 "network/mock_managed_network_configuration_handler.h",
malaykeshav77a1ea02016-04-21 18:55:50585 "network/mock_network_device_handler.cc",
586 "network/mock_network_device_handler.h",
Alexander Hendrichb24296892018-08-01 08:18:15587 "network/mock_network_state_handler.cc",
588 "network/mock_network_state_handler.h",
khorimoto6c378ee2017-03-30 23:57:47589 "network/network_state_test.cc",
590 "network/network_state_test.h",
mukai6ba73552014-10-09 19:05:17591 "network/onc/onc_test_utils.cc",
592 "network/onc/onc_test_utils.h",
kumarniranjanf0973312017-05-20 00:00:34593 "network/portal_detector/mock_network_portal_detector.cc",
594 "network/portal_detector/mock_network_portal_detector.h",
mukai6ba73552014-10-09 19:05:17595 ]
596}
597
598static_library("test_support_without_gmock") {
599 testonly = true
agrieve95ba4442016-04-25 15:47:13600 configs += [ "//build/config/linux/dbus" ]
mukai6ba73552014-10-09 19:05:17601 deps = [
drcrash7da3d8b2016-09-09 05:39:53602 ":attestation_proto",
xiaoyinh58676cf2017-05-08 20:21:31603 ":biod_proto",
mukai6ba73552014-10-09 19:05:17604 ":chromeos",
605 ":cryptohome_proto",
khmel71bd29c2018-01-17 19:29:35606 ":login_manager_proto",
mukai6ba73552014-10-09 19:05:17607 ":power_manager_proto",
emaxx8aaab6c2017-03-07 14:57:33608 "//components/policy/proto",
agrieved7a71c882015-11-20 19:53:28609 "//crypto",
Sam McNallyf073a6f62018-06-13 02:17:24610 "//url",
mukai6ba73552014-10-09 19:05:17611 ]
612 sources = [
613 "dbus/fake_cros_disks_client.cc",
614 "dbus/fake_cros_disks_client.h",
Qijiang Fan0f3005f2018-01-24 08:53:49615
616 # TODO(crbug.com/799071) remove fake_session_manager_client and fix build rules.
mukai6ba73552014-10-09 19:05:17617 "dbus/fake_session_manager_client.cc",
618 "dbus/fake_session_manager_client.h",
619 "dbus/fake_shill_manager_client.cc",
620 "dbus/fake_shill_manager_client.h",
621 "dbus/fake_update_engine_client.cc",
622 "dbus/fake_update_engine_client.h",
mukai6ba73552014-10-09 19:05:17623 ]
624}
625
626test("chromeos_unittests") {
627 configs += [
agrieve95ba4442016-04-25 15:47:13628 "//build/config/linux/dbus",
Nico Weber2023256d2018-08-28 17:44:57629 "//build/config/linux/nss:system_nss_no_ssl_config",
mukai6ba73552014-10-09 19:05:17630 ]
631 deps = [
drcrash7da3d8b2016-09-09 05:39:53632 ":attestation_proto",
Roman Sorokin63c0c2162017-11-28 09:43:04633 ":authpolicy_proto",
xiaoyinh58676cf2017-05-08 20:21:31634 ":biod_proto",
agrieved7a71c882015-11-20 19:53:28635 ":cryptohome_proto",
636 ":power_manager_proto",
637 ":test_support",
Roman Sorokin94a94e32017-11-29 13:11:21638 ":test_support_without_gmock",
mukai6ba73552014-10-09 19:05:17639 "//base/test:test_support",
Kyle Horimoto940d7df2018-03-17 01:00:23640 "//chromeos/services:unit_tests",
Alexander Alekseev3f09a8f2018-05-03 02:52:10641 "//components/account_id",
mukai6ba73552014-10-09 19:05:17642 "//components/onc",
brettw9f7802a22016-01-30 06:40:17643 "//components/prefs:test_support",
stevenjb83368882015-07-10 20:51:45644 "//components/proxy_config",
mukai6ba73552014-10-09 19:05:17645 "//crypto",
646 "//crypto:test_support",
647 "//dbus:test_support",
648 "//google_apis",
jennyzfbaa3e62017-03-06 20:14:02649 "//media/base:video_facing",
Ken Rockotf03d97c952018-07-04 22:08:10650 "//mojo/core/embedder",
mukai6ba73552014-10-09 19:05:17651 "//net",
652 "//net:test_support",
Luum Habtemariamb30c8112018-06-25 21:51:22653 "//services/network:test_support",
Jay Civelli1ba115722018-07-16 17:41:01654 "//services/network/public/cpp",
mukai6ba73552014-10-09 19:05:17655 "//testing/gmock",
656 "//testing/gtest",
jshin77e507b2015-04-24 01:13:15657 "//third_party/icu",
mukai6ba73552014-10-09 19:05:17658 "//url",
mukai6ba73552014-10-09 19:05:17659 ]
teravest54ee2252017-03-17 14:18:16660 sources = [
Kush Sinha719fb1b2018-03-19 19:29:58661 "account_manager/account_manager_unittest.cc",
teravest54ee2252017-03-17 14:18:16662 "app_mode/kiosk_oem_manifest_parser_unittest.cc",
663 "attestation/attestation_flow_unittest.cc",
664 "audio/audio_devices_pref_handler_impl_unittest.cc",
665 "audio/cras_audio_handler_unittest.cc",
666 "cert_loader_unittest.cc",
Maajid1a0654a2018-01-23 07:49:49667 "cryptohome/cryptohome_util_unittest.cc",
teravest54ee2252017-03-17 14:18:16668 "cryptohome/system_salt_getter_unittest.cc",
sammiequon0958b7f2017-04-03 19:24:21669 "dbus/biod/biod_client_unittest.cc",
sammiequonb6dc62f52017-04-12 04:11:21670 "dbus/biod/fake_biod_client_unittest.cc",
teravest54ee2252017-03-17 14:18:16671 "dbus/blocking_method_caller_unittest.cc",
Felix Ekblom72e8e962018-05-11 07:16:20672 "dbus/cec_service_client_unittest.cc",
teravest54ee2252017-03-17 14:18:16673 "dbus/cras_audio_client_unittest.cc",
674 "dbus/cros_disks_client_unittest.cc",
675 "dbus/dbus_thread_manager_unittest.cc",
676 "dbus/fake_auth_policy_client_unittest.cc",
677 "dbus/fake_cryptohome_client_unittest.cc",
678 "dbus/fake_easy_unlock_client_unittest.cc",
679 "dbus/fake_power_manager_client_unittest.cc",
680 "dbus/gsm_sms_client_unittest.cc",
681 "dbus/modem_messaging_client_unittest.cc",
Hidehiko Abe1ac7aa22017-10-30 20:35:19682 "dbus/pipe_reader_unittest.cc",
teravest54ee2252017-03-17 14:18:16683 "dbus/power_manager_client_unittest.cc",
684 "dbus/power_policy_controller_unittest.cc",
685 "dbus/services/cros_dbus_service_unittest.cc",
teravest54ee2252017-03-17 14:18:16686 "dbus/shill_client_unittest_base.cc",
687 "dbus/shill_client_unittest_base.h",
688 "dbus/shill_device_client_unittest.cc",
689 "dbus/shill_ipconfig_client_unittest.cc",
690 "dbus/shill_manager_client_unittest.cc",
691 "dbus/shill_profile_client_unittest.cc",
692 "dbus/shill_service_client_unittest.cc",
693 "dbus/shill_third_party_vpn_driver_client_unittest.cc",
Marton Hunyady1b8f9b72018-09-05 10:04:49694 "dbus/update_engine_client_unittest.cc",
Steven Bennettsa4fe4f72018-07-19 20:54:34695 "dbus/util/version_loader_unittest.cc",
teravest54ee2252017-03-17 14:18:16696 "disks/disk_mount_manager_unittest.cc",
Anand K. Mistry3a633db2018-08-07 06:52:32697 "disks/disk_unittest.cc",
teravest54ee2252017-03-17 14:18:16698 "disks/suspend_unmount_manager_unittest.cc",
699 "geolocation/simple_geolocation_unittest.cc",
Roman Sorokin94a94e32017-11-29 13:11:21700 "login/auth/authpolicy_login_helper_unittest.cc",
teravest54ee2252017-03-17 14:18:16701 "login/auth/key_unittest.cc",
702 "login/login_state_unittest.cc",
703 "network/auto_connect_handler_unittest.cc",
Steven Bennetts538486f2017-05-18 21:02:04704 "network/certificate_helper_unittest.cc",
teravest54ee2252017-03-17 14:18:16705 "network/client_cert_resolver_unittest.cc",
706 "network/firewall_hole_unittest.cc",
707 "network/geolocation_handler_unittest.cc",
708 "network/host_resolver_impl_chromeos_unittest.cc",
709 "network/managed_network_configuration_handler_unittest.cc",
710 "network/network_cert_migrator_unittest.cc",
711 "network/network_change_notifier_chromeos_unittest.cc",
712 "network/network_configuration_handler_unittest.cc",
713 "network/network_connect_unittest.cc",
khorimotoa2ff31632017-05-04 01:20:24714 "network/network_connection_handler_impl_unittest.cc",
teravest54ee2252017-03-17 14:18:16715 "network/network_device_handler_unittest.cc",
716 "network/network_sms_handler_unittest.cc",
717 "network/network_state_handler_unittest.cc",
718 "network/network_state_unittest.cc",
719 "network/network_type_pattern_unittest.cc",
720 "network/network_ui_data_unittest.cc",
721 "network/network_util_unittest.cc",
722 "network/onc/onc_certificate_importer_impl_unittest.cc",
723 "network/onc/onc_merger_unittest.cc",
724 "network/onc/onc_normalizer_unittest.cc",
Pavol Markoa69b546a2018-02-06 18:11:57725 "network/onc/onc_parsed_certificates_unittest.cc",
teravest54ee2252017-03-17 14:18:16726 "network/onc/onc_translator_unittest.cc",
727 "network/onc/onc_utils_unittest.cc",
728 "network/onc/onc_validator_unittest.cc",
729 "network/prohibited_technologies_handler_unittest.cc",
mmenke29e5a5d2017-06-21 21:35:37730 "network/proxy/proxy_config_service_impl_unittest.cc",
teravest54ee2252017-03-17 14:18:16731 "network/shill_property_handler_unittest.cc",
732 "printing/ppd_cache_unittest.cc",
Justin Carlson781f77e212017-11-15 22:32:31733 "printing/ppd_line_reader_unittest.cc",
teravest54ee2252017-03-17 14:18:16734 "printing/ppd_provider_unittest.cc",
Sean Kauff2bbe72018-05-23 01:05:02735 "printing/printer_configuration_unittest.cc",
teravest54ee2252017-03-17 14:18:16736 "printing/printer_translator_unittest.cc",
737 "process_proxy/process_output_watcher_unittest.cc",
738 "process_proxy/process_proxy_unittest.cc",
Kyle Horimoto940d7df2018-03-17 01:00:23739 "run_all_unittests.cc",
teravest54ee2252017-03-17 14:18:16740 "settings/timezone_settings_unittest.cc",
squea15eba142017-04-25 15:41:36741 "system/cpu_temperature_reader_unittest.cc",
Pavol Markoac1f5612018-05-19 21:44:59742 "system/factory_ping_embargo_check_unittest.cc",
teravest54ee2252017-03-17 14:18:16743 "system/name_value_pairs_parser_unittest.cc",
teravest54ee2252017-03-17 14:18:16744 "timezone/timezone_unittest.cc",
Lutz Justen09c943a2018-04-13 01:49:19745 "tools/variable_expander_unittest.cc",
teravest54ee2252017-03-17 14:18:16746 "tpm/tpm_token_info_getter_unittest.cc",
747 ]
dpranke94c6fb22016-06-10 01:55:08748
749 data = [
750 "test/data/",
dpranke94c6fb22016-06-10 01:55:08751 ]
mukai6ba73552014-10-09 19:05:17752}
753
Ben Pastene70ce32d22018-09-10 22:30:52754# The following definitions only apply when building for a CrOS board (ie: not
755# linux-chromeos). See the following for reference:
756# https://chromium.googlesource.com/chromium/src/+/master/docs/chromeos_build_instructions.md
757# https://chromium.googlesource.com/chromiumos/docs/+/master/simple_chrome_workflow.md
758if (is_chromeos_chrome) {
Ben Pastenec1543c22018-05-04 23:39:43759 generate_vm_runner_script("cros_vm_launcher") {
760 generated_script = "$root_build_dir/bin/launch_cros_vm"
Ben Pastene22d25c82018-08-06 20:18:34761
762 # Assume every time we build cros_vm_launcher, we also build chrome and
763 # want to deploy it to the VM.
764 deploy_chrome = true
Ben Pastenec1543c22018-05-04 23:39:43765 }
Ben Pastene9ec70f92018-05-14 21:09:22766
767 # The sanity test's actual binary is baked into the vm image. All we need to
768 # do is build the test wrapper and build our own browser to push to the VM
769 # before testing it.
Ben Pastene16882032018-09-21 01:16:39770 generate_vm_runner_script("cros_vm_sanity_test") {
771 testonly = true
772 test_exe = "cros_vm_sanity_test"
Ben Pastene9ec70f92018-05-14 21:09:22773 generated_script = "$root_build_dir/bin/run_cros_vm_sanity_test"
Ben Pastened09dd692018-09-21 18:58:10774 runtime_deps_file = "$root_out_dir/cros_vm_sanity_test.runtime_deps"
Ben Pastene9ec70f92018-05-14 21:09:22775
Ben Pastene16882032018-09-21 01:16:39776 data_deps = [
777 ":cros_chrome_deploy",
778 "//:chromiumos_preflight", # Builds the browser.
779 ]
Ben Pastene9ec70f92018-05-14 21:09:22780 }
Ben Pastene2bc796b2018-08-03 03:02:00781
782 group("cros_chrome_deploy") {
783 # The following run-time dependencies are needed to deploy chrome to a
784 # ChromeOS device. See the link for the full list:
785 # https://codesearch.chromium.org/chromium/src/third_party/chromite/lib/chrome_util.py?l=341
786 # Most of these are copy targets, for which GN doesn't add their outputs
787 # as runtime-deps. See the link below for more details:
788 # https://chromium.googlesource.com/chromium/src/+/master/tools/gn/docs/reference.md#actions-and-copies
789 data_deps = [
790 "//chrome:xdg_mime",
791 "//mojo/core:shared_library_arc32",
792 "//mojo/core:shared_library_arc64",
793 ]
794
795 # TODO(bpastene): Figure out what's generating resources/chromeos/ and
796 # declare it as a dep instead of adding the dir directly.
797 data = [
798 "$root_out_dir/resources/chromeos/",
799 ]
800 }
Ben Pastenec60bf5022018-05-04 01:10:33801}
802
Lutz Justen09c943a2018-04-13 01:49:19803fuzzer_test("variable_expander_fuzzer") {
804 sources = [
805 "tools/variable_expander_fuzzer.cc",
806 ]
807 seed_corpus = "//chromeos/test/data/variable_expander/fuzzer_corpus"
808 dict = "//chromeos/test/data/variable_expander/fuzzer.dict"
809 deps = [
810 ":chromeos",
811 "//base/test:test_support",
812 ]
813}
814
[email protected]743530f2014-06-12 19:38:50815proto_library("power_manager_proto") {
816 sources = [
Daniel Erat0f6c6242018-03-09 18:24:14817 "//third_party/cros_system_api/dbus/power_manager/backlight.proto",
Daniel Erat05f8e5c2017-10-30 22:41:45818 "//third_party/cros_system_api/dbus/power_manager/idle.proto",
[email protected]743530f2014-06-12 19:38:50819 "//third_party/cros_system_api/dbus/power_manager/input_event.proto",
820 "//third_party/cros_system_api/dbus/power_manager/peripheral_battery_status.proto",
821 "//third_party/cros_system_api/dbus/power_manager/policy.proto",
822 "//third_party/cros_system_api/dbus/power_manager/power_supply_properties.proto",
823 "//third_party/cros_system_api/dbus/power_manager/suspend.proto",
derat08e333d2017-03-21 21:51:22824 "//third_party/cros_system_api/dbus/power_manager/switch_states.proto",
[email protected]743530f2014-06-12 19:38:50825 ]
mukai6ba73552014-10-09 19:05:17826
827 proto_out_dir = "chromeos/dbus/power_manager"
828}
829
Luigi Semenzatoa179f272018-09-07 21:06:41830proto_library("metrics_event_proto") {
831 sources = [
832 "//third_party/cros_system_api/dbus/metrics_event/metrics_event.proto",
833 ]
834
835 proto_out_dir = "chromeos/dbus/metrics_event"
836}
837
drcrash7da3d8b2016-09-09 05:39:53838proto_library("attestation_proto") {
839 sources = [
840 "dbus/proto/attestation.proto",
841 ]
842
Steven Bennetts149a15b2018-07-19 17:33:36843 proto_out_dir = "chromeos/dbus/attestation"
[email protected]743530f2014-06-12 19:38:50844}
rsorokinfc75ccee2017-02-10 13:16:43845
846proto_library("authpolicy_proto") {
847 sources = [
rsorokin01014b72017-04-28 12:26:29848 "//third_party/cros_system_api/dbus/authpolicy/active_directory_info.proto",
rsorokinfc75ccee2017-02-10 13:16:43849 ]
850
851 proto_out_dir = "chromeos/dbus/authpolicy"
852}
xiaoyinh58676cf2017-05-08 20:21:31853
854proto_library("biod_proto") {
855 sources = [
856 "//third_party/cros_system_api/dbus/biod/constants.proto",
857 "//third_party/cros_system_api/dbus/biod/messages.proto",
858 ]
859
860 proto_out_dir = "chromeos/dbus/biod"
861}
lasorenf933419f2017-05-15 19:37:45862
Jeffrey Kardatzkea3f86c4c2018-05-31 18:34:07863proto_library("cicerone_proto") {
864 sources = [
865 "//third_party/cros_system_api/dbus/vm_cicerone/cicerone_service.proto",
866 ]
867
868 proto_out_dir = "chromeos/dbus/cicerone"
869}
870
Renee Wright0e1449f2018-03-28 00:21:40871proto_library("concierge_proto") {
872 sources = [
873 "//third_party/cros_system_api/dbus/vm_concierge/service.proto",
874 ]
875
876 proto_out_dir = "chromeos/dbus/concierge"
877}
Timothy Loh71d654412018-04-04 05:30:05878
Steven Bennetts149a15b2018-07-19 17:33:36879proto_library("cryptohome_proto") {
880 sources = [
881 "//third_party/cros_system_api/dbus/cryptohome/key.proto",
882 "//third_party/cros_system_api/dbus/cryptohome/rpc.proto",
883 ]
884
885 proto_out_dir = "chromeos/dbus/cryptohome"
886}
887
888proto_library("cryptohome_signkey_proto") {
889 sources = [
890 "//third_party/cros_system_api/dbus/cryptohome/signed_secret.proto",
891 ]
892
893 proto_out_dir = "chromeos/dbus/cryptohome"
894}
895
896proto_library("login_manager_proto") {
897 sources = [
898 "//third_party/cros_system_api/dbus/login_manager/arc.proto",
899 "//third_party/cros_system_api/dbus/login_manager/policy_descriptor.proto",
900 ]
901
902 proto_out_dir = "chromeos/dbus/login_manager"
903}
904
905proto_library("media_perception_proto") {
906 sources = [
907 "dbus/proto/media_perception.proto",
908 ]
909
910 proto_out_dir = "chromeos/dbus/media_perception"
911}
912
Joel Hockeyb797d182018-09-01 10:48:53913proto_library("seneschal_proto") {
914 sources = [
915 "//third_party/cros_system_api/dbus/seneschal/seneschal_service.proto",
916 ]
917
918 proto_out_dir = "chromeos/dbus/seneschal"
919}
920
Steven Bennetts149a15b2018-07-19 17:33:36921proto_library("smbprovider_proto") {
922 sources = [
923 "//third_party/cros_system_api/dbus/smbprovider/directory_entry.proto",
924 ]
925
926 proto_out_dir = "chromeos/dbus/smbprovider"
927}
928
Timothy Loh71d654412018-04-04 05:30:05929proto_library("vm_applications_apps_proto") {
930 sources = [
931 "//third_party/cros_system_api/dbus/vm_applications/apps.proto",
932 ]
933
934 proto_out_dir = "chromeos/dbus/vm_applications"
935}
Steven Bennetts149a15b2018-07-19 17:33:36936
937proto_library("account_manager_proto") {
938 sources = [
939 "account_manager/tokens.proto",
940 ]
941
942 proto_out_dir = "chromeos/account_manager"
943}