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