Adding platform specific variables for MediaCanPlayTypeTest
[chromium-blink-merge.git] / chromeos / chromeos.gyp
blobe2e332a56ec2a2749bec9f1e6058e7fff8ea4480
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/favorite_state.cc',
278         'network/favorite_state.h',
279         'network/geolocation_handler.cc',
280         'network/geolocation_handler.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_ui_data.cc',
325         'network/network_ui_data.h',
326         'network/network_util.cc',
327         'network/network_util.h',
328         'network/onc/onc_certificate_importer.h',
329         'network/onc/onc_certificate_importer_impl.cc',
330         'network/onc/onc_certificate_importer_impl.h',
331         'network/onc/onc_mapper.cc',
332         'network/onc/onc_mapper.h',
333         'network/onc/onc_merger.cc',
334         'network/onc/onc_merger.h',
335         'network/onc/onc_normalizer.cc',
336         'network/onc/onc_normalizer.h',
337         'network/onc/onc_signature.cc',
338         'network/onc/onc_signature.h',
339         'network/onc/onc_translation_tables.cc',
340         'network/onc/onc_translation_tables.h',
341         'network/onc/onc_translator.h',
342         'network/onc/onc_translator_onc_to_shill.cc',
343         'network/onc/onc_translator_shill_to_onc.cc',
344         'network/onc/onc_utils.cc',
345         'network/onc/onc_utils.h',
346         'network/onc/onc_validator.cc',
347         'network/onc/onc_validator.h',
348         'network/policy_util.cc',
349         'network/policy_util.h',
350         'network/policy_applicator.cc',
351         'network/policy_applicator.h',
352         'network/shill_property_handler.cc',
353         'network/shill_property_handler.h',
354         'network/shill_property_util.cc',
355         'network/shill_property_util.h',
356         'network/dhcp_proxy_script_fetcher_chromeos.cc',
357         'network/dhcp_proxy_script_fetcher_chromeos.h',
358         'process_proxy/process_output_watcher.cc',
359         'process_proxy/process_output_watcher.h',
360         'process_proxy/process_proxy.cc',
361         'process_proxy/process_proxy.h',
362         'process_proxy/process_proxy_registry.cc',
363         'process_proxy/process_proxy_registry.h',
364         'settings/cros_settings_names.cc',
365         'settings/cros_settings_names.h',
366         'settings/cros_settings_provider.cc',
367         'settings/cros_settings_provider.h',
368         'settings/timezone_settings.cc',
369         'settings/timezone_settings.h',
370         'system/name_value_pairs_parser.cc',
371         'system/name_value_pairs_parser.h',
372         'system/statistics_provider.cc',
373         'system/statistics_provider.h',
374         'tpm_token_loader.cc',
375         'tpm_token_loader.h'
376       ],
377       'conditions': [
378         ['use_x11 == 1', {
379           'dependencies': [
380             '../build/linux/system.gyp:x11',
381             '../ui/gfx/gfx.gyp:gfx_x11',
382           ],
383         }, {
384           # use_x11 == 0
385           'sources!': [
386             'ime/keyboard_controller.cc',
387             'ime/ime_keyboard.h',
388           ],
389         }],
390       ],
391     },
392     {
393       # This target contains mocks that can be used to write unit tests.
394       'target_name': 'chromeos_test_support',
395       'type': 'static_library',
396       'dependencies': [
397         '../build/linux/system.gyp:dbus',
398         '../testing/gmock.gyp:gmock',
399         'chromeos',
400         'chromeos_test_support_without_gmock',
401         'cryptohome_proto',
402         'power_manager_proto',
403       ],
404       'sources': [
405         'attestation/mock_attestation_flow.cc',
406         'attestation/mock_attestation_flow.h',
407         'chromeos_test_utils.cc',
408         'chromeos_test_utils.h',
409         'cryptohome/mock_async_method_caller.cc',
410         'cryptohome/mock_async_method_caller.h',
411         'cryptohome/mock_homedir_methods.cc',
412         'cryptohome/mock_homedir_methods.h',
413         'dbus/mock_cryptohome_client.cc',
414         'dbus/mock_cryptohome_client.h',
415         'dbus/mock_session_manager_client.cc',
416         'dbus/mock_session_manager_client.h',
417         'dbus/mock_shill_manager_client.cc',
418         'dbus/mock_shill_manager_client.h',
419         'dbus/mock_shill_profile_client.cc',
420         'dbus/mock_shill_profile_client.h',
421         'dbus/mock_shill_service_client.cc',
422         'dbus/mock_shill_service_client.h',
423         'disks/mock_disk_mount_manager.cc',
424         'disks/mock_disk_mount_manager.h',
425         'ime/mock_component_extension_ime_manager_delegate.cc',
426         'ime/mock_component_extension_ime_manager_delegate.h',
427         'network/fake_network_device_handler.cc',
428         'network/fake_network_device_handler.h',
429         'network/mock_managed_network_configuration_handler.cc',
430         'network/mock_managed_network_configuration_handler.h',
431         'network/onc/mock_certificate_importer.cc',
432         'network/onc/mock_certificate_importer.h',
433         'network/onc/onc_test_utils.cc',
434         'network/onc/onc_test_utils.h',
435         'system/mock_statistics_provider.cc',
436         'system/mock_statistics_provider.h',
437       ],
438       'include_dirs': [
439         '..',
440       ],
441     },
442     {
443       'target_name': 'chromeos_test_support_without_gmock',
444       'type': 'static_library',
445       'dependencies': [
446         '../build/linux/system.gyp:dbus',
447         '../crypto/crypto.gyp:crypto',
448         '../dbus/dbus.gyp:dbus',
449         'chromeos',
450         'cryptohome_proto',
451         'power_manager_proto',
452       ],
453       'sources': [
454         'dbus/fake_cros_disks_client.cc',
455         'dbus/fake_cros_disks_client.h',
456         'dbus/fake_power_manager_client.cc',
457         'dbus/fake_power_manager_client.h',
458         'dbus/fake_session_manager_client.cc',
459         'dbus/fake_session_manager_client.h',
460         'dbus/fake_shill_manager_client.cc',
461         'dbus/fake_shill_manager_client.h',
462         'dbus/fake_update_engine_client.cc',
463         'dbus/fake_update_engine_client.h',
464         'ime/fake_input_method_delegate.cc',
465         'ime/fake_input_method_delegate.h',
466       ],
467       'include_dirs': [
468         '..',
469       ],
470     },
471     {
472       'target_name': 'chromeos_unittests',
473       'type': 'executable',
474       'dependencies': [
475         '../base/base.gyp:run_all_unittests',
476         '../base/base.gyp:test_support_base',
477         '../build/linux/system.gyp:dbus',
478         '../build/linux/system.gyp:ssl',
479         '../components/components.gyp:onc_component',
480         '../crypto/crypto.gyp:crypto',
481         '../dbus/dbus.gyp:dbus_test_support',
482         '../net/net.gyp:net',
483         '../net/net.gyp:net_test_support',
484         '../testing/gmock.gyp:gmock',
485         '../testing/gtest.gyp:gtest',
486         '../url/url.gyp:url_lib',
487         'chromeos_test_support',
488         'cryptohome_proto',
489         'power_manager_proto',
490       ],
491       'sources': [
492         'app_mode/kiosk_oem_manifest_parser_unittest.cc',
493         'attestation/attestation_flow_unittest.cc',
494         'audio/cras_audio_handler_unittest.cc',
495         'cert_loader_unittest.cc',
496         'cryptohome/system_salt_getter_unittest.cc',
497         'dbus/blocking_method_caller_unittest.cc',
498         'dbus/cros_disks_client_unittest.cc',
499         'dbus/gsm_sms_client_unittest.cc',
500         'dbus/introspectable_client_unittest.cc',
501         'dbus/modem_messaging_client_unittest.cc',
502         'dbus/nfc_client_unittest.cc',
503         'dbus/power_policy_controller_unittest.cc',
504         'dbus/shill_client_unittest_base.cc',
505         'dbus/shill_client_unittest_base.h',
506         'dbus/shill_device_client_unittest.cc',
507         'dbus/shill_ipconfig_client_unittest.cc',
508         'dbus/shill_manager_client_unittest.cc',
509         'dbus/shill_profile_client_unittest.cc',
510         'dbus/shill_service_client_unittest.cc',
511         'disks/disk_mount_manager_unittest.cc',
512         'ime/component_extension_ime_manager_unittest.cc',
513         'ime/extension_ime_util_unittest.cc',
514         'ime/composition_text_unittest.cc',
515         'ime/input_method_manager.h',
516         'ime/input_method_whitelist_unittest.cc',
517         'ime/ime_keyboard_x11_unittest.cc',
518         'login/login_state_unittest.cc',
519         'network/client_cert_resolver_unittest.cc',
520         'network/geolocation_handler_unittest.cc',
521         'network/managed_network_configuration_handler_unittest.cc',
522         'network/network_cert_migrator_unittest.cc',
523         'network/network_change_notifier_chromeos_unittest.cc',
524         'network/network_configuration_handler_unittest.cc',
525         'network/network_connection_handler_unittest.cc',
526         'network/network_device_handler_unittest.cc',
527         'network/network_event_log_unittest.cc',
528         'network/network_profile_handler_stub.h',
529         'network/network_sms_handler_unittest.cc',
530         'network/network_state_handler_unittest.cc',
531         'network/network_state_unittest.cc',
532         'network/network_ui_data_unittest.cc',
533         'network/network_util_unittest.cc',
534         'network/onc/onc_certificate_importer_impl_unittest.cc',
535         'network/onc/onc_merger_unittest.cc',
536         'network/onc/onc_normalizer_unittest.cc',
537         'network/onc/onc_translator_unittest.cc',
538         'network/onc/onc_utils_unittest.cc',
539         'network/onc/onc_validator_unittest.cc',
540         'network/shill_property_handler_unittest.cc',
541         'network/shill_property_util_unittest.cc',
542         'process_proxy/process_output_watcher_unittest.cc',
543         'process_proxy/process_proxy_unittest.cc',
544         'system/name_value_pairs_parser_unittest.cc',
545       ],
546       'include_dirs': [
547         '..',
548       ],
549       'conditions': [
550         [ 'use_allocator!="none"', {
551            'dependencies': [
552               '../base/allocator/allocator.gyp:allocator',
553             ],
554           },
555         ],
556         ['use_x11 == 1', {
557           'dependencies': [
558             '../ui/gfx/gfx.gyp:gfx_x11',
559           ],
560         }]
561       ],
562     },
563     {
564       # Protobuf compiler/generator for power-manager related protocol buffers.
565       'target_name': 'power_manager_proto',
566       'type': 'static_library',
567       'sources': [
568         '../third_party/cros_system_api/dbus/power_manager/input_event.proto',
569         '../third_party/cros_system_api/dbus/power_manager/peripheral_battery_status.proto',
570         '../third_party/cros_system_api/dbus/power_manager/policy.proto',
571         '../third_party/cros_system_api/dbus/power_manager/power_supply_properties.proto',
572         '../third_party/cros_system_api/dbus/power_manager/suspend.proto',
573       ],
574       'variables': {
575         'proto_in_dir': '../third_party/cros_system_api/dbus/power_manager',
576         'proto_out_dir': 'chromeos/dbus/power_manager',
577       },
578       'includes': ['../build/protoc.gypi'],
579     },
580     {
581       # Protobuf compiler/generator for cryptohome related protocol buffers.
582       'target_name': 'cryptohome_proto',
583       'type': 'static_library',
584       'sources': [
585         '../third_party/cros_system_api/dbus/cryptohome/key.proto',
586         '../third_party/cros_system_api/dbus/cryptohome/rpc.proto',
587       ],
588       'variables': {
589         'proto_in_dir': '../third_party/cros_system_api/dbus/cryptohome',
590         'proto_out_dir': 'chromeos/dbus/cryptohome',
591       },
592       'includes': ['../build/protoc.gypi'],
593     },
594     {
595       # Protobuf compiler/generator for cryptohome key signing protocol buffer.
596       'target_name': 'cryptohome_signkey_proto',
597       'type': 'static_library',
598       'sources': [
599         '../third_party/cros_system_api/dbus/cryptohome/signed_secret.proto',
600       ],
601       'variables': {
602         'proto_in_dir': '../third_party/cros_system_api/dbus/cryptohome',
603         'proto_out_dir': 'chromeos/cryptohome',
604       },
605       'includes': ['../build/protoc.gypi'],
606     },
608   ],