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