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