Adding yfriedman@ as owner for the enhanced_bookmarks component.
[chromium-blink-merge.git] / chromeos / chromeos.gyp
blob872a7821d8ef430255264561a3cba3405dd92755
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/gfx/gfx.gyp:gfx_geometry',
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_implementation_type.h',
118         'dbus/dbus_method_call_status.cc',
119         'dbus/dbus_method_call_status.h',
120         'dbus/dbus_thread_manager.cc',
121         'dbus/dbus_thread_manager.h',
122         'dbus/debug_daemon_client.cc',
123         'dbus/debug_daemon_client.h',
124         'dbus/easy_unlock_client.cc',
125         'dbus/easy_unlock_client.h',
126         'dbus/fake_bluetooth_adapter_client.cc',
127         'dbus/fake_bluetooth_adapter_client.h',
128         'dbus/fake_bluetooth_agent_manager_client.cc',
129         'dbus/fake_bluetooth_agent_manager_client.h',
130         'dbus/fake_bluetooth_agent_service_provider.cc',
131         'dbus/fake_bluetooth_agent_service_provider.h',
132         'dbus/fake_bluetooth_device_client.cc',
133         'dbus/fake_bluetooth_device_client.h',
134         'dbus/fake_bluetooth_gatt_characteristic_client.cc',
135         'dbus/fake_bluetooth_gatt_characteristic_client.h',
136         'dbus/fake_bluetooth_gatt_characteristic_service_provider.cc',
137         'dbus/fake_bluetooth_gatt_characteristic_service_provider.h',
138         'dbus/fake_bluetooth_gatt_descriptor_client.cc',
139         'dbus/fake_bluetooth_gatt_descriptor_client.h',
140         'dbus/fake_bluetooth_gatt_descriptor_service_provider.cc',
141         'dbus/fake_bluetooth_gatt_descriptor_service_provider.h',
142         'dbus/fake_bluetooth_gatt_manager_client.cc',
143         'dbus/fake_bluetooth_gatt_manager_client.h',
144         'dbus/fake_bluetooth_gatt_service_client.cc',
145         'dbus/fake_bluetooth_gatt_service_client.h',
146         'dbus/fake_bluetooth_gatt_service_service_provider.cc',
147         'dbus/fake_bluetooth_gatt_service_service_provider.h',
148         'dbus/fake_bluetooth_input_client.cc',
149         'dbus/fake_bluetooth_input_client.h',
150         'dbus/fake_bluetooth_profile_manager_client.cc',
151         'dbus/fake_bluetooth_profile_manager_client.h',
152         'dbus/fake_bluetooth_profile_service_provider.cc',
153         'dbus/fake_bluetooth_profile_service_provider.h',
154         'dbus/fake_cryptohome_client.cc',
155         'dbus/fake_cryptohome_client.h',
156         'dbus/fake_dbus_thread_manager.cc',
157         'dbus/fake_dbus_thread_manager.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/extended_authenticator.cc',
281         'login/auth/extended_authenticator.h',
282         'login/auth/key.cc',
283         'login/auth/key.h',
284         'login/auth/test_attempt_state.cc',
285         'login/auth/test_attempt_state.h',
286         'login/auth/user_context.cc',
287         'login/auth/user_context.h',
288         'login/login_state.cc',
289         'login/login_state.h',
290         'login/user_names.cc',
291         'login/user_names.h',
292         'login_event_recorder.cc',
293         'login_event_recorder.h',
294         'network/certificate_pattern.cc',
295         'network/certificate_pattern.h',
296         'network/client_cert_resolver.cc',
297         'network/client_cert_resolver.h',
298         'network/client_cert_util.cc',
299         'network/client_cert_util.h',
300         'network/device_state.cc',
301         'network/device_state.h',
302         'network/dhcp_proxy_script_fetcher_chromeos.cc',
303         'network/dhcp_proxy_script_fetcher_chromeos.h',
304         'network/geolocation_handler.cc',
305         'network/geolocation_handler.h',
306         'network/host_resolver_impl_chromeos.cc',
307         'network/host_resolver_impl_chromeos.h',
308         'network/managed_network_configuration_handler.cc',
309         'network/managed_network_configuration_handler.h',
310         'network/managed_network_configuration_handler_impl.cc',
311         'network/managed_network_configuration_handler_impl.h',
312         'network/managed_state.cc',
313         'network/managed_state.h',
314         'network/network_activation_handler.cc',
315         'network/network_activation_handler.h',
316         'network/network_cert_migrator.cc',
317         'network/network_cert_migrator.h',
318         'network/network_change_notifier_chromeos.cc',
319         'network/network_change_notifier_chromeos.h',
320         'network/network_change_notifier_factory_chromeos.cc',
321         'network/network_change_notifier_factory_chromeos.h',
322         'network/network_configuration_handler.cc',
323         'network/network_configuration_handler.h',
324         'network/network_connection_handler.cc',
325         'network/network_connection_handler.h',
326         'network/network_device_handler.cc',
327         'network/network_device_handler.h',
328         'network/network_device_handler_impl.cc',
329         'network/network_device_handler_impl.h',
330         'network/network_event_log.cc',
331         'network/network_event_log.h',
332         'network/network_handler.cc',
333         'network/network_handler.h',
334         'network/network_handler_callbacks.cc',
335         'network/network_handler_callbacks.h',
336         'network/network_ip_config.cc',
337         'network/network_ip_config.h',
338         'network/network_profile.cc',
339         'network/network_profile.h',
340         'network/network_profile_handler.cc',
341         'network/network_profile_handler.h',
342         'network/network_profile_observer.h',
343         'network/network_sms_handler.cc',
344         'network/network_sms_handler.h',
345         'network/network_state.cc',
346         'network/network_state.h',
347         'network/network_state_handler.cc',
348         'network/network_state_handler.h',
349         'network/network_state_handler_observer.cc',
350         'network/network_state_handler_observer.h',
351         'network/network_type_pattern.cc',
352         'network/network_type_pattern.h',
353         'network/network_ui_data.cc',
354         'network/network_ui_data.h',
355         'network/network_util.cc',
356         'network/network_util.h',
357         'network/onc/onc_certificate_importer.h',
358         'network/onc/onc_certificate_importer_impl.cc',
359         'network/onc/onc_certificate_importer_impl.h',
360         'network/onc/onc_mapper.cc',
361         'network/onc/onc_mapper.h',
362         'network/onc/onc_merger.cc',
363         'network/onc/onc_merger.h',
364         'network/onc/onc_normalizer.cc',
365         'network/onc/onc_normalizer.h',
366         'network/onc/onc_signature.cc',
367         'network/onc/onc_signature.h',
368         'network/onc/onc_translation_tables.cc',
369         'network/onc/onc_translation_tables.h',
370         'network/onc/onc_translator.h',
371         'network/onc/onc_translator_onc_to_shill.cc',
372         'network/onc/onc_translator_shill_to_onc.cc',
373         'network/onc/onc_utils.cc',
374         'network/onc/onc_utils.h',
375         'network/onc/onc_validator.cc',
376         'network/onc/onc_validator.h',
377         'network/policy_applicator.cc',
378         'network/policy_applicator.h',
379         'network/policy_util.cc',
380         'network/policy_util.h',
381         'network/portal_detector/network_portal_detector.cc',
382         'network/portal_detector/network_portal_detector.h',
383         'network/portal_detector/network_portal_detector_strategy.cc',
384         'network/portal_detector/network_portal_detector_strategy.h',
385         'network/shill_property_handler.cc',
386         'network/shill_property_handler.h',
387         'network/shill_property_util.cc',
388         'network/shill_property_util.h',
389         'process_proxy/process_output_watcher.cc',
390         'process_proxy/process_output_watcher.h',
391         'process_proxy/process_proxy.cc',
392         'process_proxy/process_proxy.h',
393         'process_proxy/process_proxy_registry.cc',
394         'process_proxy/process_proxy_registry.h',
395         'settings/cros_settings_names.cc',
396         'settings/cros_settings_names.h',
397         'settings/cros_settings_provider.cc',
398         'settings/cros_settings_provider.h',
399         'settings/timezone_settings.cc',
400         'settings/timezone_settings.h',
401         'system/name_value_pairs_parser.cc',
402         'system/name_value_pairs_parser.h',
403         'system/statistics_provider.cc',
404         'system/statistics_provider.h',
405         'tpm_token_loader.cc',
406         'tpm_token_loader.h'
407       ],
408       'conditions': [
409         ['use_x11 == 1', {
410           'dependencies': [
411             '../build/linux/system.gyp:x11',
412             '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
413           ],
414         }, {
415           # use_x11 == 0
416           'sources!': [
417             'ime/keyboard_controller.cc',
418             'ime/ime_keyboard.h',
419           ],
420         }],
421       ],
422     },
423     {
424       # This target contains mocks that can be used to write unit tests.
425       'target_name': 'chromeos_test_support',
426       'type': 'static_library',
427       'dependencies': [
428         '../build/linux/system.gyp:dbus',
429         '../testing/gmock.gyp:gmock',
430         'chromeos',
431         'chromeos_test_support_without_gmock',
432         'cryptohome_proto',
433         'power_manager_proto',
434       ],
435       'sources': [
436         'attestation/mock_attestation_flow.cc',
437         'attestation/mock_attestation_flow.h',
438         'chromeos_test_utils.cc',
439         'chromeos_test_utils.h',
440         'cryptohome/mock_async_method_caller.cc',
441         'cryptohome/mock_async_method_caller.h',
442         'cryptohome/mock_homedir_methods.cc',
443         'cryptohome/mock_homedir_methods.h',
444         'dbus/mock_cryptohome_client.cc',
445         'dbus/mock_cryptohome_client.h',
446         'dbus/mock_session_manager_client.cc',
447         'dbus/mock_session_manager_client.h',
448         'dbus/mock_shill_manager_client.cc',
449         'dbus/mock_shill_manager_client.h',
450         'dbus/mock_shill_profile_client.cc',
451         'dbus/mock_shill_profile_client.h',
452         'dbus/mock_shill_service_client.cc',
453         'dbus/mock_shill_service_client.h',
454         'disks/mock_disk_mount_manager.cc',
455         'disks/mock_disk_mount_manager.h',
456         'ime/mock_component_extension_ime_manager_delegate.cc',
457         'ime/mock_component_extension_ime_manager_delegate.h',
458         'login/auth/mock_auth_attempt_state_resolver.cc',
459         'login/auth/mock_auth_attempt_state_resolver.h',
460         'login/auth/mock_auth_status_consumer.cc',
461         'login/auth/mock_auth_status_consumer.h',
462         'login/auth/mock_authenticator.cc',
463         'login/auth/mock_authenticator.h',
464         'network/fake_network_device_handler.cc',
465         'network/fake_network_device_handler.h',
466         'network/mock_managed_network_configuration_handler.cc',
467         'network/mock_managed_network_configuration_handler.h',
468         'network/onc/mock_certificate_importer.cc',
469         'network/onc/mock_certificate_importer.h',
470         'network/onc/onc_test_utils.cc',
471         'network/onc/onc_test_utils.h',
472         'system/mock_statistics_provider.cc',
473         'system/mock_statistics_provider.h',
474       ],
475       'include_dirs': [
476         '..',
477       ],
478     },
479     {
480       'target_name': 'chromeos_test_support_without_gmock',
481       'type': 'static_library',
482       'dependencies': [
483         '../build/linux/system.gyp:dbus',
484         '../crypto/crypto.gyp:crypto',
485         '../dbus/dbus.gyp:dbus',
486         'chromeos',
487         'cryptohome_proto',
488         'power_manager_proto',
489       ],
490       'sources': [
491         'dbus/fake_cros_disks_client.cc',
492         'dbus/fake_cros_disks_client.h',
493         'dbus/fake_power_manager_client.cc',
494         'dbus/fake_power_manager_client.h',
495         'dbus/fake_session_manager_client.cc',
496         'dbus/fake_session_manager_client.h',
497         'dbus/fake_shill_manager_client.cc',
498         'dbus/fake_shill_manager_client.h',
499         'dbus/fake_update_engine_client.cc',
500         'dbus/fake_update_engine_client.h',
501         'ime/fake_input_method_delegate.cc',
502         'ime/fake_input_method_delegate.h',
503       ],
504       'include_dirs': [
505         '..',
506       ],
507     },
508     {
509       'target_name': 'chromeos_unittests',
510       'type': 'executable',
511       'dependencies': [
512         '../base/base.gyp:run_all_unittests',
513         '../base/base.gyp:test_support_base',
514         '../build/linux/system.gyp:dbus',
515         '../build/linux/system.gyp:ssl',
516         '../components/components.gyp:onc_component',
517         '../crypto/crypto.gyp:crypto',
518         '../crypto/crypto.gyp:crypto_test_support',
519         '../dbus/dbus.gyp:dbus_test_support',
520         '../net/net.gyp:net',
521         '../net/net.gyp:net_test_support',
522         '../testing/gmock.gyp:gmock',
523         '../testing/gtest.gyp:gtest',
524         '../url/url.gyp:url_lib',
525         'chromeos_test_support',
526         'cryptohome_proto',
527         'power_manager_proto',
528       ],
529       'sources': [
530         'app_mode/kiosk_oem_manifest_parser_unittest.cc',
531         'attestation/attestation_flow_unittest.cc',
532         'audio/cras_audio_handler_unittest.cc',
533         'cert_loader_unittest.cc',
534         'cryptohome/system_salt_getter_unittest.cc',
535         'dbus/blocking_method_caller_unittest.cc',
536         'dbus/cros_disks_client_unittest.cc',
537         'dbus/gsm_sms_client_unittest.cc',
538         'dbus/introspectable_client_unittest.cc',
539         'dbus/modem_messaging_client_unittest.cc',
540         'dbus/nfc_client_unittest.cc',
541         'dbus/power_policy_controller_unittest.cc',
542         'dbus/shill_client_unittest_base.cc',
543         'dbus/shill_client_unittest_base.h',
544         'dbus/shill_device_client_unittest.cc',
545         'dbus/shill_ipconfig_client_unittest.cc',
546         'dbus/shill_manager_client_unittest.cc',
547         'dbus/shill_profile_client_unittest.cc',
548         'dbus/shill_service_client_unittest.cc',
549         'disks/disk_mount_manager_unittest.cc',
550         'ime/component_extension_ime_manager_unittest.cc',
551         'ime/composition_text_unittest.cc',
552         'ime/extension_ime_util_unittest.cc',
553         'ime/ime_keyboard_x11_unittest.cc',
554         'ime/input_method_manager.h',
555         'ime/input_method_whitelist_unittest.cc',
556         'login/auth/key_unittest.cc',
557         'login/login_state_unittest.cc',
558         'network/client_cert_resolver_unittest.cc',
559         'network/geolocation_handler_unittest.cc',
560         'network/host_resolver_impl_chromeos_unittest.cc',
561         'network/managed_network_configuration_handler_unittest.cc',
562         'network/network_cert_migrator_unittest.cc',
563         'network/network_change_notifier_chromeos_unittest.cc',
564         'network/network_configuration_handler_unittest.cc',
565         'network/network_connection_handler_unittest.cc',
566         'network/network_device_handler_unittest.cc',
567         'network/network_event_log_unittest.cc',
568         'network/network_profile_handler_stub.h',
569         'network/network_sms_handler_unittest.cc',
570         'network/network_state_handler_unittest.cc',
571         'network/network_state_unittest.cc',
572         'network/network_type_pattern_unittest.cc',
573         'network/network_ui_data_unittest.cc',
574         'network/network_util_unittest.cc',
575         'network/onc/onc_certificate_importer_impl_unittest.cc',
576         'network/onc/onc_merger_unittest.cc',
577         'network/onc/onc_normalizer_unittest.cc',
578         'network/onc/onc_translator_unittest.cc',
579         'network/onc/onc_utils_unittest.cc',
580         'network/onc/onc_validator_unittest.cc',
581         'network/shill_property_handler_unittest.cc',
582         'process_proxy/process_output_watcher_unittest.cc',
583         'process_proxy/process_proxy_unittest.cc',
584         'system/name_value_pairs_parser_unittest.cc',
585       ],
586       'include_dirs': [
587         '..',
588       ],
589       'conditions': [
590         [ 'use_allocator!="none"', {
591            'dependencies': [
592               '../base/allocator/allocator.gyp:allocator',
593             ],
594           },
595         ],
596         ['use_x11 == 1', {
597           'dependencies': [
598             '../ui/gfx/x/gfx_x11.gyp:gfx_x11',
599           ],
600         }]
601       ],
602     },
603     {
604       # Protobuf compiler/generator for power-manager related protocol buffers.
605       'target_name': 'power_manager_proto',
606       'type': 'static_library',
607       'sources': [
608         '../third_party/cros_system_api/dbus/power_manager/input_event.proto',
609         '../third_party/cros_system_api/dbus/power_manager/peripheral_battery_status.proto',
610         '../third_party/cros_system_api/dbus/power_manager/policy.proto',
611         '../third_party/cros_system_api/dbus/power_manager/power_supply_properties.proto',
612         '../third_party/cros_system_api/dbus/power_manager/suspend.proto',
613       ],
614       'variables': {
615         'proto_in_dir': '../third_party/cros_system_api/dbus/power_manager',
616         'proto_out_dir': 'chromeos/dbus/power_manager',
617       },
618       'includes': ['../build/protoc.gypi'],
619     },
620     {
621       # Protobuf compiler/generator for cryptohome related protocol buffers.
622       'target_name': 'cryptohome_proto',
623       'type': 'static_library',
624       'sources': [
625         '../third_party/cros_system_api/dbus/cryptohome/key.proto',
626         '../third_party/cros_system_api/dbus/cryptohome/rpc.proto',
627       ],
628       'variables': {
629         'proto_in_dir': '../third_party/cros_system_api/dbus/cryptohome',
630         'proto_out_dir': 'chromeos/dbus/cryptohome',
631       },
632       'includes': ['../build/protoc.gypi'],
633     },
634     {
635       # Protobuf compiler/generator for cryptohome key signing protocol buffer.
636       'target_name': 'cryptohome_signkey_proto',
637       'type': 'static_library',
638       'sources': [
639         '../third_party/cros_system_api/dbus/cryptohome/signed_secret.proto',
640       ],
641       'variables': {
642         'proto_in_dir': '../third_party/cros_system_api/dbus/cryptohome',
643         'proto_out_dir': 'chromeos/cryptohome',
644       },
645       'includes': ['../build/protoc.gypi'],
646     },
648   ],