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