Fix race condition in WebstoreInstallHelper.
[chromium-blink-merge.git] / chromeos / chromeos.gyp
blobb98e26054788e4547362b49e79b007493dd910f6
1 # Copyright (c) 2012 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.
6   'variables': {
7     'chromium_code': 1,
8     # These files lists are shared with the GN build.
9     'chromeos_sources': [
10       'accelerometer/accelerometer_reader.cc',
11       'accelerometer/accelerometer_reader.h',
12       'accelerometer/accelerometer_types.cc',
13       'accelerometer/accelerometer_types.h',
14       'app_mode/kiosk_oem_manifest_parser.cc',
15       'app_mode/kiosk_oem_manifest_parser.h',
16       'attestation/attestation_constants.cc',
17       'attestation/attestation_constants.h',
18       'attestation/attestation_flow.cc',
19       'attestation/attestation_flow.h',
20       'audio/audio_device.cc',
21       'audio/audio_device.h',
22       'audio/audio_devices_pref_handler.h',
23       'audio/audio_devices_pref_handler_impl.cc',
24       'audio/audio_devices_pref_handler_impl.h',
25       'audio/audio_devices_pref_handler_stub.cc',
26       'audio/audio_devices_pref_handler_stub.h',
27       'audio/audio_pref_observer.h',
28       'audio/chromeos_sounds.h',
29       'audio/cras_audio_handler.cc',
30       'audio/cras_audio_handler.h',
31       'cert_loader.cc',
32       'cert_loader.h',
33       'chromeos_constants.cc',
34       'chromeos_constants.h',
35       'chromeos_export.h',
36       'chromeos_paths.cc',
37       'chromeos_paths.h',
38       'chromeos_pref_names.cc',
39       'chromeos_pref_names.h',
40       'chromeos_switches.cc',
41       'chromeos_switches.h',
42       'cryptohome/async_method_caller.cc',
43       'cryptohome/async_method_caller.h',
44       'cryptohome/cryptohome_parameters.cc',
45       'cryptohome/cryptohome_parameters.h',
46       'cryptohome/cryptohome_util.cc',
47       'cryptohome/cryptohome_util.h',
48       'cryptohome/homedir_methods.cc',
49       'cryptohome/homedir_methods.h',
50       'cryptohome/system_salt_getter.cc',
51       'cryptohome/system_salt_getter.h',
52       'dbus/amplifier_client.cc',
53       'dbus/amplifier_client.h',
54       'dbus/ap_manager_client.cc',
55       'dbus/ap_manager_client.h',
56       'dbus/audio_dsp_client.cc',
57       'dbus/audio_dsp_client.h',
58       'dbus/audio_node.cc',
59       'dbus/audio_node.h',
60       'dbus/blocking_method_caller.cc',
61       'dbus/blocking_method_caller.h',
62       'dbus/bluetooth_adapter_client.cc',
63       'dbus/bluetooth_adapter_client.h',
64       'dbus/bluetooth_le_advertising_manager_client.cc',
65       'dbus/bluetooth_le_advertising_manager_client.h',
66       'dbus/bluetooth_le_advertisement_service_provider.cc',
67       'dbus/bluetooth_le_advertisement_service_provider.h',
68       'dbus/bluetooth_agent_manager_client.cc',
69       'dbus/bluetooth_agent_manager_client.h',
70       'dbus/bluetooth_agent_service_provider.cc',
71       'dbus/bluetooth_agent_service_provider.h',
72       'dbus/bluetooth_device_client.cc',
73       'dbus/bluetooth_device_client.h',
74       'dbus/bluetooth_gatt_characteristic_client.cc',
75       'dbus/bluetooth_gatt_characteristic_client.h',
76       'dbus/bluetooth_gatt_characteristic_service_provider.cc',
77       'dbus/bluetooth_gatt_characteristic_service_provider.h',
78       'dbus/bluetooth_gatt_descriptor_client.cc',
79       'dbus/bluetooth_gatt_descriptor_client.h',
80       'dbus/bluetooth_gatt_descriptor_service_provider.cc',
81       'dbus/bluetooth_gatt_descriptor_service_provider.h',
82       'dbus/bluetooth_gatt_manager_client.cc',
83       'dbus/bluetooth_gatt_manager_client.h',
84       'dbus/bluetooth_gatt_service_client.cc',
85       'dbus/bluetooth_gatt_service_client.h',
86       'dbus/bluetooth_gatt_service_service_provider.cc',
87       'dbus/bluetooth_gatt_service_service_provider.h',
88       'dbus/bluetooth_input_client.cc',
89       'dbus/bluetooth_input_client.h',
90       'dbus/bluetooth_media_client.cc',
91       'dbus/bluetooth_media_client.h',
92       'dbus/bluetooth_media_endpoint_service_provider.cc',
93       'dbus/bluetooth_media_endpoint_service_provider.h',
94       'dbus/bluetooth_media_transport_client.cc',
95       'dbus/bluetooth_media_transport_client.h',
96       'dbus/bluetooth_profile_manager_client.cc',
97       'dbus/bluetooth_profile_manager_client.h',
98       'dbus/bluetooth_profile_service_provider.cc',
99       'dbus/bluetooth_profile_service_provider.h',
100       'dbus/cras_audio_client.cc',
101       'dbus/cras_audio_client.h',
102       'dbus/cros_disks_client.cc',
103       'dbus/cros_disks_client.h',
104       'dbus/cryptohome_client.cc',
105       'dbus/cryptohome_client.h',
106       'dbus/dbus_client_bundle.cc',
107       'dbus/dbus_client_bundle.h',
108       'dbus/dbus_client_implementation_type.h',
109       'dbus/dbus_method_call_status.cc',
110       'dbus/dbus_method_call_status.h',
111       'dbus/dbus_thread_manager.cc',
112       'dbus/dbus_thread_manager.h',
113       'dbus/debug_daemon_client.cc',
114       'dbus/debug_daemon_client.h',
115       'dbus/easy_unlock_client.cc',
116       'dbus/easy_unlock_client.h',
117       'dbus/fake_amplifier_client.cc',
118       'dbus/fake_amplifier_client.h',
119       'dbus/fake_ap_manager_client.cc',
120       'dbus/fake_ap_manager_client.h',
121       'dbus/fake_audio_dsp_client.cc',
122       'dbus/fake_audio_dsp_client.h',
123       'dbus/fake_bluetooth_adapter_client.cc',
124       'dbus/fake_bluetooth_adapter_client.h',
125       'dbus/fake_bluetooth_le_advertising_manager_client.cc',
126       'dbus/fake_bluetooth_le_advertising_manager_client.h',
127       'dbus/fake_bluetooth_le_advertisement_service_provider.cc',
128       'dbus/fake_bluetooth_le_advertisement_service_provider.h',
129       'dbus/fake_bluetooth_agent_manager_client.cc',
130       'dbus/fake_bluetooth_agent_manager_client.h',
131       'dbus/fake_bluetooth_agent_service_provider.cc',
132       'dbus/fake_bluetooth_agent_service_provider.h',
133       'dbus/fake_bluetooth_device_client.cc',
134       'dbus/fake_bluetooth_device_client.h',
135       'dbus/fake_bluetooth_gatt_characteristic_client.cc',
136       'dbus/fake_bluetooth_gatt_characteristic_client.h',
137       'dbus/fake_bluetooth_gatt_characteristic_service_provider.cc',
138       'dbus/fake_bluetooth_gatt_characteristic_service_provider.h',
139       'dbus/fake_bluetooth_gatt_descriptor_client.cc',
140       'dbus/fake_bluetooth_gatt_descriptor_client.h',
141       'dbus/fake_bluetooth_gatt_descriptor_service_provider.cc',
142       'dbus/fake_bluetooth_gatt_descriptor_service_provider.h',
143       'dbus/fake_bluetooth_gatt_manager_client.cc',
144       'dbus/fake_bluetooth_gatt_manager_client.h',
145       'dbus/fake_bluetooth_gatt_service_client.cc',
146       'dbus/fake_bluetooth_gatt_service_client.h',
147       'dbus/fake_bluetooth_gatt_service_service_provider.cc',
148       'dbus/fake_bluetooth_gatt_service_service_provider.h',
149       'dbus/fake_bluetooth_input_client.cc',
150       'dbus/fake_bluetooth_input_client.h',
151       'dbus/fake_bluetooth_media_client.cc',
152       'dbus/fake_bluetooth_media_client.h',
153       'dbus/fake_bluetooth_media_endpoint_service_provider.cc',
154       'dbus/fake_bluetooth_media_endpoint_service_provider.h',
155       'dbus/fake_bluetooth_media_transport_client.cc',
156       'dbus/fake_bluetooth_media_transport_client.h',
157       'dbus/fake_bluetooth_profile_manager_client.cc',
158       'dbus/fake_bluetooth_profile_manager_client.h',
159       'dbus/fake_bluetooth_profile_service_provider.cc',
160       'dbus/fake_bluetooth_profile_service_provider.h',
161       'dbus/fake_cras_audio_client.cc',
162       'dbus/fake_cras_audio_client.h',
163       'dbus/fake_cros_disks_client.cc',
164       'dbus/fake_cros_disks_client.h',
165       'dbus/fake_cryptohome_client.cc',
166       'dbus/fake_cryptohome_client.h',
167       'dbus/fake_debug_daemon_client.cc',
168       'dbus/fake_debug_daemon_client.h',
169       'dbus/fake_easy_unlock_client.cc',
170       'dbus/fake_easy_unlock_client.h',
171       'dbus/fake_gsm_sms_client.cc',
172       'dbus/fake_gsm_sms_client.h',
173       'dbus/fake_image_burner_client.cc',
174       'dbus/fake_image_burner_client.h',
175       'dbus/fake_introspectable_client.cc',
176       'dbus/fake_introspectable_client.h',
177       'dbus/fake_leadership_daemon_manager_client.cc',
178       'dbus/fake_leadership_daemon_manager_client.h',
179       'dbus/fake_lorgnette_manager_client.cc',
180       'dbus/fake_lorgnette_manager_client.h',
181       'dbus/fake_modem_messaging_client.cc',
182       'dbus/fake_modem_messaging_client.h',
183       'dbus/fake_nfc_adapter_client.cc',
184       'dbus/fake_nfc_adapter_client.h',
185       'dbus/fake_nfc_device_client.cc',
186       'dbus/fake_nfc_device_client.h',
187       'dbus/fake_nfc_manager_client.cc',
188       'dbus/fake_nfc_manager_client.h',
189       'dbus/fake_nfc_record_client.cc',
190       'dbus/fake_nfc_record_client.h',
191       'dbus/fake_nfc_tag_client.cc',
192       'dbus/fake_nfc_tag_client.h',
193       'dbus/fake_peer_daemon_manager_client.cc',
194       'dbus/fake_peer_daemon_manager_client.h',
195       'dbus/fake_permission_broker_client.cc',
196       'dbus/fake_permission_broker_client.h',
197       'dbus/fake_privet_daemon_manager_client.cc',
198       'dbus/fake_privet_daemon_manager_client.h',
199       'dbus/fake_shill_device_client.cc',
200       'dbus/fake_shill_device_client.h',
201       'dbus/fake_shill_ipconfig_client.cc',
202       'dbus/fake_shill_ipconfig_client.h',
203       'dbus/fake_shill_manager_client.cc',
204       'dbus/fake_shill_manager_client.h',
205       'dbus/fake_shill_profile_client.cc',
206       'dbus/fake_shill_profile_client.h',
207       'dbus/fake_shill_service_client.cc',
208       'dbus/fake_shill_service_client.h',
209       'dbus/fake_shill_third_party_vpn_driver_client.cc',
210       'dbus/fake_shill_third_party_vpn_driver_client.h',
211       'dbus/fake_sms_client.cc',
212       'dbus/fake_sms_client.h',
213       'dbus/fake_system_clock_client.cc',
214       'dbus/fake_system_clock_client.h',
215       'dbus/gsm_sms_client.cc',
216       'dbus/gsm_sms_client.h',
217       'dbus/image_burner_client.cc',
218       'dbus/image_burner_client.h',
219       'dbus/introspectable_client.cc',
220       'dbus/introspectable_client.h',
221       'dbus/leadership_daemon_manager_client.cc',
222       'dbus/leadership_daemon_manager_client.h',
223       'dbus/lorgnette_manager_client.cc',
224       'dbus/lorgnette_manager_client.h',
225       'dbus/metronome_client.cc',
226       'dbus/metronome_client.h',
227       'dbus/modem_messaging_client.cc',
228       'dbus/modem_messaging_client.h',
229       'dbus/nfc_adapter_client.cc',
230       'dbus/nfc_adapter_client.h',
231       'dbus/nfc_client_helpers.cc',
232       'dbus/nfc_client_helpers.h',
233       'dbus/nfc_device_client.cc',
234       'dbus/nfc_device_client.h',
235       'dbus/nfc_manager_client.cc',
236       'dbus/nfc_manager_client.h',
237       'dbus/nfc_property_set.cc',
238       'dbus/nfc_property_set.h',
239       'dbus/nfc_record_client.cc',
240       'dbus/nfc_record_client.h',
241       'dbus/nfc_tag_client.cc',
242       'dbus/nfc_tag_client.h',
243       'dbus/peer_daemon_manager_client.cc',
244       'dbus/peer_daemon_manager_client.h',
245       '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',
253       'dbus/privet_daemon_manager_client.cc',
254       'dbus/privet_daemon_manager_client.h',
255       'dbus/services/console_service_provider.cc',
256       'dbus/services/console_service_provider.h',
257       'dbus/services/cros_dbus_service.cc',
258       'dbus/services/cros_dbus_service.h',
259       'dbus/services/display_power_service_provider.cc',
260       'dbus/services/display_power_service_provider.h',
261       'dbus/services/liveness_service_provider.cc',
262       'dbus/services/liveness_service_provider.h',
263       'dbus/services/proxy_resolution_service_provider.cc',
264       'dbus/services/proxy_resolution_service_provider.h',
265       'dbus/session_manager_client.cc',
266       'dbus/session_manager_client.h',
267       'dbus/shill_client_helper.cc',
268       'dbus/shill_client_helper.h',
269       'dbus/shill_device_client.cc',
270       'dbus/shill_device_client.h',
271       'dbus/shill_ipconfig_client.cc',
272       'dbus/shill_ipconfig_client.h',
273       'dbus/shill_manager_client.cc',
274       'dbus/shill_manager_client.h',
275       'dbus/shill_profile_client.cc',
276       'dbus/shill_profile_client.h',
277       'dbus/shill_service_client.cc',
278       'dbus/shill_service_client.h',
279       'dbus/shill_third_party_vpn_driver_client.cc',
280       'dbus/shill_third_party_vpn_driver_client.h',
281       'dbus/sms_client.cc',
282       'dbus/sms_client.h',
283       'dbus/system_clock_client.cc',
284       'dbus/system_clock_client.h',
285       'dbus/update_engine_client.cc',
286       'dbus/update_engine_client.h',
287       'dbus/volume_state.cc',
288       'dbus/volume_state.h',
289       'disks/disk_mount_manager.cc',
290       'disks/disk_mount_manager.h',
291       'geolocation/geoposition.cc',
292       'geolocation/geoposition.h',
293       'geolocation/simple_geolocation_provider.cc',
294       'geolocation/simple_geolocation_provider.h',
295       'geolocation/simple_geolocation_request.cc',
296       'geolocation/simple_geolocation_request.h',
297       'login/auth/auth_attempt_state.cc',
298       'login/auth/auth_attempt_state.h',
299       'login/auth/auth_attempt_state_resolver.cc',
300       'login/auth/auth_attempt_state_resolver.h',
301       'login/auth/auth_status_consumer.cc',
302       'login/auth/auth_status_consumer.h',
303       'login/auth/authenticator.cc',
304       'login/auth/authenticator.h',
305       'login/auth/cryptohome_authenticator.cc',
306       'login/auth/cryptohome_authenticator.h',
307       'login/auth/extended_authenticator.cc',
308       'login/auth/extended_authenticator.h',
309       'login/auth/extended_authenticator_impl.cc',
310       'login/auth/extended_authenticator_impl.h',
311       'login/auth/key.cc',
312       'login/auth/key.h',
313       'login/auth/login_performer.cc',
314       'login/auth/login_performer.h',
315       'login/auth/online_attempt.cc',
316       'login/auth/online_attempt.h',
317       'login/auth/online_attempt_host.cc',
318       'login/auth/online_attempt_host.h',
319       'login/auth/stub_authenticator.cc',
320       'login/auth/stub_authenticator.h',
321       'login/auth/test_attempt_state.cc',
322       'login/auth/test_attempt_state.h',
323       'login/auth/user_context.cc',
324       'login/auth/user_context.h',
325       'login/login_state.cc',
326       'login/login_state.h',
327       'login/user_names.cc',
328       'login/user_names.h',
329       'login_event_recorder.cc',
330       'login_event_recorder.h',
331       'network/auto_connect_handler.cc',
332       'network/auto_connect_handler.h',
333       'network/certificate_pattern.cc',
334       'network/certificate_pattern.h',
335       'network/client_cert_resolver.cc',
336       'network/client_cert_resolver.h',
337       'network/client_cert_util.cc',
338       'network/client_cert_util.h',
339       'network/device_state.cc',
340       'network/device_state.h',
341       'network/dhcp_proxy_script_fetcher_chromeos.cc',
342       'network/dhcp_proxy_script_fetcher_chromeos.h',
343       'network/geolocation_handler.cc',
344       'network/geolocation_handler.h',
345       'network/host_resolver_impl_chromeos.cc',
346       'network/host_resolver_impl_chromeos.h',
347       'network/managed_network_configuration_handler.cc',
348       'network/managed_network_configuration_handler.h',
349       'network/managed_network_configuration_handler_impl.cc',
350       'network/managed_network_configuration_handler_impl.h',
351       'network/managed_state.cc',
352       'network/managed_state.h',
353       'network/firewall_hole.cc',
354       'network/firewall_hole.h',
355       'network/network_activation_handler.cc',
356       'network/network_activation_handler.h',
357       'network/network_cert_migrator.cc',
358       'network/network_cert_migrator.h',
359       'network/network_change_notifier_chromeos.cc',
360       'network/network_change_notifier_chromeos.h',
361       'network/network_change_notifier_factory_chromeos.cc',
362       'network/network_change_notifier_factory_chromeos.h',
363       'network/network_configuration_handler.cc',
364       'network/network_configuration_handler.h',
365       'network/network_configuration_observer.h',
366       'network/network_connection_handler.cc',
367       'network/network_connection_handler.h',
368       'network/network_connection_observer.cc',
369       'network/network_connection_observer.h',
370       'network/network_device_handler.cc',
371       'network/network_device_handler.h',
372       'network/network_device_handler_impl.cc',
373       'network/network_device_handler_impl.h',
374       'network/network_event_log.h',
375       'network/network_handler.cc',
376       'network/network_handler.h',
377       'network/network_handler_callbacks.cc',
378       'network/network_handler_callbacks.h',
379       'network/network_ip_config.cc',
380       'network/network_ip_config.h',
381       'network/network_profile.cc',
382       'network/network_profile.h',
383       'network/network_profile_handler.cc',
384       'network/network_profile_handler.h',
385       'network/network_profile_observer.h',
386       'network/network_sms_handler.cc',
387       'network/network_sms_handler.h',
388       'network/network_state.cc',
389       'network/network_state.h',
390       'network/network_state_handler.cc',
391       'network/network_state_handler.h',
392       'network/network_state_handler_observer.cc',
393       'network/network_state_handler_observer.h',
394       'network/network_type_pattern.cc',
395       'network/network_type_pattern.h',
396       'network/network_ui_data.cc',
397       'network/network_ui_data.h',
398       'network/network_util.cc',
399       'network/network_util.h',
400       'network/onc/onc_certificate_importer.h',
401       'network/onc/onc_certificate_importer_impl.cc',
402       'network/onc/onc_certificate_importer_impl.h',
403       'network/onc/onc_mapper.cc',
404       'network/onc/onc_mapper.h',
405       'network/onc/onc_merger.cc',
406       'network/onc/onc_merger.h',
407       'network/onc/onc_normalizer.cc',
408       'network/onc/onc_normalizer.h',
409       'network/onc/onc_signature.cc',
410       'network/onc/onc_signature.h',
411       'network/onc/onc_translation_tables.cc',
412       'network/onc/onc_translation_tables.h',
413       'network/onc/onc_translator.h',
414       'network/onc/onc_translator_onc_to_shill.cc',
415       'network/onc/onc_translator_shill_to_onc.cc',
416       'network/onc/onc_utils.cc',
417       'network/onc/onc_utils.h',
418       'network/onc/onc_validator.cc',
419       'network/onc/onc_validator.h',
420       'network/policy_applicator.cc',
421       'network/policy_applicator.h',
422       'network/policy_util.cc',
423       'network/policy_util.h',
424       'network/portal_detector/network_portal_detector.cc',
425       'network/portal_detector/network_portal_detector.h',
426       'network/portal_detector/network_portal_detector_strategy.cc',
427       'network/portal_detector/network_portal_detector_strategy.h',
428       'network/shill_property_handler.cc',
429       'network/shill_property_handler.h',
430       'network/shill_property_util.cc',
431       'network/shill_property_util.h',
432       'process_proxy/process_output_watcher.cc',
433       'process_proxy/process_output_watcher.h',
434       'process_proxy/process_proxy.cc',
435       'process_proxy/process_proxy.h',
436       'process_proxy/process_proxy_registry.cc',
437       'process_proxy/process_proxy_registry.h',
438       'settings/cros_settings_names.cc',
439       'settings/cros_settings_names.h',
440       'settings/cros_settings_provider.cc',
441       'settings/cros_settings_provider.h',
442       'settings/timezone_settings.cc',
443       'settings/timezone_settings.h',
444       'settings/timezone_settings_helper.cc',
445       'settings/timezone_settings_helper.h',
446       'system/name_value_pairs_parser.cc',
447       'system/name_value_pairs_parser.h',
448       'system/statistics_provider.cc',
449       'system/statistics_provider.h',
450       'system/version_loader.cc',
451       'system/version_loader.h',
452       'timezone/timezone_provider.cc',
453       'timezone/timezone_provider.h',
454       'timezone/timezone_request.cc',
455       'timezone/timezone_request.h',
456       'timezone/timezone_resolver.cc',
457       'timezone/timezone_resolver.h',
458       'tpm/tpm_password_fetcher.cc',
459       'tpm/tpm_password_fetcher.h',
460       'tpm/tpm_token_info_getter.cc',
461       'tpm/tpm_token_info_getter.h',
462       'tpm/tpm_token_loader.cc',
463       'tpm/tpm_token_loader.h'
464     ],
465     'chromeos_test_sources': [
466       'app_mode/kiosk_oem_manifest_parser_unittest.cc',
467       'attestation/attestation_flow_unittest.cc',
468       'audio/audio_devices_pref_handler_impl_unittest.cc',
469       'audio/cras_audio_handler_unittest.cc',
470       'cert_loader_unittest.cc',
471       'cryptohome/homedir_methods_unittest.cc',
472       'cryptohome/system_salt_getter_unittest.cc',
473       'dbus/blocking_method_caller_unittest.cc',
474       'dbus/cros_disks_client_unittest.cc',
475       'dbus/dbus_client_bundle_unittest.cc',
476       'dbus/fake_easy_unlock_client_unittest.cc',
477       'dbus/gsm_sms_client_unittest.cc',
478       'dbus/introspectable_client_unittest.cc',
479       'dbus/modem_messaging_client_unittest.cc',
480       'dbus/nfc_client_unittest.cc',
481       'dbus/power_policy_controller_unittest.cc',
482       'dbus/privet_daemon_manager_client_unittest.cc',
483       'dbus/services/cros_dbus_service_unittest.cc',
484       'dbus/services/proxy_resolution_service_provider_unittest.cc',
485       'dbus/shill_client_unittest_base.cc',
486       'dbus/shill_client_unittest_base.h',
487       'dbus/shill_device_client_unittest.cc',
488       'dbus/shill_ipconfig_client_unittest.cc',
489       'dbus/shill_manager_client_unittest.cc',
490       'dbus/shill_profile_client_unittest.cc',
491       'dbus/shill_service_client_unittest.cc',
492       'dbus/shill_third_party_vpn_driver_client_unittest.cc',
493       'disks/disk_mount_manager_unittest.cc',
494       'geolocation/simple_geolocation_unittest.cc',
495       'login/auth/key_unittest.cc',
496       'login/login_state_unittest.cc',
497       'network/auto_connect_handler_unittest.cc',
498       'network/client_cert_resolver_unittest.cc',
499       'network/firewall_hole_unittest.cc',
500       'network/geolocation_handler_unittest.cc',
501       'network/host_resolver_impl_chromeos_unittest.cc',
502       'network/managed_network_configuration_handler_unittest.cc',
503       'network/network_cert_migrator_unittest.cc',
504       'network/network_change_notifier_chromeos_unittest.cc',
505       'network/network_configuration_handler_unittest.cc',
506       'network/network_connection_handler_unittest.cc',
507       'network/network_device_handler_unittest.cc',
508       'network/network_profile_handler_stub.h',
509       'network/network_sms_handler_unittest.cc',
510       'network/network_state_handler_unittest.cc',
511       'network/network_state_unittest.cc',
512       'network/network_type_pattern_unittest.cc',
513       'network/network_ui_data_unittest.cc',
514       'network/network_util_unittest.cc',
515       'network/onc/onc_certificate_importer_impl_unittest.cc',
516       'network/onc/onc_merger_unittest.cc',
517       'network/onc/onc_normalizer_unittest.cc',
518       'network/onc/onc_translator_unittest.cc',
519       'network/onc/onc_utils_unittest.cc',
520       'network/onc/onc_validator_unittest.cc',
521       'network/shill_property_handler_unittest.cc',
522       'process_proxy/process_output_watcher_unittest.cc',
523       'process_proxy/process_proxy_unittest.cc',
524       'settings/timezone_settings_unittest.cc',
525       'system/name_value_pairs_parser_unittest.cc',
526       'system/version_loader_unittest.cc',
527       'timezone/timezone_unittest.cc',
528       'tpm/tpm_token_info_getter_unittest.cc',
529     ],
530   },
531   'includes': [
532     'chromeos_tools.gypi'
533   ],
534   'targets': [
535     {
536       # GN version: //chromeos
537       'target_name': 'chromeos',
538       'type': '<(component)',
539       'dependencies': [
540         '../base/base.gyp:base',
541         '../base/base.gyp:base_i18n',
542         '../base/base.gyp:base_prefs',
543         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
544         '../build/linux/system.gyp:dbus',
545         '../build/linux/system.gyp:ssl',
546         '../components/components.gyp:cloud_policy_proto',
547         '../components/components.gyp:device_event_log_component',
548         '../components/components.gyp:onc_component',
549         '../crypto/crypto.gyp:crypto',
550         '../dbus/dbus.gyp:dbus',
551         '../google_apis/google_apis.gyp:google_apis',
552         '../net/net.gyp:net',
553         '../third_party/icu/icu.gyp:icui18n',
554         '../third_party/libxml/libxml.gyp:libxml',
555         '../third_party/protobuf/protobuf.gyp:protobuf_lite',
556         '../url/url.gyp:url_lib',
557         'cryptohome_proto',
558         'ime/input_method.gyp:gencode',
559         'power_manager_proto',
560       ],
561       'defines': [
562         'CHROMEOS_IMPLEMENTATION',
563       ],
564       'sources': [ '<@(chromeos_sources)' ],
565     },
566     {
567       # GN version: //chromeos:test_support
568       # This target contains mocks that can be used to write unit tests.
569       'target_name': 'chromeos_test_support',
570       'type': 'static_library',
571       'dependencies': [
572         '../build/linux/system.gyp:dbus',
573         '../testing/gmock.gyp:gmock',
574         'chromeos',
575         'chromeos_test_support_without_gmock',
576         'cryptohome_proto',
577         'power_manager_proto',
578       ],
579       # If you edit the file list of this target, please edit BUILD.gn as well.
580       'sources': [
581         'attestation/mock_attestation_flow.cc',
582         'attestation/mock_attestation_flow.h',
583         'chromeos_test_utils.cc',
584         'chromeos_test_utils.h',
585         'cryptohome/mock_async_method_caller.cc',
586         'cryptohome/mock_async_method_caller.h',
587         'cryptohome/mock_homedir_methods.cc',
588         'cryptohome/mock_homedir_methods.h',
589         'dbus/mock_cryptohome_client.cc',
590         'dbus/mock_cryptohome_client.h',
591         'dbus/mock_lorgnette_manager_client.cc',
592         'dbus/mock_lorgnette_manager_client.h',
593         'dbus/mock_permission_broker_client.cc',
594         'dbus/mock_permission_broker_client.h',
595         'dbus/mock_session_manager_client.cc',
596         'dbus/mock_session_manager_client.h',
597         'dbus/mock_shill_manager_client.cc',
598         'dbus/mock_shill_manager_client.h',
599         'dbus/mock_shill_profile_client.cc',
600         'dbus/mock_shill_profile_client.h',
601         'dbus/mock_shill_service_client.cc',
602         'dbus/mock_shill_service_client.h',
603         'dbus/services/service_provider_test_helper.cc',
604         'dbus/services/service_provider_test_helper.h',
605         'disks/mock_disk_mount_manager.cc',
606         'disks/mock_disk_mount_manager.h',
607         'login/auth/fake_extended_authenticator.cc',
608         'login/auth/fake_extended_authenticator.h',
609         'login/auth/mock_auth_attempt_state_resolver.cc',
610         'login/auth/mock_auth_attempt_state_resolver.h',
611         'login/auth/mock_auth_status_consumer.cc',
612         'login/auth/mock_auth_status_consumer.h',
613         'login/auth/mock_url_fetchers.cc',
614         'login/auth/mock_url_fetchers.h',
615         'network/fake_network_device_handler.cc',
616         'network/fake_network_device_handler.h',
617         'network/mock_managed_network_configuration_handler.cc',
618         'network/mock_managed_network_configuration_handler.h',
619         'network/onc/onc_test_utils.cc',
620         'network/onc/onc_test_utils.h',
621         'system/fake_statistics_provider.cc',
622         'system/fake_statistics_provider.h',
623       ],
624       'include_dirs': [
625         '..',
626       ],
627     },
628     {
629       # GN version: //chromeos:test_support_without_gmock
630       'target_name': 'chromeos_test_support_without_gmock',
631       'type': 'static_library',
632       'export_dependent_settings': [
633         # fake_power_manager_client.h includes pb.h files.
634         'power_manager_proto',
635       ],
636       'dependencies': [
637         '../build/linux/system.gyp:dbus',
638         '../crypto/crypto.gyp:crypto',
639         '../dbus/dbus.gyp:dbus',
640         'chromeos',
641         'cryptohome_proto',
642         'power_manager_proto',
643       ],
644       # If you edit the file list of this target, please edit BUILD.gn as well.
645       'sources': [
646         'dbus/fake_power_manager_client.cc',
647         'dbus/fake_power_manager_client.h',
648         'dbus/fake_session_manager_client.cc',
649         'dbus/fake_session_manager_client.h',
650         'dbus/fake_shill_manager_client.cc',
651         'dbus/fake_shill_manager_client.h',
652         'dbus/fake_update_engine_client.cc',
653         'dbus/fake_update_engine_client.h',
654       ],
655       'include_dirs': [
656         '..',
657       ],
658     },
659     {
660       # GN version: //chromeos:chromeos_unittests
661       'target_name': 'chromeos_unittests',
662       'type': 'executable',
663       'dependencies': [
664         '../base/base.gyp:base_prefs_test_support',
665         '../base/base.gyp:run_all_unittests',
666         '../base/base.gyp:test_support_base',
667         '../build/linux/system.gyp:dbus',
668         '../build/linux/system.gyp:ssl',
669         '../components/components.gyp:onc_component',
670         '../crypto/crypto.gyp:crypto',
671         '../crypto/crypto.gyp:crypto_test_support',
672         '../dbus/dbus.gyp:dbus_test_support',
673         '../google_apis/google_apis.gyp:google_apis',
674         '../net/net.gyp:net',
675         '../net/net.gyp:net_test_support',
676         '../testing/gmock.gyp:gmock',
677         '../testing/gtest.gyp:gtest',
678         '../third_party/icu/icu.gyp:icuuc',
679         '../third_party/icu/icu.gyp:icui18n',
680         '../url/url.gyp:url_lib',
681         'chromeos_test_support',
682         'cryptohome_proto',
683         'power_manager_proto',
684       ],
685       'sources': [ '<@(chromeos_test_sources)' ],
686       'include_dirs': [
687         '..',
688       ],
689       'conditions': [
690         [ 'use_allocator!="none"', {
691           'dependencies': [
692             '../base/allocator/allocator.gyp:allocator',
693           ],
694           },
695         ],
696       ],
697     },
698     {
699       # GN version: //chromeos:power_manager_proto
700       # Protobuf compiler/generator for power-manager related protocol buffers.
701       'target_name': 'power_manager_proto',
702       'type': 'static_library',
703       'sources': [
704         '../third_party/cros_system_api/dbus/power_manager/input_event.proto',
705         '../third_party/cros_system_api/dbus/power_manager/peripheral_battery_status.proto',
706         '../third_party/cros_system_api/dbus/power_manager/policy.proto',
707         '../third_party/cros_system_api/dbus/power_manager/power_supply_properties.proto',
708         '../third_party/cros_system_api/dbus/power_manager/suspend.proto',
709       ],
710       'variables': {
711         'proto_in_dir': '../third_party/cros_system_api/dbus/power_manager',
712         'proto_out_dir': 'chromeos/dbus/power_manager',
713       },
714       'includes': ['../build/protoc.gypi'],
715     },
716     {
717       # GN version: //chromeos:cryptohome_proto
718       # Protobuf compiler/generator for cryptohome related protocol buffers.
719       'target_name': 'cryptohome_proto',
720       'type': 'static_library',
721       'sources': [
722         '../third_party/cros_system_api/dbus/cryptohome/key.proto',
723         '../third_party/cros_system_api/dbus/cryptohome/rpc.proto',
724       ],
725       'variables': {
726         'proto_in_dir': '../third_party/cros_system_api/dbus/cryptohome',
727         'proto_out_dir': 'chromeos/dbus/cryptohome',
728       },
729       'includes': ['../build/protoc.gypi'],
730     },
731     {
732       # GN version: //chromeos:cryptohome_signkey_proto
733       # Protobuf compiler/generator for cryptohome key signing protocol buffer.
734       'target_name': 'cryptohome_signkey_proto',
735       'type': 'static_library',
736       'sources': [
737         '../third_party/cros_system_api/dbus/cryptohome/signed_secret.proto',
738       ],
739       'variables': {
740         'proto_in_dir': '../third_party/cros_system_api/dbus/cryptohome',
741         'proto_out_dir': 'chromeos/cryptohome',
742       },
743       'includes': ['../build/protoc.gypi'],
744     },
745   ],