blob: 575dfafa2e5542410c5b9c1ef22ff2cc865f8a6a [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]64e199252012-04-06 01:54:3629 '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',
[email protected]2b7c40d2012-06-15 03:50:4543 'dbus/bluetooth_out_of_band_client.cc',
44 'dbus/bluetooth_out_of_band_client.h',
[email protected]64e199252012-04-06 01:54:3645 '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',
[email protected]3e87a6c2012-04-19 08:18:4859 'dbus/gsm_sms_client.cc',
60 'dbus/gsm_sms_client.h',
[email protected]64e199252012-04-06 01:54:3661 'dbus/flimflam_ipconfig_client.cc',
62 'dbus/flimflam_ipconfig_client.h',
63 'dbus/flimflam_client_helper.cc',
64 'dbus/flimflam_client_helper.h',
[email protected]0e589042012-04-17 04:40:1365 'dbus/flimflam_device_client.cc',
66 'dbus/flimflam_device_client.h',
[email protected]5c40dce2012-04-11 08:01:5967 'dbus/flimflam_manager_client.cc',
68 'dbus/flimflam_manager_client.h',
[email protected]64e199252012-04-06 01:54:3669 'dbus/flimflam_network_client.cc',
70 'dbus/flimflam_network_client.h',
71 'dbus/flimflam_profile_client.cc',
72 'dbus/flimflam_profile_client.h',
[email protected]d4c6bf02012-04-18 06:10:3873 'dbus/flimflam_service_client.cc',
74 'dbus/flimflam_service_client.h',
[email protected]ce4f3532012-05-11 20:41:5375 'dbus/ibus/ibus_client.cc',
76 'dbus/ibus/ibus_client.h',
[email protected]f98713f2012-07-09 09:57:4077 'dbus/ibus/ibus_component.cc',
78 'dbus/ibus/ibus_component.h',
[email protected]ce4f3532012-05-11 20:41:5379 'dbus/ibus/ibus_constants.h',
[email protected]7f9876b2012-07-17 06:33:1580 'dbus/ibus/ibus_engine_service.cc',
81 'dbus/ibus/ibus_engine_service.h',
[email protected]f2dca75a2012-07-18 04:11:4882 'dbus/ibus/ibus_engine_factory_service.cc',
83 'dbus/ibus/ibus_engine_factory_service.h',
[email protected]e615bff2012-05-23 17:14:4984 'dbus/ibus/ibus_lookup_table.cc',
85 'dbus/ibus/ibus_lookup_table.h',
[email protected]cd301f3c2012-05-12 00:47:4486 'dbus/ibus/ibus_object.cc',
87 'dbus/ibus/ibus_object.h',
[email protected]b0b6ffa2012-06-22 06:16:3788 'dbus/ibus/ibus_property.cc',
89 'dbus/ibus/ibus_property.h',
[email protected]797510b2012-05-12 02:19:3190 'dbus/ibus/ibus_text.cc',
91 'dbus/ibus/ibus_text.h',
[email protected]2110271e2012-05-23 15:55:4892 'dbus/ibus/ibus_input_context_client.cc',
93 'dbus/ibus/ibus_input_context_client.h',
[email protected]64e199252012-04-06 01:54:3694 'dbus/image_burner_client.cc',
95 'dbus/image_burner_client.h',
96 'dbus/introspectable_client.cc',
97 'dbus/introspectable_client.h',
[email protected]85b95a2012012-08-07 18:57:2798 'dbus/media_transfer_protocol_daemon_client.cc',
99 'dbus/media_transfer_protocol_daemon_client.h',
[email protected]88d6fc252012-06-12 08:57:52100 'dbus/modem_messaging_client.cc',
101 'dbus/modem_messaging_client.h',
[email protected]64e199252012-04-06 01:54:36102 'dbus/power_manager_client.cc',
103 'dbus/power_manager_client.h',
[email protected]af4ac5de82012-04-05 00:50:27104 'dbus/power_supply_status.cc',
105 'dbus/power_supply_status.h',
[email protected]64e199252012-04-06 01:54:36106 'dbus/session_manager_client.cc',
107 'dbus/session_manager_client.h',
108 'dbus/speech_synthesizer_client.cc',
109 'dbus/speech_synthesizer_client.h',
[email protected]88d6fc252012-06-12 08:57:52110 'dbus/sms_client.cc',
111 'dbus/sms_client.h',
[email protected]64e199252012-04-06 01:54:36112 'dbus/update_engine_client.cc',
113 'dbus/update_engine_client.h',
[email protected]4cbead42012-08-26 12:02:39114 'disks/disk_mount_manager.cc',
115 'disks/disk_mount_manager.h',
[email protected]2e236a52012-06-27 22:21:47116 'display/output_configurator.cc',
117 'display/output_configurator.h',
[email protected]9c0991fb2012-05-15 01:45:36118 'network/network_sms_handler.cc',
119 'network/network_sms_handler.h',
[email protected]af4ac5de82012-04-05 00:50:27120 ],
[email protected]70b3e7d52012-06-02 22:12:25121 'link_settings': {
122 'libraries': [
123 '-lXext',
124 ],
125 },
[email protected]af4ac5de82012-04-05 00:50:27126 },
[email protected]64e199252012-04-06 01:54:36127 {
128 # This target contains mocks that can be used to write unit tests.
129 'target_name': 'chromeos_test_support',
130 'type': 'static_library',
131 'dependencies': [
132 '../build/linux/system.gyp:dbus',
133 '../testing/gmock.gyp:gmock',
134 'chromeos',
135 ],
136 'sources': [
137 'dbus/mock_bluetooth_adapter_client.cc',
138 'dbus/mock_bluetooth_adapter_client.h',
139 'dbus/mock_bluetooth_device_client.cc',
140 'dbus/mock_bluetooth_device_client.h',
141 'dbus/mock_bluetooth_input_client.cc',
142 'dbus/mock_bluetooth_input_client.h',
143 'dbus/mock_bluetooth_manager_client.cc',
144 'dbus/mock_bluetooth_manager_client.h',
145 'dbus/mock_bluetooth_node_client.cc',
146 'dbus/mock_bluetooth_node_client.h',
[email protected]2b7c40d2012-06-15 03:50:45147 'dbus/mock_bluetooth_out_of_band_client.cc',
148 'dbus/mock_bluetooth_out_of_band_client.h',
[email protected]64e199252012-04-06 01:54:36149 'dbus/mock_cashew_client.cc',
150 'dbus/mock_cashew_client.h',
[email protected]85b95a2012012-08-07 18:57:27151 'dbus/mock_cros_disks_client.cc',
152 'dbus/mock_cros_disks_client.h',
[email protected]64e199252012-04-06 01:54:36153 'dbus/mock_cryptohome_client.cc',
154 'dbus/mock_cryptohome_client.h',
155 'dbus/mock_dbus_thread_manager.cc',
156 'dbus/mock_dbus_thread_manager.h',
157 'dbus/mock_debug_daemon_client.cc',
158 'dbus/mock_debug_daemon_client.h',
[email protected]0e589042012-04-17 04:40:13159 'dbus/mock_flimflam_device_client.cc',
160 'dbus/mock_flimflam_device_client.h',
[email protected]64e199252012-04-06 01:54:36161 'dbus/mock_flimflam_ipconfig_client.cc',
162 'dbus/mock_flimflam_ipconfig_client.h',
[email protected]5c40dce2012-04-11 08:01:59163 'dbus/mock_flimflam_manager_client.cc',
164 'dbus/mock_flimflam_manager_client.h',
[email protected]64e199252012-04-06 01:54:36165 'dbus/mock_flimflam_network_client.cc',
166 'dbus/mock_flimflam_network_client.h',
167 'dbus/mock_flimflam_profile_client.cc',
168 'dbus/mock_flimflam_profile_client.h',
[email protected]d4c6bf02012-04-18 06:10:38169 'dbus/mock_flimflam_service_client.cc',
170 'dbus/mock_flimflam_service_client.h',
[email protected]3e87a6c2012-04-19 08:18:48171 'dbus/mock_gsm_sms_client.cc',
172 'dbus/mock_gsm_sms_client.h',
[email protected]64e199252012-04-06 01:54:36173 'dbus/mock_image_burner_client.cc',
174 'dbus/mock_image_burner_client.h',
175 'dbus/mock_introspectable_client.cc',
176 'dbus/mock_introspectable_client.h',
[email protected]85b95a2012012-08-07 18:57:27177 'dbus/mock_media_transfer_protocol_daemon_client.cc',
178 'dbus/mock_media_transfer_protocol_daemon_client.h',
[email protected]88d6fc252012-06-12 08:57:52179 'dbus/mock_modem_messaging_client.cc',
180 'dbus/mock_modem_messaging_client.h',
[email protected]64e199252012-04-06 01:54:36181 'dbus/mock_power_manager_client.cc',
182 'dbus/mock_power_manager_client.h',
183 'dbus/mock_session_manager_client.cc',
184 'dbus/mock_session_manager_client.h',
[email protected]88d6fc252012-06-12 08:57:52185 'dbus/mock_sms_client.cc',
186 'dbus/mock_sms_client.h',
[email protected]64e199252012-04-06 01:54:36187 'dbus/mock_speech_synthesizer_client.cc',
188 'dbus/mock_speech_synthesizer_client.h',
189 'dbus/mock_update_engine_client.cc',
190 'dbus/mock_update_engine_client.h',
[email protected]4cbead42012-08-26 12:02:39191 'disks/mock_disk_mount_manager.cc',
192 'disks/mock_disk_mount_manager.h',
[email protected]64e199252012-04-06 01:54:36193 ],
194 'include_dirs': [
195 '..',
196 ],
197 },
198 {
[email protected]400d31532012-06-15 07:41:38199 'target_name': 'chromeos_test_support_without_gmock',
200 'type': 'static_library',
201 'dependencies': [
202 '../build/linux/system.gyp:dbus',
203 'chromeos',
204 ],
205 'sources': [
206 'dbus/mock_dbus_thread_manager_without_gmock.cc',
207 'dbus/mock_dbus_thread_manager_without_gmock.h',
208 'dbus/ibus/mock_ibus_client.cc',
209 'dbus/ibus/mock_ibus_client.h',
210 'dbus/ibus/mock_ibus_input_context_client.cc',
211 'dbus/ibus/mock_ibus_input_context_client.h',
[email protected]f2dca75a2012-07-18 04:11:48212 'dbus/ibus/mock_ibus_engine_factory_service.cc',
213 'dbus/ibus/mock_ibus_engine_factory_service.h',
[email protected]7f9876b2012-07-17 06:33:15214 'dbus/ibus/mock_ibus_engine_service.cc',
215 'dbus/ibus/mock_ibus_engine_service.h',
[email protected]400d31532012-06-15 07:41:38216 ],
217 'include_dirs': [
218 '..',
219 ],
220 },
221 {
[email protected]64e199252012-04-06 01:54:36222 'target_name': 'chromeos_unittests',
223 'type': 'executable',
224 'dependencies': [
225 '../base/base.gyp:run_all_unittests',
226 '../base/base.gyp:test_support_base',
227 '../build/linux/system.gyp:dbus',
228 '../dbus/dbus.gyp:dbus_test_support',
229 '../testing/gmock.gyp:gmock',
230 '../testing/gtest.gyp:gtest',
231 'chromeos_test_support',
232 ],
233 'sources': [
234 'dbus/blocking_method_caller_unittest.cc',
235 'dbus/flimflam_client_unittest_base.cc',
236 'dbus/flimflam_client_unittest_base.h',
[email protected]0e589042012-04-17 04:40:13237 'dbus/flimflam_device_client_unittest.cc',
[email protected]f12784d22012-04-20 04:09:01238 'dbus/flimflam_ipconfig_client_unittest.cc',
[email protected]5c40dce2012-04-11 08:01:59239 'dbus/flimflam_manager_client_unittest.cc',
[email protected]64e199252012-04-06 01:54:36240 'dbus/flimflam_network_client_unittest.cc',
[email protected]18929a9d32012-04-17 02:08:01241 'dbus/flimflam_profile_client_unittest.cc',
[email protected]d4c6bf02012-04-18 06:10:38242 'dbus/flimflam_service_client_unittest.cc',
[email protected]3e87a6c2012-04-19 08:18:48243 'dbus/gsm_sms_client_unittest.cc',
[email protected]ce4f3532012-05-11 20:41:53244 'dbus/ibus/ibus_client_unittest.cc',
[email protected]f98713f2012-07-09 09:57:40245 'dbus/ibus/ibus_component_unittest.cc',
[email protected]f2dca75a2012-07-18 04:11:48246 'dbus/ibus/ibus_engine_factory_service_unittest.cc',
[email protected]2f2f005f2012-07-24 09:00:28247 'dbus/ibus/ibus_engine_service_unittest.cc',
248 'dbus/ibus/ibus_input_context_client_unittest.cc',
[email protected]e615bff2012-05-23 17:14:49249 'dbus/ibus/ibus_lookup_table_unittest.cc',
[email protected]cd301f3c2012-05-12 00:47:44250 'dbus/ibus/ibus_object_unittest.cc',
[email protected]b0b6ffa2012-06-22 06:16:37251 'dbus/ibus/ibus_property_unittest.cc',
[email protected]797510b2012-05-12 02:19:31252 'dbus/ibus/ibus_text_unittest.cc',
[email protected]b6ebf072012-05-30 10:44:34253 'dbus/introspectable_client_unittest.cc',
[email protected]88d6fc252012-06-12 08:57:52254 'dbus/modem_messaging_client_unittest.cc',
[email protected]9c0991fb2012-05-15 01:45:36255 'network/network_sms_handler_unittest.cc',
[email protected]64e199252012-04-06 01:54:36256 ],
257 'include_dirs': [
258 '..',
259 ],
260 },
261 {
262 # Protobuf compiler / generator for the PowerSupplyProperties protocol
263 # buffer.
264 'target_name': 'power_state_control_proto',
265 'type': 'static_library',
266 'sources': [
267 '../third_party/cros_system_api/dbus/power_state_control.proto',
268 ],
269 'variables': {
270 'proto_in_dir': '../third_party/cros_system_api/dbus/',
271 'proto_out_dir': 'chromeos/dbus',
272 },
273 'includes': ['../build/protoc.gypi'],
274 },
275 {
276 # Protobuf compiler / generator for the PowerSupplyProperties protocol
277 # buffer.
278 'target_name': 'power_supply_properties_proto',
279 'type': 'static_library',
280 'sources': [
281 '../third_party/cros_system_api/dbus/power_supply_properties.proto',
282 ],
283 'variables': {
284 'proto_in_dir': '../third_party/cros_system_api/dbus/',
285 'proto_out_dir': 'chromeos/dbus',
286 },
287 'includes': ['../build/protoc.gypi'],
288 },
289 ],
[email protected]af4ac5de82012-04-05 00:50:27290}