blob: fdf1958a550103ccadac218cb23a2b3dcad8c00f [file] [log] [blame]
[email protected]af4ac5de82012-04-05 00:50:271# 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.
4
5{
6 'variables': {
7 'chromium_code': 1,
8 },
9 'targets': [
10 {
11 'target_name': 'chromeos',
12 'type': '<(component)',
13 'dependencies': [
14 '../base/base.gyp:base',
[email protected]64e199252012-04-06 01:54:3615 '../build/linux/system.gyp:dbus',
16 '../dbus/dbus.gyp:dbus',
17 '../net/net.gyp:net',
[email protected]b6ebf072012-05-30 10:44:3418 '../third_party/libxml/libxml.gyp:libxml',
[email protected]64e199252012-04-06 01:54:3619 'power_state_control_proto',
20 'power_supply_properties_proto',
[email protected]af4ac5de82012-04-05 00:50:2721 ],
[email protected]b3878642012-05-15 15:04:3222 'defines': [
23 'CHROMEOS_IMPLEMENTATION',
24 ],
[email protected]af4ac5de82012-04-05 00:50:2725 'sources': [
26 'chromeos_export.h',
[email protected]66149a5c2012-05-11 19:14:2727 'chromeos_switches.cc',
28 'chromeos_switches.h',
[email protected]6666e5bf2012-08-26 12:11:3729 'cryptohome/async_method_caller.cc',
30 'cryptohome/async_method_caller.h',
[email protected]64e199252012-04-06 01:54:3631 'dbus/blocking_method_caller.cc',
32 'dbus/blocking_method_caller.h',
33 'dbus/bluetooth_adapter_client.cc',
34 'dbus/bluetooth_adapter_client.h',
35 'dbus/bluetooth_agent_service_provider.cc',
36 'dbus/bluetooth_agent_service_provider.h',
37 'dbus/bluetooth_device_client.cc',
38 'dbus/bluetooth_device_client.h',
39 'dbus/bluetooth_input_client.cc',
40 'dbus/bluetooth_input_client.h',
41 'dbus/bluetooth_manager_client.cc',
42 'dbus/bluetooth_manager_client.h',
43 'dbus/bluetooth_node_client.cc',
44 'dbus/bluetooth_node_client.h',
[email protected]2b7c40d2012-06-15 03:50:4545 'dbus/bluetooth_out_of_band_client.cc',
46 'dbus/bluetooth_out_of_band_client.h',
[email protected]64e199252012-04-06 01:54:3647 'dbus/bluetooth_property.cc',
48 'dbus/bluetooth_property.h',
49 'dbus/cashew_client.cc',
50 'dbus/cashew_client.h',
51 'dbus/cros_disks_client.cc',
52 'dbus/cros_disks_client.h',
53 'dbus/cryptohome_client.cc',
54 'dbus/cryptohome_client.h',
55 'dbus/dbus_client_implementation_type.h',
56 'dbus/dbus_method_call_status.h',
57 'dbus/dbus_thread_manager.cc',
58 'dbus/dbus_thread_manager.h',
59 'dbus/debug_daemon_client.cc',
60 'dbus/debug_daemon_client.h',
[email protected]3e87a6c2012-04-19 08:18:4861 'dbus/gsm_sms_client.cc',
62 'dbus/gsm_sms_client.h',
[email protected]07c674cd2012-09-07 20:53:5663 'dbus/shill_ipconfig_client.cc',
64 'dbus/shill_ipconfig_client.h',
65 'dbus/shill_client_helper.cc',
66 'dbus/shill_client_helper.h',
67 'dbus/shill_device_client.cc',
68 'dbus/shill_device_client.h',
69 'dbus/shill_manager_client.cc',
70 'dbus/shill_manager_client.h',
71 'dbus/shill_network_client.cc',
72 'dbus/shill_network_client.h',
73 'dbus/shill_profile_client.cc',
74 'dbus/shill_profile_client.h',
75 'dbus/shill_service_client.cc',
76 'dbus/shill_service_client.h',
[email protected]ce4f3532012-05-11 20:41:5377 'dbus/ibus/ibus_client.cc',
78 'dbus/ibus/ibus_client.h',
[email protected]f98713f2012-07-09 09:57:4079 'dbus/ibus/ibus_component.cc',
80 'dbus/ibus/ibus_component.h',
[email protected]ce4f3532012-05-11 20:41:5381 'dbus/ibus/ibus_constants.h',
[email protected]7f9876b2012-07-17 06:33:1582 'dbus/ibus/ibus_engine_service.cc',
83 'dbus/ibus/ibus_engine_service.h',
[email protected]f2dca75a2012-07-18 04:11:4884 'dbus/ibus/ibus_engine_factory_service.cc',
85 'dbus/ibus/ibus_engine_factory_service.h',
[email protected]e615bff2012-05-23 17:14:4986 'dbus/ibus/ibus_lookup_table.cc',
87 'dbus/ibus/ibus_lookup_table.h',
[email protected]cd301f3c2012-05-12 00:47:4488 'dbus/ibus/ibus_object.cc',
89 'dbus/ibus/ibus_object.h',
[email protected]b0b6ffa2012-06-22 06:16:3790 'dbus/ibus/ibus_property.cc',
91 'dbus/ibus/ibus_property.h',
[email protected]797510b2012-05-12 02:19:3192 'dbus/ibus/ibus_text.cc',
93 'dbus/ibus/ibus_text.h',
[email protected]2110271e2012-05-23 15:55:4894 'dbus/ibus/ibus_input_context_client.cc',
95 'dbus/ibus/ibus_input_context_client.h',
[email protected]64e199252012-04-06 01:54:3696 'dbus/image_burner_client.cc',
97 'dbus/image_burner_client.h',
98 'dbus/introspectable_client.cc',
99 'dbus/introspectable_client.h',
[email protected]85b95a2012012-08-07 18:57:27100 'dbus/media_transfer_protocol_daemon_client.cc',
101 'dbus/media_transfer_protocol_daemon_client.h',
[email protected]88d6fc252012-06-12 08:57:52102 'dbus/modem_messaging_client.cc',
103 'dbus/modem_messaging_client.h',
[email protected]3392da32012-09-07 04:26:53104 'dbus/permission_broker_client.cc',
105 'dbus/permission_broker_client.h',
[email protected]64e199252012-04-06 01:54:36106 'dbus/power_manager_client.cc',
107 'dbus/power_manager_client.h',
[email protected]af4ac5de82012-04-05 00:50:27108 'dbus/power_supply_status.cc',
109 'dbus/power_supply_status.h',
[email protected]64e199252012-04-06 01:54:36110 'dbus/session_manager_client.cc',
111 'dbus/session_manager_client.h',
112 'dbus/speech_synthesizer_client.cc',
113 'dbus/speech_synthesizer_client.h',
[email protected]88d6fc252012-06-12 08:57:52114 'dbus/sms_client.cc',
115 'dbus/sms_client.h',
[email protected]64e199252012-04-06 01:54:36116 'dbus/update_engine_client.cc',
117 'dbus/update_engine_client.h',
[email protected]4cbead42012-08-26 12:02:39118 'disks/disk_mount_manager.cc',
119 'disks/disk_mount_manager.h',
[email protected]2e236a52012-06-27 22:21:47120 'display/output_configurator.cc',
121 'display/output_configurator.h',
[email protected]9c0991fb2012-05-15 01:45:36122 'network/network_sms_handler.cc',
123 'network/network_sms_handler.h',
[email protected]af4ac5de82012-04-05 00:50:27124 ],
[email protected]70b3e7d52012-06-02 22:12:25125 'link_settings': {
126 'libraries': [
127 '-lXext',
[email protected]c235233da2012-09-10 20:13:42128 '-lXrandr',
[email protected]70b3e7d52012-06-02 22:12:25129 ],
130 },
[email protected]af4ac5de82012-04-05 00:50:27131 },
[email protected]64e199252012-04-06 01:54:36132 {
133 # This target contains mocks that can be used to write unit tests.
134 'target_name': 'chromeos_test_support',
135 'type': 'static_library',
136 'dependencies': [
137 '../build/linux/system.gyp:dbus',
138 '../testing/gmock.gyp:gmock',
139 'chromeos',
140 ],
141 'sources': [
[email protected]6666e5bf2012-08-26 12:11:37142 'cryptohome/mock_async_method_caller.cc',
143 'cryptohome/mock_async_method_caller.h',
[email protected]64e199252012-04-06 01:54:36144 'dbus/mock_bluetooth_adapter_client.cc',
145 'dbus/mock_bluetooth_adapter_client.h',
146 'dbus/mock_bluetooth_device_client.cc',
147 'dbus/mock_bluetooth_device_client.h',
148 'dbus/mock_bluetooth_input_client.cc',
149 'dbus/mock_bluetooth_input_client.h',
150 'dbus/mock_bluetooth_manager_client.cc',
151 'dbus/mock_bluetooth_manager_client.h',
152 'dbus/mock_bluetooth_node_client.cc',
153 'dbus/mock_bluetooth_node_client.h',
[email protected]2b7c40d2012-06-15 03:50:45154 'dbus/mock_bluetooth_out_of_band_client.cc',
155 'dbus/mock_bluetooth_out_of_band_client.h',
[email protected]64e199252012-04-06 01:54:36156 'dbus/mock_cashew_client.cc',
157 'dbus/mock_cashew_client.h',
[email protected]85b95a2012012-08-07 18:57:27158 'dbus/mock_cros_disks_client.cc',
159 'dbus/mock_cros_disks_client.h',
[email protected]64e199252012-04-06 01:54:36160 'dbus/mock_cryptohome_client.cc',
161 'dbus/mock_cryptohome_client.h',
162 'dbus/mock_dbus_thread_manager.cc',
163 'dbus/mock_dbus_thread_manager.h',
164 'dbus/mock_debug_daemon_client.cc',
165 'dbus/mock_debug_daemon_client.h',
[email protected]07c674cd2012-09-07 20:53:56166 'dbus/mock_shill_device_client.cc',
167 'dbus/mock_shill_device_client.h',
168 'dbus/mock_shill_ipconfig_client.cc',
169 'dbus/mock_shill_ipconfig_client.h',
170 'dbus/mock_shill_manager_client.cc',
171 'dbus/mock_shill_manager_client.h',
172 'dbus/mock_shill_network_client.cc',
173 'dbus/mock_shill_network_client.h',
174 'dbus/mock_shill_profile_client.cc',
175 'dbus/mock_shill_profile_client.h',
176 'dbus/mock_shill_service_client.cc',
177 'dbus/mock_shill_service_client.h',
[email protected]3e87a6c2012-04-19 08:18:48178 'dbus/mock_gsm_sms_client.cc',
179 'dbus/mock_gsm_sms_client.h',
[email protected]64e199252012-04-06 01:54:36180 'dbus/mock_image_burner_client.cc',
181 'dbus/mock_image_burner_client.h',
182 'dbus/mock_introspectable_client.cc',
183 'dbus/mock_introspectable_client.h',
[email protected]85b95a2012012-08-07 18:57:27184 'dbus/mock_media_transfer_protocol_daemon_client.cc',
185 'dbus/mock_media_transfer_protocol_daemon_client.h',
[email protected]88d6fc252012-06-12 08:57:52186 'dbus/mock_modem_messaging_client.cc',
187 'dbus/mock_modem_messaging_client.h',
[email protected]3392da32012-09-07 04:26:53188 'dbus/mock_permission_broker_client.h',
189 'dbus/mock_permission_broker_client.cc',
[email protected]64e199252012-04-06 01:54:36190 'dbus/mock_power_manager_client.cc',
191 'dbus/mock_power_manager_client.h',
192 'dbus/mock_session_manager_client.cc',
193 'dbus/mock_session_manager_client.h',
[email protected]88d6fc252012-06-12 08:57:52194 'dbus/mock_sms_client.cc',
195 'dbus/mock_sms_client.h',
[email protected]64e199252012-04-06 01:54:36196 'dbus/mock_speech_synthesizer_client.cc',
197 'dbus/mock_speech_synthesizer_client.h',
198 'dbus/mock_update_engine_client.cc',
199 'dbus/mock_update_engine_client.h',
[email protected]4cbead42012-08-26 12:02:39200 'disks/mock_disk_mount_manager.cc',
201 'disks/mock_disk_mount_manager.h',
[email protected]64e199252012-04-06 01:54:36202 ],
203 'include_dirs': [
204 '..',
205 ],
206 },
207 {
[email protected]400d31532012-06-15 07:41:38208 'target_name': 'chromeos_test_support_without_gmock',
209 'type': 'static_library',
210 'dependencies': [
211 '../build/linux/system.gyp:dbus',
212 'chromeos',
213 ],
214 'sources': [
215 'dbus/mock_dbus_thread_manager_without_gmock.cc',
216 'dbus/mock_dbus_thread_manager_without_gmock.h',
217 'dbus/ibus/mock_ibus_client.cc',
218 'dbus/ibus/mock_ibus_client.h',
219 'dbus/ibus/mock_ibus_input_context_client.cc',
220 'dbus/ibus/mock_ibus_input_context_client.h',
[email protected]f2dca75a2012-07-18 04:11:48221 'dbus/ibus/mock_ibus_engine_factory_service.cc',
222 'dbus/ibus/mock_ibus_engine_factory_service.h',
[email protected]7f9876b2012-07-17 06:33:15223 'dbus/ibus/mock_ibus_engine_service.cc',
224 'dbus/ibus/mock_ibus_engine_service.h',
[email protected]400d31532012-06-15 07:41:38225 ],
226 'include_dirs': [
227 '..',
228 ],
229 },
230 {
[email protected]64e199252012-04-06 01:54:36231 'target_name': 'chromeos_unittests',
232 'type': 'executable',
233 'dependencies': [
234 '../base/base.gyp:run_all_unittests',
235 '../base/base.gyp:test_support_base',
236 '../build/linux/system.gyp:dbus',
237 '../dbus/dbus.gyp:dbus_test_support',
238 '../testing/gmock.gyp:gmock',
239 '../testing/gtest.gyp:gtest',
240 'chromeos_test_support',
241 ],
242 'sources': [
[email protected]6d980bc2012-09-10 19:28:45243 'display/output_configurator_unittest.cc',
[email protected]64e199252012-04-06 01:54:36244 'dbus/blocking_method_caller_unittest.cc',
[email protected]07c674cd2012-09-07 20:53:56245 'dbus/shill_client_unittest_base.cc',
246 'dbus/shill_client_unittest_base.h',
247 'dbus/shill_device_client_unittest.cc',
248 'dbus/shill_ipconfig_client_unittest.cc',
249 'dbus/shill_manager_client_unittest.cc',
250 'dbus/shill_network_client_unittest.cc',
251 'dbus/shill_profile_client_unittest.cc',
252 'dbus/shill_service_client_unittest.cc',
[email protected]3e87a6c2012-04-19 08:18:48253 'dbus/gsm_sms_client_unittest.cc',
[email protected]ce4f3532012-05-11 20:41:53254 'dbus/ibus/ibus_client_unittest.cc',
[email protected]f98713f2012-07-09 09:57:40255 'dbus/ibus/ibus_component_unittest.cc',
[email protected]f2dca75a2012-07-18 04:11:48256 'dbus/ibus/ibus_engine_factory_service_unittest.cc',
[email protected]2f2f005f2012-07-24 09:00:28257 'dbus/ibus/ibus_engine_service_unittest.cc',
258 'dbus/ibus/ibus_input_context_client_unittest.cc',
[email protected]e615bff2012-05-23 17:14:49259 'dbus/ibus/ibus_lookup_table_unittest.cc',
[email protected]cd301f3c2012-05-12 00:47:44260 'dbus/ibus/ibus_object_unittest.cc',
[email protected]b0b6ffa2012-06-22 06:16:37261 'dbus/ibus/ibus_property_unittest.cc',
[email protected]797510b2012-05-12 02:19:31262 'dbus/ibus/ibus_text_unittest.cc',
[email protected]b6ebf072012-05-30 10:44:34263 'dbus/introspectable_client_unittest.cc',
[email protected]88d6fc252012-06-12 08:57:52264 'dbus/modem_messaging_client_unittest.cc',
[email protected]9c0991fb2012-05-15 01:45:36265 'network/network_sms_handler_unittest.cc',
[email protected]64e199252012-04-06 01:54:36266 ],
267 'include_dirs': [
268 '..',
269 ],
270 },
271 {
272 # Protobuf compiler / generator for the PowerSupplyProperties protocol
273 # buffer.
274 'target_name': 'power_state_control_proto',
275 'type': 'static_library',
276 'sources': [
277 '../third_party/cros_system_api/dbus/power_state_control.proto',
278 ],
279 'variables': {
280 'proto_in_dir': '../third_party/cros_system_api/dbus/',
281 'proto_out_dir': 'chromeos/dbus',
282 },
283 'includes': ['../build/protoc.gypi'],
284 },
285 {
286 # Protobuf compiler / generator for the PowerSupplyProperties protocol
287 # buffer.
288 'target_name': 'power_supply_properties_proto',
289 'type': 'static_library',
290 'sources': [
291 '../third_party/cros_system_api/dbus/power_supply_properties.proto',
292 ],
293 'variables': {
294 'proto_in_dir': '../third_party/cros_system_api/dbus/',
295 'proto_out_dir': 'chromeos/dbus',
296 },
297 'includes': ['../build/protoc.gypi'],
298 },
299 ],
[email protected]af4ac5de82012-04-05 00:50:27300}