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