[Autofill] Remove OnSuggestionsReturned from Renderer process
[chromium-blink-merge.git] / chromeos / chromeos.gyp
blobf5afaefe7d4e26b7bf014a46f5bd46c2a92df3b6
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_memory.gypi',
11     'chromeos_tools.gypi',
12   ],
13   'targets': [
14     {
15       'target_name': 'chromeos',
16       'type': '<(component)',
17       'dependencies': [
18         '../base/base.gyp:base',
19         '../base/base.gyp:base_prefs',
20         '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic_annotations',
21         '../build/linux/system.gyp:dbus',
22         '../build/linux/system.gyp:ssl',
23         '../dbus/dbus.gyp:dbus',
24         '../net/net.gyp:net',
25         '../third_party/libxml/libxml.gyp:libxml',
26         '../url/url.gyp:url_lib',
27         'ime/input_method.gyp:gencode',
28         'power_manager_proto',
29       ],
30       'defines': [
31         'CHROMEOS_IMPLEMENTATION',
32       ],
33       'sources': [
34         'app_mode/kiosk_oem_manifest_parser.cc',
35         'app_mode/kiosk_oem_manifest_parser.h',
36         'audio/audio_device.cc',
37         'audio/audio_device.h',
38         'audio/audio_devices_pref_handler.h',
39         'audio/audio_pref_observer.h',
40         'audio/audio_pref_handler.h',
41         'audio/cras_audio_handler.cc',
42         'audio/cras_audio_handler.h',
43         'audio/mock_cras_audio_handler.cc',
44         'audio/mock_cras_audio_handler.h',
45         'attestation/attestation_constants.cc',
46         'attestation/attestation_constants.h',
47         'attestation/attestation_flow.cc',
48         'attestation/attestation_flow.h',
49         'chromeos_constants.cc',
50         'chromeos_constants.h',
51         'chromeos_export.h',
52         'chromeos_paths.cc',
53         'chromeos_paths.h',
54         'chromeos_switches.cc',
55         'chromeos_switches.h',
56         'cryptohome/async_method_caller.cc',
57         'cryptohome/async_method_caller.h',
58         'cryptohome/cryptohome_library.cc',
59         'cryptohome/cryptohome_library.h',
60         'dbus/audio_node.cc',
61         'dbus/audio_node.h',
62         'dbus/blocking_method_caller.cc',
63         'dbus/blocking_method_caller.h',
64         'dbus/bluetooth_adapter_client.cc',
65         'dbus/bluetooth_adapter_client.h',
66         'dbus/bluetooth_agent_manager_client.cc',
67         'dbus/bluetooth_agent_manager_client.h',
68         'dbus/bluetooth_agent_service_provider.cc',
69         'dbus/bluetooth_agent_service_provider.h',
70         'dbus/bluetooth_device_client.cc',
71         'dbus/bluetooth_device_client.h',
72         'dbus/bluetooth_input_client.cc',
73         'dbus/bluetooth_input_client.h',
74         'dbus/bluetooth_profile_manager_client.cc',
75         'dbus/bluetooth_profile_manager_client.h',
76         'dbus/bluetooth_profile_service_provider.cc',
77         'dbus/bluetooth_profile_service_provider.h',
78         'dbus/cras_audio_client.cc',
79         'dbus/cras_audio_client.h',
80         'dbus/cros_disks_client.cc',
81         'dbus/cros_disks_client.h',
82         'dbus/cryptohome_client.cc',
83         'dbus/cryptohome_client.h',
84         'dbus/dbus_client_implementation_type.h',
85         'dbus/dbus_method_call_status.h',
86         'dbus/dbus_thread_manager.cc',
87         'dbus/dbus_thread_manager.h',
88         'dbus/debug_daemon_client.cc',
89         'dbus/debug_daemon_client.h',
90         'dbus/fake_bluetooth_adapter_client.cc',
91         'dbus/fake_bluetooth_adapter_client.h',
92         'dbus/fake_bluetooth_agent_manager_client.cc',
93         'dbus/fake_bluetooth_agent_manager_client.h',
94         'dbus/fake_bluetooth_agent_service_provider.cc',
95         'dbus/fake_bluetooth_agent_service_provider.h',
96         'dbus/fake_bluetooth_device_client.cc',
97         'dbus/fake_bluetooth_device_client.h',
98         'dbus/fake_bluetooth_input_client.cc',
99         'dbus/fake_bluetooth_input_client.h',
100         'dbus/fake_bluetooth_profile_manager_client.cc',
101         'dbus/fake_bluetooth_profile_manager_client.h',
102         'dbus/fake_bluetooth_profile_service_provider.cc',
103         'dbus/fake_bluetooth_profile_service_provider.h',
104         'dbus/fake_gsm_sms_client.cc',
105         'dbus/fake_gsm_sms_client.h',
106         'dbus/fake_image_burner_client.cc',
107         'dbus/fake_image_burner_client.h',
108         'dbus/fake_system_clock_client.cc',
109         'dbus/fake_system_clock_client.h',
110         'dbus/gsm_sms_client.cc',
111         'dbus/gsm_sms_client.h',
112         'dbus/shill_client_helper.cc',
113         'dbus/shill_client_helper.h',
114         'dbus/shill_device_client.cc',
115         'dbus/shill_device_client.h',
116         'dbus/shill_device_client_stub.cc',
117         'dbus/shill_device_client_stub.h',
118         'dbus/shill_ipconfig_client.cc',
119         'dbus/shill_ipconfig_client.h',
120         'dbus/shill_ipconfig_client_stub.cc',
121         'dbus/shill_ipconfig_client_stub.h',
122         'dbus/shill_manager_client.cc',
123         'dbus/shill_manager_client.h',
124         'dbus/shill_manager_client_stub.cc',
125         'dbus/shill_manager_client_stub.h',
126         'dbus/shill_profile_client.cc',
127         'dbus/shill_profile_client.h',
128         'dbus/shill_profile_client_stub.cc',
129         'dbus/shill_profile_client_stub.h',
130         'dbus/shill_service_client.cc',
131         'dbus/shill_service_client.h',
132         'dbus/shill_service_client_stub.cc',
133         'dbus/shill_service_client_stub.h',
134         'dbus/ibus/ibus_client.cc',
135         'dbus/ibus/ibus_client.h',
136         'dbus/ibus/ibus_component.cc',
137         'dbus/ibus/ibus_component.h',
138         'dbus/ibus/ibus_config_client.cc',
139         'dbus/ibus/ibus_config_client.h',
140         'dbus/ibus/ibus_constants.h',
141         'dbus/ibus/ibus_engine_service.cc',
142         'dbus/ibus/ibus_engine_service.h',
143         'dbus/ibus/ibus_engine_factory_service.cc',
144         'dbus/ibus/ibus_engine_factory_service.h',
145         'dbus/ibus/ibus_lookup_table.cc',
146         'dbus/ibus/ibus_lookup_table.h',
147         'dbus/ibus/ibus_object.cc',
148         'dbus/ibus/ibus_object.h',
149         'dbus/ibus/ibus_property.cc',
150         'dbus/ibus/ibus_property.h',
151         'dbus/ibus/ibus_text.cc',
152         'dbus/ibus/ibus_text.h',
153         'dbus/ibus/ibus_input_context_client.cc',
154         'dbus/ibus/ibus_input_context_client.h',
155         'dbus/ibus/ibus_panel_service.cc',
156         'dbus/ibus/ibus_panel_service.h',
157         'dbus/image_burner_client.cc',
158         'dbus/image_burner_client.h',
159         'dbus/introspectable_client.cc',
160         'dbus/introspectable_client.h',
161         'dbus/modem_messaging_client.cc',
162         'dbus/modem_messaging_client.h',
163         'dbus/permission_broker_client.cc',
164         'dbus/permission_broker_client.h',
165         'dbus/power_manager_client.cc',
166         'dbus/power_manager_client.h',
167         'dbus/power_policy_controller.cc',
168         'dbus/power_policy_controller.h',
169         'dbus/session_manager_client.cc',
170         'dbus/session_manager_client.h',
171         'dbus/sms_client.cc',
172         'dbus/sms_client.h',
173         'dbus/system_clock_client.cc',
174         'dbus/system_clock_client.h',
175         'dbus/update_engine_client.cc',
176         'dbus/update_engine_client.h',
177         'dbus/volume_state.cc',
178         'dbus/volume_state.h',
179         'disks/disk_mount_manager.cc',
180         'disks/disk_mount_manager.h',
181         'display/output_configurator.cc',
182         'display/output_configurator.h',
183         'display/output_util.cc',
184         'display/output_util.h',
185         'display/real_output_configurator_delegate.cc',
186         'display/real_output_configurator_delegate.h',
187         'ime/component_extension_ime_manager.cc',
188         'ime/component_extension_ime_manager.h',
189         'ime/extension_ime_util.cc',
190         'ime/extension_ime_util.h',
191         'ime/ibus_bridge.cc',
192         'ime/ibus_bridge.h',
193         'ime/ibus_daemon_controller.cc',
194         'ime/ibus_daemon_controller.h',
195         'ime/ibus_keymap.cc',
196         'ime/ibus_keymap.h',
197         'ime/input_method_config.cc',
198         'ime/input_method_config.h',
199         'ime/input_method_delegate.h',
200         'ime/input_method_descriptor.cc',
201         'ime/input_method_descriptor.h',
202         'ime/input_method_manager.cc',
203         'ime/input_method_manager.h',
204         'ime/input_method_property.cc',
205         'ime/input_method_property.h',
206         'ime/input_method_whitelist.cc',
207         'ime/input_method_whitelist.h',
208         'ime/xkeyboard.cc',
209         'ime/xkeyboard.h',
210         'login/login_state.cc',
211         'login/login_state.h',
212         'network/cert_loader.cc',
213         'network/cert_loader.h',
214         'network/certificate_handler.cc',
215         'network/certificate_handler.h',
216         'network/certificate_pattern.cc',
217         'network/certificate_pattern.h',
218         'network/certificate_pattern_matcher.cc',
219         'network/certificate_pattern_matcher.h',
220         'network/cros_network_functions.cc',
221         'network/cros_network_functions.h',
222         'network/device_state.cc',
223         'network/device_state.h',
224         'network/favorite_state.cc',
225         'network/favorite_state.h',
226         'network/geolocation_handler.cc',
227         'network/geolocation_handler.h',
228         'network/managed_network_configuration_handler.cc',
229         'network/managed_network_configuration_handler.h',
230         'network/managed_state.cc',
231         'network/managed_state.h',
232         'network/network_change_notifier_chromeos.cc',
233         'network/network_change_notifier_chromeos.h',
234         'network/network_change_notifier_factory_chromeos.cc',
235         'network/network_change_notifier_factory_chromeos.h',
236         'network/network_configuration_handler.cc',
237         'network/network_configuration_handler.h',
238         'network/network_connection_handler.cc',
239         'network/network_connection_handler.h',
240         'network/network_device_handler.cc',
241         'network/network_device_handler.h',
242         'network/network_event_log.cc',
243         'network/network_event_log.h',
244         'network/network_handler.cc',
245         'network/network_handler.h',
246         'network/network_handler_callbacks.cc',
247         'network/network_handler_callbacks.h',
248         'network/network_ip_config.cc',
249         'network/network_ip_config.h',
250         'network/network_profile.cc',
251         'network/network_profile.h',
252         'network/network_profile_handler.cc',
253         'network/network_profile_handler.h',
254         'network/network_profile_observer.h',
255         'network/network_sms_handler.cc',
256         'network/network_sms_handler.h',
257         'network/network_state.cc',
258         'network/network_state.h',
259         'network/network_state_handler.cc',
260         'network/network_state_handler.h',
261         'network/network_state_handler_observer.cc',
262         'network/network_state_handler_observer.h',
263         'network/network_ui_data.cc',
264         'network/network_ui_data.h',
265         'network/network_util.cc',
266         'network/network_util.h',
267         'network/onc/onc_certificate_importer.cc',
268         'network/onc/onc_certificate_importer.h',
269         'network/onc/onc_constants.cc',
270         'network/onc/onc_constants.h',
271         'network/onc/onc_mapper.cc',
272         'network/onc/onc_mapper.h',
273         'network/onc/onc_merger.cc',
274         'network/onc/onc_merger.h',
275         'network/onc/onc_normalizer.cc',
276         'network/onc/onc_normalizer.h',
277         'network/onc/onc_signature.cc',
278         'network/onc/onc_signature.h',
279         'network/onc/onc_translation_tables.cc',
280         'network/onc/onc_translation_tables.h',
281         'network/onc/onc_translator.h',
282         'network/onc/onc_translator_onc_to_shill.cc',
283         'network/onc/onc_translator_shill_to_onc.cc',
284         'network/onc/onc_utils.cc',
285         'network/onc/onc_utils.h',
286         'network/onc/onc_validator.cc',
287         'network/onc/onc_validator.h',
288         'network/shill_property_handler.cc',
289         'network/shill_property_handler.h',
290         'network/sms_watcher.cc',
291         'network/sms_watcher.h',
292         'process_proxy/process_output_watcher.cc',
293         'process_proxy/process_output_watcher.h',
294         'process_proxy/process_proxy.cc',
295         'process_proxy/process_proxy.h',
296         'process_proxy/process_proxy_registry.cc',
297         'process_proxy/process_proxy_registry.h',
298         'system/name_value_pairs_parser.cc',
299         'system/name_value_pairs_parser.h',
300       ],
301       'conditions': [
302         ['use_x11 == 1', {
303           'dependencies': [
304             '../build/linux/system.gyp:glib',
305           ],
306           'link_settings': {
307             'libraries': [
308               '-lX11',
309               '-lXext',
310               '-lXi',
311               '-lXrandr',
312             ],
313           },
314         }, {
315           # use_x11 == 0
316           'sources!': [
317             'ime/xkeyboard.cc',
318             'ime/xkeyboard.h',
319             'display/output_configurator.cc',
320             'display/output_configurator.h',
321             'display/output_util.cc',
322             'display/output_util.h',
323             'display/real_output_configurator_delegate.cc',
324             'display/real_output_configurator_delegate.h',
325             'ime/xkeyboard.cc',
326             'ime/xkeyboard.h',
327           ],
328         }],
329       ],
330     },
331     {
332       # This target contains mocks that can be used to write unit tests.
333       'target_name': 'chromeos_test_support',
334       'type': 'static_library',
335       'dependencies': [
336         '../build/linux/system.gyp:dbus',
337         '../testing/gmock.gyp:gmock',
338         'chromeos',
339         'chromeos_test_support_without_gmock',
340         'power_manager_proto',
341       ],
342       'sources': [
343         'attestation/mock_attestation_flow.cc',
344         'attestation/mock_attestation_flow.h',
345         'chromeos_test_utils.cc',
346         'chromeos_test_utils.h',
347         'cryptohome/mock_async_method_caller.cc',
348         'cryptohome/mock_async_method_caller.h',
349         'cryptohome/mock_cryptohome_library.cc',
350         'cryptohome/mock_cryptohome_library.h',
351         'dbus/mock_cryptohome_client.cc',
352         'dbus/mock_cryptohome_client.h',
353         'dbus/mock_dbus_thread_manager.cc',
354         'dbus/mock_dbus_thread_manager.h',
355         'dbus/mock_gsm_sms_client.cc',
356         'dbus/mock_gsm_sms_client.h',
357         'dbus/mock_session_manager_client.cc',
358         'dbus/mock_session_manager_client.h',
359         'dbus/mock_shill_device_client.cc',
360         'dbus/mock_shill_device_client.h',
361         'dbus/mock_shill_ipconfig_client.cc',
362         'dbus/mock_shill_ipconfig_client.h',
363         'dbus/mock_shill_manager_client.cc',
364         'dbus/mock_shill_manager_client.h',
365         'dbus/mock_shill_profile_client.cc',
366         'dbus/mock_shill_profile_client.h',
367         'dbus/mock_shill_service_client.cc',
368         'dbus/mock_shill_service_client.h',
369         'dbus/shill_profile_client_stub.cc',
370         'dbus/shill_profile_client_stub.h',
371         'disks/mock_disk_mount_manager.cc',
372         'disks/mock_disk_mount_manager.h',
373         'ime/mock_component_extension_ime_manager_delegate.cc',
374         'ime/mock_component_extension_ime_manager_delegate.h',
375         'network/mock_certificate_handler.cc',
376         'network/mock_certificate_handler.h',
377         'network/onc/onc_test_utils.cc',
378         'network/onc/onc_test_utils.h',
379       ],
380       'include_dirs': [
381         '..',
382       ],
383     },
384     {
385       'target_name': 'chromeos_test_support_without_gmock',
386       'type': 'static_library',
387       'dependencies': [
388         '../build/linux/system.gyp:dbus',
389         '../dbus/dbus.gyp:dbus',
390         'chromeos',
391         'power_manager_proto',
392       ],
393       'sources': [
394         'dbus/fake_cros_disks_client.cc',
395         'dbus/fake_cros_disks_client.h',
396         'dbus/fake_cryptohome_client.cc',
397         'dbus/fake_cryptohome_client.h',
398         'dbus/fake_gsm_sms_client.cc',
399         'dbus/fake_gsm_sms_client.h',
400         'dbus/fake_image_burner_client.cc',
401         'dbus/fake_image_burner_client.h',
402         'dbus/fake_power_manager_client.cc',
403         'dbus/fake_power_manager_client.h',
404         'dbus/fake_session_manager_client.cc',
405         'dbus/fake_session_manager_client.h',
406         'dbus/fake_shill_manager_client.cc',
407         'dbus/fake_shill_manager_client.h',
408         'dbus/fake_system_clock_client.cc',
409         'dbus/fake_system_clock_client.h',
410         'dbus/fake_update_engine_client.cc',
411         'dbus/fake_update_engine_client.h',
412         'dbus/mock_dbus_thread_manager_without_gmock.cc',
413         'dbus/mock_dbus_thread_manager_without_gmock.h',
414         'dbus/ibus/mock_ibus_client.cc',
415         'dbus/ibus/mock_ibus_client.h',
416         'dbus/ibus/mock_ibus_config_client.cc',
417         'dbus/ibus/mock_ibus_config_client.h',
418         'dbus/ibus/mock_ibus_input_context_client.cc',
419         'dbus/ibus/mock_ibus_input_context_client.h',
420         'dbus/ibus/mock_ibus_engine_factory_service.cc',
421         'dbus/ibus/mock_ibus_engine_factory_service.h',
422         'dbus/ibus/mock_ibus_engine_service.cc',
423         'dbus/ibus/mock_ibus_engine_service.h',
424         'dbus/ibus/mock_ibus_panel_service.cc',
425         'dbus/ibus/mock_ibus_panel_service.h',
426         'ime/fake_input_method_delegate.cc',
427         'ime/fake_input_method_delegate.h',
428         'ime/mock_ibus_daemon_controller.cc',
429         'ime/mock_ibus_daemon_controller.h',
430         'ime/mock_xkeyboard.cc',
431         'ime/mock_xkeyboard.h',
432       ],
433       'include_dirs': [
434         '..',
435       ],
436     },
437     {
438       'target_name': 'chromeos_unittests',
439       'type': 'executable',
440       'dependencies': [
441         '../base/base.gyp:run_all_unittests',
442         '../base/base.gyp:test_support_base',
443         '../build/linux/system.gyp:dbus',
444         '../build/linux/system.gyp:ssl',
445         '../crypto/crypto.gyp:crypto',
446         '../dbus/dbus.gyp:dbus_test_support',
447         '../net/net.gyp:net',
448         '../testing/gmock.gyp:gmock',
449         '../testing/gtest.gyp:gtest',
450         '../url/url.gyp:url_lib',
451         'chromeos_test_support',
452         'power_manager_proto',
453       ],
454       'sources': [
455         'attestation/attestation_flow_unittest.cc',
456         'app_mode/kiosk_oem_manifest_parser_unittest.cc',
457         'display/output_configurator_unittest.cc',
458         'display/output_util_unittest.cc',
459         'dbus/blocking_method_caller_unittest.cc',
460         'dbus/power_policy_controller_unittest.cc',
461         'dbus/shill_client_unittest_base.cc',
462         'dbus/shill_client_unittest_base.h',
463         'dbus/shill_device_client_unittest.cc',
464         'dbus/shill_ipconfig_client_unittest.cc',
465         'dbus/shill_manager_client_unittest.cc',
466         'dbus/shill_profile_client_unittest.cc',
467         'dbus/shill_service_client_unittest.cc',
468         'dbus/gsm_sms_client_unittest.cc',
469         'dbus/ibus/ibus_client_unittest.cc',
470         'dbus/ibus/ibus_config_client_unittest.cc',
471         'dbus/ibus/ibus_component_unittest.cc',
472         'dbus/ibus/ibus_engine_factory_service_unittest.cc',
473         'dbus/ibus/ibus_engine_service_unittest.cc',
474         'dbus/ibus/ibus_input_context_client_unittest.cc',
475         'dbus/ibus/ibus_lookup_table_unittest.cc',
476         'dbus/ibus/ibus_object_unittest.cc',
477         'dbus/ibus/ibus_panel_service_unittest.cc',
478         'dbus/ibus/ibus_property_unittest.cc',
479         'dbus/ibus/ibus_text_unittest.cc',
480         'dbus/introspectable_client_unittest.cc',
481         'dbus/modem_messaging_client_unittest.cc',
482         'disks/disk_mount_manager_unittest.cc',
483         'ime/component_extension_ime_manager_unittest.cc',
484         'ime/extension_ime_util_unittest.cc',
485         'ime/input_method_manager.h',
486         'ime/input_method_property_unittest.cc',
487         'ime/input_method_whitelist_unittest.cc',
488         'ime/xkeyboard_unittest.cc',
489         'login/login_state_unittest.cc',
490         'network/cros_network_functions_unittest.cc',
491         'network/geolocation_handler_unittest.cc',
492         'network/managed_network_configuration_handler_unittest.cc',
493         'network/network_change_notifier_chromeos_unittest.cc',
494         'network/network_configuration_handler_unittest.cc',
495         'network/network_connection_handler_unittest.cc',
496         'network/network_device_handler_unittest.cc',
497         'network/network_event_log_unittest.cc',
498         'network/network_profile_handler_stub.h',
499         'network/network_sms_handler_unittest.cc',
500         'network/network_state_handler_unittest.cc',
501         'network/network_state_unittest.cc',
502         'network/network_ui_data_unittest.cc',
503         'network/network_util_unittest.cc',
504         'network/onc/onc_certificate_importer_unittest.cc',
505         'network/onc/onc_merger_unittest.cc',
506         'network/onc/onc_normalizer_unittest.cc',
507         'network/onc/onc_translator_unittest.cc',
508         'network/onc/onc_utils_unittest.cc',
509         'network/onc/onc_validator_unittest.cc',
510         'network/shill_property_handler_unittest.cc',
511         'process_proxy/process_output_watcher_unittest.cc',
512         'process_proxy/process_proxy_unittest.cc',
513         'system/name_value_pairs_parser_unittest.cc',
514       ],
515       'include_dirs': [
516         '..',
517       ],
518       'conditions': [
519         [ 'linux_use_tcmalloc==1', {
520            'dependencies': [
521               '../base/allocator/allocator.gyp:allocator',
522             ],
523           },
524         ],
525       ],
526     },
527     {
528       # Protobuf compiler/generator for power-manager related protocol buffers.
529       'target_name': 'power_manager_proto',
530       'type': 'static_library',
531       'sources': [
532         '../third_party/cros_system_api/dbus/power_manager/input_event.proto',
533         '../third_party/cros_system_api/dbus/power_manager/peripheral_battery_status.proto',
534         '../third_party/cros_system_api/dbus/power_manager/policy.proto',
535         '../third_party/cros_system_api/dbus/power_manager/power_supply_properties.proto',
536         '../third_party/cros_system_api/dbus/power_manager/suspend.proto',
537       ],
538       'variables': {
539         'proto_in_dir': '../third_party/cros_system_api/dbus/power_manager',
540         'proto_out_dir': 'chromeos/dbus/power_manager',
541       },
542       'includes': ['../build/protoc.gypi'],
543     },
544   ],