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