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