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.
11 'target_name': 'chromeos',
12 'type': '<(component)',
14 '../base/base.gyp:base',
15 '../build/linux/system.gyp:dbus',
16 '../dbus/dbus.gyp:dbus',
18 '../third_party/libxml/libxml.gyp:libxml',
19 'power_state_control_proto',
20 'power_supply_properties_proto',
23 'CHROMEOS_IMPLEMENTATION',
27 'chromeos_switches.cc',
28 'chromeos_switches.h',
29 'dbus/blocking_method_caller.cc',
30 'dbus/blocking_method_caller.h',
31 'dbus/bluetooth_adapter_client.cc',
32 'dbus/bluetooth_adapter_client.h',
33 'dbus/bluetooth_agent_service_provider.cc',
34 'dbus/bluetooth_agent_service_provider.h',
35 'dbus/bluetooth_device_client.cc',
36 'dbus/bluetooth_device_client.h',
37 'dbus/bluetooth_input_client.cc',
38 'dbus/bluetooth_input_client.h',
39 'dbus/bluetooth_manager_client.cc',
40 'dbus/bluetooth_manager_client.h',
41 'dbus/bluetooth_node_client.cc',
42 'dbus/bluetooth_node_client.h',
43 'dbus/bluetooth_out_of_band_client.cc',
44 'dbus/bluetooth_out_of_band_client.h',
45 'dbus/bluetooth_property.cc',
46 'dbus/bluetooth_property.h',
47 'dbus/cashew_client.cc',
48 'dbus/cashew_client.h',
49 'dbus/cros_disks_client.cc',
50 'dbus/cros_disks_client.h',
51 'dbus/cryptohome_client.cc',
52 'dbus/cryptohome_client.h',
53 'dbus/dbus_client_implementation_type.h',
54 'dbus/dbus_method_call_status.h',
55 'dbus/dbus_thread_manager.cc',
56 'dbus/dbus_thread_manager.h',
57 'dbus/debug_daemon_client.cc',
58 'dbus/debug_daemon_client.h',
59 'dbus/gsm_sms_client.cc',
60 'dbus/gsm_sms_client.h',
61 'dbus/flimflam_ipconfig_client.cc',
62 'dbus/flimflam_ipconfig_client.h',
63 'dbus/flimflam_client_helper.cc',
64 'dbus/flimflam_client_helper.h',
65 'dbus/flimflam_device_client.cc',
66 'dbus/flimflam_device_client.h',
67 'dbus/flimflam_manager_client.cc',
68 'dbus/flimflam_manager_client.h',
69 'dbus/flimflam_network_client.cc',
70 'dbus/flimflam_network_client.h',
71 'dbus/flimflam_profile_client.cc',
72 'dbus/flimflam_profile_client.h',
73 'dbus/flimflam_service_client.cc',
74 'dbus/flimflam_service_client.h',
75 'dbus/ibus/ibus_client.cc',
76 'dbus/ibus/ibus_client.h',
77 'dbus/ibus/ibus_component.cc',
78 'dbus/ibus/ibus_component.h',
79 'dbus/ibus/ibus_constants.h',
80 'dbus/ibus/ibus_engine_service.cc',
81 'dbus/ibus/ibus_engine_service.h',
82 'dbus/ibus/ibus_engine_factory_service.cc',
83 'dbus/ibus/ibus_engine_factory_service.h',
84 'dbus/ibus/ibus_lookup_table.cc',
85 'dbus/ibus/ibus_lookup_table.h',
86 'dbus/ibus/ibus_object.cc',
87 'dbus/ibus/ibus_object.h',
88 'dbus/ibus/ibus_property.cc',
89 'dbus/ibus/ibus_property.h',
90 'dbus/ibus/ibus_text.cc',
91 'dbus/ibus/ibus_text.h',
92 'dbus/ibus/ibus_input_context_client.cc',
93 'dbus/ibus/ibus_input_context_client.h',
94 'dbus/image_burner_client.cc',
95 'dbus/image_burner_client.h',
96 'dbus/introspectable_client.cc',
97 'dbus/introspectable_client.h',
98 'dbus/modem_messaging_client.cc',
99 'dbus/modem_messaging_client.h',
100 'dbus/power_manager_client.cc',
101 'dbus/power_manager_client.h',
102 'dbus/power_supply_status.cc',
103 'dbus/power_supply_status.h',
104 'dbus/session_manager_client.cc',
105 'dbus/session_manager_client.h',
106 'dbus/speech_synthesizer_client.cc',
107 'dbus/speech_synthesizer_client.h',
108 'dbus/sms_client.cc',
110 'dbus/update_engine_client.cc',
111 'dbus/update_engine_client.h',
112 'display/output_configurator.cc',
113 'display/output_configurator.h',
114 'network/network_sms_handler.cc',
115 'network/network_sms_handler.h',
124 # This target contains mocks that can be used to write unit tests.
125 'target_name': 'chromeos_test_support',
126 'type': 'static_library',
128 '../build/linux/system.gyp:dbus',
129 '../testing/gmock.gyp:gmock',
133 'dbus/mock_bluetooth_adapter_client.cc',
134 'dbus/mock_bluetooth_adapter_client.h',
135 'dbus/mock_bluetooth_device_client.cc',
136 'dbus/mock_bluetooth_device_client.h',
137 'dbus/mock_bluetooth_input_client.cc',
138 'dbus/mock_bluetooth_input_client.h',
139 'dbus/mock_bluetooth_manager_client.cc',
140 'dbus/mock_bluetooth_manager_client.h',
141 'dbus/mock_bluetooth_node_client.cc',
142 'dbus/mock_bluetooth_node_client.h',
143 'dbus/mock_bluetooth_out_of_band_client.cc',
144 'dbus/mock_bluetooth_out_of_band_client.h',
145 'dbus/mock_cros_disks_client.cc',
146 'dbus/mock_cros_disks_client.h',
147 'dbus/mock_cashew_client.cc',
148 'dbus/mock_cashew_client.h',
149 'dbus/mock_cryptohome_client.cc',
150 'dbus/mock_cryptohome_client.h',
151 'dbus/mock_dbus_thread_manager.cc',
152 'dbus/mock_dbus_thread_manager.h',
153 'dbus/mock_debug_daemon_client.cc',
154 'dbus/mock_debug_daemon_client.h',
155 'dbus/mock_flimflam_device_client.cc',
156 'dbus/mock_flimflam_device_client.h',
157 'dbus/mock_flimflam_ipconfig_client.cc',
158 'dbus/mock_flimflam_ipconfig_client.h',
159 'dbus/mock_flimflam_manager_client.cc',
160 'dbus/mock_flimflam_manager_client.h',
161 'dbus/mock_flimflam_network_client.cc',
162 'dbus/mock_flimflam_network_client.h',
163 'dbus/mock_flimflam_profile_client.cc',
164 'dbus/mock_flimflam_profile_client.h',
165 'dbus/mock_flimflam_service_client.cc',
166 'dbus/mock_flimflam_service_client.h',
167 'dbus/mock_gsm_sms_client.cc',
168 'dbus/mock_gsm_sms_client.h',
169 'dbus/mock_image_burner_client.cc',
170 'dbus/mock_image_burner_client.h',
171 'dbus/mock_introspectable_client.cc',
172 'dbus/mock_introspectable_client.h',
173 'dbus/mock_modem_messaging_client.cc',
174 'dbus/mock_modem_messaging_client.h',
175 'dbus/mock_power_manager_client.cc',
176 'dbus/mock_power_manager_client.h',
177 'dbus/mock_session_manager_client.cc',
178 'dbus/mock_session_manager_client.h',
179 'dbus/mock_sms_client.cc',
180 'dbus/mock_sms_client.h',
181 'dbus/mock_speech_synthesizer_client.cc',
182 'dbus/mock_speech_synthesizer_client.h',
183 'dbus/mock_update_engine_client.cc',
184 'dbus/mock_update_engine_client.h',
191 'target_name': 'chromeos_test_support_without_gmock',
192 'type': 'static_library',
194 '../build/linux/system.gyp:dbus',
198 'dbus/mock_dbus_thread_manager_without_gmock.cc',
199 'dbus/mock_dbus_thread_manager_without_gmock.h',
200 'dbus/ibus/mock_ibus_client.cc',
201 'dbus/ibus/mock_ibus_client.h',
202 'dbus/ibus/mock_ibus_input_context_client.cc',
203 'dbus/ibus/mock_ibus_input_context_client.h',
204 'dbus/ibus/mock_ibus_engine_factory_service.cc',
205 'dbus/ibus/mock_ibus_engine_factory_service.h',
206 'dbus/ibus/mock_ibus_engine_service.cc',
207 'dbus/ibus/mock_ibus_engine_service.h',
214 'target_name': 'chromeos_unittests',
215 'type': 'executable',
217 '../base/base.gyp:run_all_unittests',
218 '../base/base.gyp:test_support_base',
219 '../build/linux/system.gyp:dbus',
220 '../dbus/dbus.gyp:dbus_test_support',
221 '../testing/gmock.gyp:gmock',
222 '../testing/gtest.gyp:gtest',
223 'chromeos_test_support',
226 'dbus/blocking_method_caller_unittest.cc',
227 'dbus/flimflam_client_unittest_base.cc',
228 'dbus/flimflam_client_unittest_base.h',
229 'dbus/flimflam_device_client_unittest.cc',
230 'dbus/flimflam_ipconfig_client_unittest.cc',
231 'dbus/flimflam_manager_client_unittest.cc',
232 'dbus/flimflam_network_client_unittest.cc',
233 'dbus/flimflam_profile_client_unittest.cc',
234 'dbus/flimflam_service_client_unittest.cc',
235 'dbus/gsm_sms_client_unittest.cc',
236 'dbus/ibus/ibus_client_unittest.cc',
237 'dbus/ibus/ibus_component_unittest.cc',
238 'dbus/ibus/ibus_engine_factory_service_unittest.cc',
239 'dbus/ibus/ibus_engine_service_unittest.cc',
240 'dbus/ibus/ibus_input_context_client_unittest.cc',
241 'dbus/ibus/ibus_lookup_table_unittest.cc',
242 'dbus/ibus/ibus_object_unittest.cc',
243 'dbus/ibus/ibus_property_unittest.cc',
244 'dbus/ibus/ibus_text_unittest.cc',
245 'dbus/introspectable_client_unittest.cc',
246 'dbus/modem_messaging_client_unittest.cc',
247 'network/network_sms_handler_unittest.cc',
254 # Protobuf compiler / generator for the PowerSupplyProperties protocol
256 'target_name': 'power_state_control_proto',
257 'type': 'static_library',
259 '../third_party/cros_system_api/dbus/power_state_control.proto',
262 'proto_in_dir': '../third_party/cros_system_api/dbus/',
263 'proto_out_dir': 'chromeos/dbus',
265 'includes': ['../build/protoc.gypi'],
268 # Protobuf compiler / generator for the PowerSupplyProperties protocol
270 'target_name': 'power_supply_properties_proto',
271 'type': 'static_library',
273 '../third_party/cros_system_api/dbus/power_supply_properties.proto',
276 'proto_in_dir': '../third_party/cros_system_api/dbus/',
277 'proto_out_dir': 'chromeos/dbus',
279 'includes': ['../build/protoc.gypi'],