Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / chromeos / chromeos.gyp
blobe84d8cd3bc7300c9682894aa009e9c961385285e
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_lorgnette_manager_client.cc',
178       'dbus/fake_lorgnette_manager_client.h',
179       'dbus/fake_modem_messaging_client.cc',
180       'dbus/fake_modem_messaging_client.h',
181       'dbus/fake_nfc_adapter_client.cc',
182       'dbus/fake_nfc_adapter_client.h',
183       'dbus/fake_nfc_device_client.cc',
184       'dbus/fake_nfc_device_client.h',
185       'dbus/fake_nfc_manager_client.cc',
186       'dbus/fake_nfc_manager_client.h',
187       'dbus/fake_nfc_record_client.cc',
188       'dbus/fake_nfc_record_client.h',
189       'dbus/fake_nfc_tag_client.cc',
190       'dbus/fake_nfc_tag_client.h',
191       'dbus/fake_peer_daemon_manager_client.cc',
192       'dbus/fake_peer_daemon_manager_client.h',
193       'dbus/fake_permission_broker_client.cc',
194       'dbus/fake_permission_broker_client.h',
195       'dbus/fake_power_manager_client.cc',
196       'dbus/fake_power_manager_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/lorgnette_manager_client.cc',
222       'dbus/lorgnette_manager_client.h',
223       'dbus/modem_messaging_client.cc',
224       'dbus/modem_messaging_client.h',
225       'dbus/nfc_adapter_client.cc',
226       'dbus/nfc_adapter_client.h',
227       'dbus/nfc_client_helpers.cc',
228       'dbus/nfc_client_helpers.h',
229       'dbus/nfc_device_client.cc',
230       'dbus/nfc_device_client.h',
231       'dbus/nfc_manager_client.cc',
232       'dbus/nfc_manager_client.h',
233       'dbus/nfc_property_set.cc',
234       'dbus/nfc_property_set.h',
235       'dbus/nfc_record_client.cc',
236       'dbus/nfc_record_client.h',
237       'dbus/nfc_tag_client.cc',
238       'dbus/nfc_tag_client.h',
239       'dbus/peer_daemon_manager_client.cc',
240       'dbus/peer_daemon_manager_client.h',
241       'dbus/permission_broker_client.cc',
242       'dbus/permission_broker_client.h',
243       'dbus/pipe_reader.cc',
244       'dbus/pipe_reader.h',
245       'dbus/power_manager_client.cc',
246       'dbus/power_manager_client.h',
247       'dbus/power_policy_controller.cc',
248       'dbus/power_policy_controller.h',
249       'dbus/privet_daemon_manager_client.cc',
250       'dbus/privet_daemon_manager_client.h',
251       'dbus/services/console_service_provider.cc',
252       'dbus/services/console_service_provider.h',
253       'dbus/services/cros_dbus_service.cc',
254       'dbus/services/cros_dbus_service.h',
255       'dbus/services/display_power_service_provider.cc',
256       'dbus/services/display_power_service_provider.h',
257       'dbus/services/liveness_service_provider.cc',
258       'dbus/services/liveness_service_provider.h',
259       'dbus/services/proxy_resolution_service_provider.cc',
260       'dbus/services/proxy_resolution_service_provider.h',
261       'dbus/session_manager_client.cc',
262       'dbus/session_manager_client.h',
263       'dbus/shill_client_helper.cc',
264       'dbus/shill_client_helper.h',
265       'dbus/shill_device_client.cc',
266       'dbus/shill_device_client.h',
267       'dbus/shill_ipconfig_client.cc',
268       'dbus/shill_ipconfig_client.h',
269       'dbus/shill_manager_client.cc',
270       'dbus/shill_manager_client.h',
271       'dbus/shill_profile_client.cc',
272       'dbus/shill_profile_client.h',
273       'dbus/shill_service_client.cc',
274       'dbus/shill_service_client.h',
275       'dbus/shill_third_party_vpn_driver_client.cc',
276       'dbus/shill_third_party_vpn_driver_client.h',
277       'dbus/sms_client.cc',
278       'dbus/sms_client.h',
279       'dbus/system_clock_client.cc',
280       'dbus/system_clock_client.h',
281       'dbus/update_engine_client.cc',
282       'dbus/update_engine_client.h',
283       'dbus/volume_state.cc',
284       'dbus/volume_state.h',
285       'disks/disk_mount_manager.cc',
286       'disks/disk_mount_manager.h',
287       'disks/suspend_unmount_manager.cc',
288       'disks/suspend_unmount_manager.h',
289       'geolocation/geoposition.cc',
290       'geolocation/geoposition.h',
291       'geolocation/simple_geolocation_provider.cc',
292       'geolocation/simple_geolocation_provider.h',
293       'geolocation/simple_geolocation_request.cc',
294       'geolocation/simple_geolocation_request.h',
295       'login/auth/auth_attempt_state.cc',
296       'login/auth/auth_attempt_state.h',
297       'login/auth/auth_attempt_state_resolver.cc',
298       'login/auth/auth_attempt_state_resolver.h',
299       'login/auth/auth_status_consumer.cc',
300       'login/auth/auth_status_consumer.h',
301       'login/auth/authenticator.cc',
302       'login/auth/authenticator.h',
303       'login/auth/cryptohome_authenticator.cc',
304       'login/auth/cryptohome_authenticator.h',
305       'login/auth/extended_authenticator.cc',
306       'login/auth/extended_authenticator.h',
307       'login/auth/extended_authenticator_impl.cc',
308       'login/auth/extended_authenticator_impl.h',
309       'login/auth/key.cc',
310       'login/auth/key.h',
311       'login/auth/login_performer.cc',
312       'login/auth/login_performer.h',
313       'login/auth/online_attempt.cc',
314       'login/auth/online_attempt.h',
315       'login/auth/online_attempt_host.cc',
316       'login/auth/online_attempt_host.h',
317       'login/auth/stub_authenticator.cc',
318       'login/auth/stub_authenticator.h',
319       'login/auth/test_attempt_state.cc',
320       'login/auth/test_attempt_state.h',
321       'login/auth/user_context.cc',
322       'login/auth/user_context.h',
323       'login/login_state.cc',
324       'login/login_state.h',
325       'login/user_names.cc',
326       'login/user_names.h',
327       'login_event_recorder.cc',
328       'login_event_recorder.h',
329       'network/auto_connect_handler.cc',
330       'network/auto_connect_handler.h',
331       'network/certificate_pattern.cc',
332       'network/certificate_pattern.h',
333       'network/client_cert_resolver.cc',
334       'network/client_cert_resolver.h',
335       'network/client_cert_util.cc',
336       'network/client_cert_util.h',
337       'network/device_state.cc',
338       'network/device_state.h',
339       'network/dhcp_proxy_script_fetcher_chromeos.cc',
340       'network/dhcp_proxy_script_fetcher_chromeos.h',
341       'network/geolocation_handler.cc',
342       'network/geolocation_handler.h',
343       'network/host_resolver_impl_chromeos.cc',
344       'network/host_resolver_impl_chromeos.h',
345       'network/managed_network_configuration_handler.cc',
346       'network/managed_network_configuration_handler.h',
347       'network/managed_network_configuration_handler_impl.cc',
348       'network/managed_network_configuration_handler_impl.h',
349       'network/managed_state.cc',
350       'network/managed_state.h',
351       'network/firewall_hole.cc',
352       'network/firewall_hole.h',
353       'network/network_activation_handler.cc',
354       'network/network_activation_handler.h',
355       'network/network_cert_migrator.cc',
356       'network/network_cert_migrator.h',
357       'network/network_change_notifier_chromeos.cc',
358       'network/network_change_notifier_chromeos.h',
359       'network/network_change_notifier_factory_chromeos.cc',
360       'network/network_change_notifier_factory_chromeos.h',
361       'network/network_configuration_handler.cc',
362       'network/network_configuration_handler.h',
363       'network/network_configuration_observer.h',
364       'network/network_connection_handler.cc',
365       'network/network_connection_handler.h',
366       'network/network_connection_observer.cc',
367       'network/network_connection_observer.h',
368       'network/network_device_handler.cc',
369       'network/network_device_handler.h',
370       'network/network_device_handler_impl.cc',
371       'network/network_device_handler_impl.h',
372       'network/network_event_log.h',
373       'network/network_handler.cc',
374       'network/network_handler.h',
375       'network/network_handler_callbacks.cc',
376       'network/network_handler_callbacks.h',
377       'network/network_ip_config.cc',
378       'network/network_ip_config.h',
379       'network/network_profile.cc',
380       'network/network_profile.h',
381       'network/network_profile_handler.cc',
382       'network/network_profile_handler.h',
383       'network/network_profile_observer.h',
384       'network/network_sms_handler.cc',
385       'network/network_sms_handler.h',
386       'network/network_state.cc',
387       'network/network_state.h',
388       'network/network_state_handler.cc',
389       'network/network_state_handler.h',
390       'network/network_state_handler_observer.cc',
391       'network/network_state_handler_observer.h',
392       'network/network_type_pattern.cc',
393       'network/network_type_pattern.h',
394       'network/network_ui_data.cc',
395       'network/network_ui_data.h',
396       'network/network_util.cc',
397       'network/network_util.h',
398       'network/onc/onc_certificate_importer.h',
399       'network/onc/onc_certificate_importer_impl.cc',
400       'network/onc/onc_certificate_importer_impl.h',
401       'network/onc/onc_mapper.cc',
402       'network/onc/onc_mapper.h',
403       'network/onc/onc_merger.cc',
404       'network/onc/onc_merger.h',
405       'network/onc/onc_normalizer.cc',
406       'network/onc/onc_normalizer.h',
407       'network/onc/onc_signature.cc',
408       'network/onc/onc_signature.h',
409       'network/onc/onc_translation_tables.cc',
410       'network/onc/onc_translation_tables.h',
411       'network/onc/onc_translator.h',
412       'network/onc/onc_translator_onc_to_shill.cc',
413       'network/onc/onc_translator_shill_to_onc.cc',
414       'network/onc/onc_utils.cc',
415       'network/onc/onc_utils.h',
416       'network/onc/onc_validator.cc',
417       'network/onc/onc_validator.h',
418       'network/policy_applicator.cc',
419       'network/policy_applicator.h',
420       'network/policy_util.cc',
421       'network/policy_util.h',
422       'network/portal_detector/network_portal_detector.cc',
423       'network/portal_detector/network_portal_detector.h',
424       'network/portal_detector/network_portal_detector_strategy.cc',
425       'network/portal_detector/network_portal_detector_strategy.h',
426       'network/shill_property_handler.cc',
427       'network/shill_property_handler.h',
428       'network/shill_property_util.cc',
429       'network/shill_property_util.h',
430       'process_proxy/process_output_watcher.cc',
431       'process_proxy/process_output_watcher.h',
432       'process_proxy/process_proxy.cc',
433       'process_proxy/process_proxy.h',
434       'process_proxy/process_proxy_registry.cc',
435       'process_proxy/process_proxy_registry.h',
436       'settings/cros_settings_names.cc',
437       'settings/cros_settings_names.h',
438       'settings/cros_settings_provider.cc',
439       'settings/cros_settings_provider.h',
440       'settings/timezone_settings.cc',
441       'settings/timezone_settings.h',
442       'settings/timezone_settings_helper.cc',
443       'settings/timezone_settings_helper.h',
444       'system/devicetype.cc',
445       'system/devicetype.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/fake_power_manager_client_unittest.cc',
478       'dbus/gsm_sms_client_unittest.cc',
479       'dbus/introspectable_client_unittest.cc',
480       'dbus/modem_messaging_client_unittest.cc',
481       'dbus/nfc_client_unittest.cc',
482       'dbus/power_policy_controller_unittest.cc',
483       'dbus/privet_daemon_manager_client_unittest.cc',
484       'dbus/services/cros_dbus_service_unittest.cc',
485       'dbus/services/proxy_resolution_service_provider_unittest.cc',
486       'dbus/shill_client_unittest_base.cc',
487       'dbus/shill_client_unittest_base.h',
488       'dbus/shill_device_client_unittest.cc',
489       'dbus/shill_ipconfig_client_unittest.cc',
490       'dbus/shill_manager_client_unittest.cc',
491       'dbus/shill_profile_client_unittest.cc',
492       'dbus/shill_service_client_unittest.cc',
493       'dbus/shill_third_party_vpn_driver_client_unittest.cc',
494       'disks/disk_mount_manager_unittest.cc',
495       'disks/suspend_unmount_manager_unittest.cc',
496       'geolocation/simple_geolocation_unittest.cc',
497       'login/auth/key_unittest.cc',
498       'login/login_state_unittest.cc',
499       'network/auto_connect_handler_unittest.cc',
500       'network/client_cert_resolver_unittest.cc',
501       'network/firewall_hole_unittest.cc',
502       'network/geolocation_handler_unittest.cc',
503       'network/host_resolver_impl_chromeos_unittest.cc',
504       'network/managed_network_configuration_handler_unittest.cc',
505       'network/network_cert_migrator_unittest.cc',
506       'network/network_change_notifier_chromeos_unittest.cc',
507       'network/network_configuration_handler_unittest.cc',
508       'network/network_connection_handler_unittest.cc',
509       'network/network_device_handler_unittest.cc',
510       'network/network_profile_handler_stub.h',
511       'network/network_sms_handler_unittest.cc',
512       'network/network_state_handler_unittest.cc',
513       'network/network_state_unittest.cc',
514       'network/network_type_pattern_unittest.cc',
515       'network/network_ui_data_unittest.cc',
516       'network/network_util_unittest.cc',
517       'network/onc/onc_certificate_importer_impl_unittest.cc',
518       'network/onc/onc_merger_unittest.cc',
519       'network/onc/onc_normalizer_unittest.cc',
520       'network/onc/onc_translator_unittest.cc',
521       'network/onc/onc_utils_unittest.cc',
522       'network/onc/onc_validator_unittest.cc',
523       'network/shill_property_handler_unittest.cc',
524       'process_proxy/process_output_watcher_unittest.cc',
525       'process_proxy/process_proxy_unittest.cc',
526       'settings/timezone_settings_unittest.cc',
527       'system/name_value_pairs_parser_unittest.cc',
528       'system/version_loader_unittest.cc',
529       'timezone/timezone_unittest.cc',
530       'tpm/tpm_token_info_getter_unittest.cc',
531     ],
532   },
533   'includes': [
534     'chromeos_tools.gypi'
535   ],
536   'targets': [
537     {
538       # GN version: //chromeos
539       'target_name': 'chromeos',
540       'type': '<(component)',
541       'dependencies': [
542         '../base/base.gyp:base',
543         '../base/base.gyp:base_i18n',
544         '../base/base.gyp:base_prefs',
545         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
546         '../build/linux/system.gyp:dbus',
547         '../build/linux/system.gyp:ssl',
548         '../components/components.gyp:cloud_policy_proto',
549         '../components/components.gyp:device_event_log_component',
550         '../components/components.gyp:onc_component',
551         '../components/components.gyp:proxy_config',
552         '../crypto/crypto.gyp:crypto',
553         '../dbus/dbus.gyp:dbus',
554         '../google_apis/google_apis.gyp:google_apis',
555         '../net/net.gyp:net',
556         '../third_party/icu/icu.gyp:icui18n',
557         '../third_party/libxml/libxml.gyp:libxml',
558         '../third_party/protobuf/protobuf.gyp:protobuf_lite',
559         '../url/url.gyp:url_lib',
560         'cryptohome_proto',
561         'ime/input_method.gyp:gencode',
562         'power_manager_proto',
563       ],
564       'defines': [
565         'CHROMEOS_IMPLEMENTATION',
566       ],
567       'sources': [ '<@(chromeos_sources)' ],
568     },
569     {
570       # GN version: //chromeos:test_support
571       # This target contains mocks that can be used to write unit tests.
572       'target_name': 'chromeos_test_support',
573       'type': 'static_library',
574       'dependencies': [
575         '../build/linux/system.gyp:dbus',
576         '../google_apis/google_apis.gyp:google_apis_test_support',
577         '../testing/gmock.gyp:gmock',
578         'chromeos',
579         'chromeos_test_support_without_gmock',
580         'cryptohome_proto',
581         'power_manager_proto',
582       ],
583       # If you edit the file list of this target, please edit BUILD.gn as well.
584       'sources': [
585         'attestation/mock_attestation_flow.cc',
586         'attestation/mock_attestation_flow.h',
587         'chromeos_test_utils.cc',
588         'chromeos_test_utils.h',
589         'cryptohome/mock_async_method_caller.cc',
590         'cryptohome/mock_async_method_caller.h',
591         'cryptohome/mock_homedir_methods.cc',
592         'cryptohome/mock_homedir_methods.h',
593         'dbus/mock_cryptohome_client.cc',
594         'dbus/mock_cryptohome_client.h',
595         'dbus/mock_lorgnette_manager_client.cc',
596         'dbus/mock_lorgnette_manager_client.h',
597         'dbus/mock_permission_broker_client.cc',
598         'dbus/mock_permission_broker_client.h',
599         'dbus/mock_session_manager_client.cc',
600         'dbus/mock_session_manager_client.h',
601         'dbus/mock_shill_manager_client.cc',
602         'dbus/mock_shill_manager_client.h',
603         'dbus/mock_shill_profile_client.cc',
604         'dbus/mock_shill_profile_client.h',
605         'dbus/mock_shill_service_client.cc',
606         'dbus/mock_shill_service_client.h',
607         'dbus/services/service_provider_test_helper.cc',
608         'dbus/services/service_provider_test_helper.h',
609         'disks/mock_disk_mount_manager.cc',
610         'disks/mock_disk_mount_manager.h',
611         'login/auth/fake_extended_authenticator.cc',
612         'login/auth/fake_extended_authenticator.h',
613         'login/auth/mock_auth_attempt_state_resolver.cc',
614         'login/auth/mock_auth_attempt_state_resolver.h',
615         'login/auth/mock_auth_status_consumer.cc',
616         'login/auth/mock_auth_status_consumer.h',
617         'login/auth/mock_url_fetchers.cc',
618         'login/auth/mock_url_fetchers.h',
619         'network/fake_network_device_handler.cc',
620         'network/fake_network_device_handler.h',
621         'network/mock_managed_network_configuration_handler.cc',
622         'network/mock_managed_network_configuration_handler.h',
623         'network/onc/onc_test_utils.cc',
624         'network/onc/onc_test_utils.h',
625         'system/fake_statistics_provider.cc',
626         'system/fake_statistics_provider.h',
627       ],
628       'include_dirs': [
629         '..',
630       ],
631     },
632     {
633       # GN version: //chromeos:test_support_without_gmock
634       'target_name': 'chromeos_test_support_without_gmock',
635       'type': 'static_library',
636       'export_dependent_settings': [
637         'power_manager_proto',
638       ],
639       'dependencies': [
640         '../build/linux/system.gyp:dbus',
641         '../crypto/crypto.gyp:crypto',
642         '../dbus/dbus.gyp:dbus',
643         'chromeos',
644         'cryptohome_proto',
645         'power_manager_proto',
646       ],
647       # If you edit the file list of this target, please edit BUILD.gn as well.
648       'sources': [
649         'dbus/fake_session_manager_client.cc',
650         'dbus/fake_session_manager_client.h',
651         'dbus/fake_shill_manager_client.cc',
652         'dbus/fake_shill_manager_client.h',
653         'dbus/fake_update_engine_client.cc',
654         'dbus/fake_update_engine_client.h',
655       ],
656       'include_dirs': [
657         '..',
658       ],
659     },
660     {
661       # GN version: //chromeos:chromeos_unittests
662       'target_name': 'chromeos_unittests',
663       'type': 'executable',
664       'dependencies': [
665         '../base/base.gyp:base_prefs_test_support',
666         '../base/base.gyp:run_all_unittests',
667         '../base/base.gyp:test_support_base',
668         '../build/linux/system.gyp:dbus',
669         '../build/linux/system.gyp:ssl',
670         '../components/components.gyp:onc_component',
671         '../components/components.gyp:proxy_config',
672         '../crypto/crypto.gyp:crypto',
673         '../crypto/crypto.gyp:crypto_test_support',
674         '../dbus/dbus.gyp:dbus_test_support',
675         '../google_apis/google_apis.gyp:google_apis',
676         '../net/net.gyp:net',
677         '../net/net.gyp:net_test_support',
678         '../testing/gmock.gyp:gmock',
679         '../testing/gtest.gyp:gtest',
680         '../third_party/icu/icu.gyp:icuuc',
681         '../third_party/icu/icu.gyp:icui18n',
682         '../url/url.gyp:url_lib',
683         'chromeos_test_support',
684         'cryptohome_proto',
685         'power_manager_proto',
686       ],
687       'sources': [ '<@(chromeos_test_sources)' ],
688       'include_dirs': [
689         '..',
690       ],
691       'conditions': [
692         [ 'use_allocator!="none"', {
693           'dependencies': [
694             '../base/allocator/allocator.gyp:allocator',
695           ],
696           },
697         ],
698       ],
699     },
700     {
701       # GN version: //chromeos:power_manager_proto
702       # Protobuf compiler/generator for power-manager related protocol buffers.
703       'target_name': 'power_manager_proto',
704       'type': 'static_library',
705       'sources': [
706         '../third_party/cros_system_api/dbus/power_manager/input_event.proto',
707         '../third_party/cros_system_api/dbus/power_manager/peripheral_battery_status.proto',
708         '../third_party/cros_system_api/dbus/power_manager/policy.proto',
709         '../third_party/cros_system_api/dbus/power_manager/power_supply_properties.proto',
710         '../third_party/cros_system_api/dbus/power_manager/suspend.proto',
711       ],
712       'variables': {
713         'proto_in_dir': '../third_party/cros_system_api/dbus/power_manager',
714         'proto_out_dir': 'chromeos/dbus/power_manager',
715       },
716       'includes': ['../build/protoc.gypi'],
717     },
718     {
719       # GN version: //chromeos:cryptohome_proto
720       # Protobuf compiler/generator for cryptohome related protocol buffers.
721       'target_name': 'cryptohome_proto',
722       'type': 'static_library',
723       'sources': [
724         '../third_party/cros_system_api/dbus/cryptohome/key.proto',
725         '../third_party/cros_system_api/dbus/cryptohome/rpc.proto',
726       ],
727       'variables': {
728         'proto_in_dir': '../third_party/cros_system_api/dbus/cryptohome',
729         'proto_out_dir': 'chromeos/dbus/cryptohome',
730       },
731       'includes': ['../build/protoc.gypi'],
732     },
733     {
734       # GN version: //chromeos:cryptohome_signkey_proto
735       # Protobuf compiler/generator for cryptohome key signing protocol buffer.
736       'target_name': 'cryptohome_signkey_proto',
737       'type': 'static_library',
738       'sources': [
739         '../third_party/cros_system_api/dbus/cryptohome/signed_secret.proto',
740       ],
741       'variables': {
742         'proto_in_dir': '../third_party/cros_system_api/dbus/cryptohome',
743         'proto_out_dir': 'chromeos/cryptohome',
744       },
745       'includes': ['../build/protoc.gypi'],
746     },
747   ],
748   'conditions': [
749     ['test_isolation_mode != "noop"', {
750       'targets': [
751         {
752           'target_name': 'chromeos_unittests_run',
753           'type': 'none',
754           'dependencies': [
755             'chromeos_unittests',
756           ],
757           'includes': [
758             '../build/isolate.gypi',
759           ],
760           'sources': [
761             'chromeos_unittests.isolate',
762           ],
763         },
764       ],
765     }],
766   ],