blob: f174b0fea5eb5979d3dfc4855ca61547f593ad35 [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]88d6fc252012-06-12 08:57:5298 'dbus/modem_messaging_client.cc',
99 'dbus/modem_messaging_client.h',
[email protected]64e199252012-04-06 01:54:36100 'dbus/power_manager_client.cc',
101 'dbus/power_manager_client.h',
[email protected]af4ac5de82012-04-05 00:50:27102 'dbus/power_supply_status.cc',
103 'dbus/power_supply_status.h',
[email protected]64e199252012-04-06 01:54:36104 'dbus/session_manager_client.cc',
105 'dbus/session_manager_client.h',
106 'dbus/speech_synthesizer_client.cc',
107 'dbus/speech_synthesizer_client.h',
[email protected]88d6fc252012-06-12 08:57:52108 'dbus/sms_client.cc',
109 'dbus/sms_client.h',
[email protected]64e199252012-04-06 01:54:36110 'dbus/update_engine_client.cc',
111 'dbus/update_engine_client.h',
[email protected]2e236a52012-06-27 22:21:47112 'display/output_configurator.cc',
113 'display/output_configurator.h',
[email protected]9c0991fb2012-05-15 01:45:36114 'network/network_sms_handler.cc',
115 'network/network_sms_handler.h',
[email protected]af4ac5de82012-04-05 00:50:27116 ],
[email protected]70b3e7d52012-06-02 22:12:25117 'link_settings': {
118 'libraries': [
119 '-lXext',
120 ],
121 },
[email protected]af4ac5de82012-04-05 00:50:27122 },
[email protected]64e199252012-04-06 01:54:36123 {
124 # This target contains mocks that can be used to write unit tests.
125 'target_name': 'chromeos_test_support',
126 'type': 'static_library',
127 'dependencies': [
128 '../build/linux/system.gyp:dbus',
129 '../testing/gmock.gyp:gmock',
130 'chromeos',
131 ],
132 'sources': [
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',
[email protected]2b7c40d2012-06-15 03:50:45143 'dbus/mock_bluetooth_out_of_band_client.cc',
144 'dbus/mock_bluetooth_out_of_band_client.h',
[email protected]64e199252012-04-06 01:54:36145 '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',
[email protected]0e589042012-04-17 04:40:13155 'dbus/mock_flimflam_device_client.cc',
156 'dbus/mock_flimflam_device_client.h',
[email protected]64e199252012-04-06 01:54:36157 'dbus/mock_flimflam_ipconfig_client.cc',
158 'dbus/mock_flimflam_ipconfig_client.h',
[email protected]5c40dce2012-04-11 08:01:59159 'dbus/mock_flimflam_manager_client.cc',
160 'dbus/mock_flimflam_manager_client.h',
[email protected]64e199252012-04-06 01:54:36161 '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',
[email protected]d4c6bf02012-04-18 06:10:38165 'dbus/mock_flimflam_service_client.cc',
166 'dbus/mock_flimflam_service_client.h',
[email protected]3e87a6c2012-04-19 08:18:48167 'dbus/mock_gsm_sms_client.cc',
168 'dbus/mock_gsm_sms_client.h',
[email protected]64e199252012-04-06 01:54:36169 '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',
[email protected]88d6fc252012-06-12 08:57:52173 'dbus/mock_modem_messaging_client.cc',
174 'dbus/mock_modem_messaging_client.h',
[email protected]64e199252012-04-06 01:54:36175 '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',
[email protected]88d6fc252012-06-12 08:57:52179 'dbus/mock_sms_client.cc',
180 'dbus/mock_sms_client.h',
[email protected]64e199252012-04-06 01:54:36181 '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',
185 ],
186 'include_dirs': [
187 '..',
188 ],
189 },
190 {
[email protected]400d31532012-06-15 07:41:38191 'target_name': 'chromeos_test_support_without_gmock',
192 'type': 'static_library',
193 'dependencies': [
194 '../build/linux/system.gyp:dbus',
195 'chromeos',
196 ],
197 'sources': [
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',
[email protected]f2dca75a2012-07-18 04:11:48204 'dbus/ibus/mock_ibus_engine_factory_service.cc',
205 'dbus/ibus/mock_ibus_engine_factory_service.h',
[email protected]7f9876b2012-07-17 06:33:15206 'dbus/ibus/mock_ibus_engine_service.cc',
207 'dbus/ibus/mock_ibus_engine_service.h',
[email protected]400d31532012-06-15 07:41:38208 ],
209 'include_dirs': [
210 '..',
211 ],
212 },
213 {
[email protected]64e199252012-04-06 01:54:36214 'target_name': 'chromeos_unittests',
215 'type': 'executable',
216 'dependencies': [
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',
224 ],
225 'sources': [
226 'dbus/blocking_method_caller_unittest.cc',
227 'dbus/flimflam_client_unittest_base.cc',
228 'dbus/flimflam_client_unittest_base.h',
[email protected]0e589042012-04-17 04:40:13229 'dbus/flimflam_device_client_unittest.cc',
[email protected]f12784d22012-04-20 04:09:01230 'dbus/flimflam_ipconfig_client_unittest.cc',
[email protected]5c40dce2012-04-11 08:01:59231 'dbus/flimflam_manager_client_unittest.cc',
[email protected]64e199252012-04-06 01:54:36232 'dbus/flimflam_network_client_unittest.cc',
[email protected]18929a9d32012-04-17 02:08:01233 'dbus/flimflam_profile_client_unittest.cc',
[email protected]d4c6bf02012-04-18 06:10:38234 'dbus/flimflam_service_client_unittest.cc',
[email protected]3e87a6c2012-04-19 08:18:48235 'dbus/gsm_sms_client_unittest.cc',
[email protected]ce4f3532012-05-11 20:41:53236 'dbus/ibus/ibus_client_unittest.cc',
[email protected]f98713f2012-07-09 09:57:40237 'dbus/ibus/ibus_component_unittest.cc',
[email protected]f2dca75a2012-07-18 04:11:48238 'dbus/ibus/ibus_engine_factory_service_unittest.cc',
[email protected]2f2f005f2012-07-24 09:00:28239 'dbus/ibus/ibus_engine_service_unittest.cc',
240 'dbus/ibus/ibus_input_context_client_unittest.cc',
[email protected]e615bff2012-05-23 17:14:49241 'dbus/ibus/ibus_lookup_table_unittest.cc',
[email protected]cd301f3c2012-05-12 00:47:44242 'dbus/ibus/ibus_object_unittest.cc',
[email protected]b0b6ffa2012-06-22 06:16:37243 'dbus/ibus/ibus_property_unittest.cc',
[email protected]797510b2012-05-12 02:19:31244 'dbus/ibus/ibus_text_unittest.cc',
[email protected]b6ebf072012-05-30 10:44:34245 'dbus/introspectable_client_unittest.cc',
[email protected]88d6fc252012-06-12 08:57:52246 'dbus/modem_messaging_client_unittest.cc',
[email protected]9c0991fb2012-05-15 01:45:36247 'network/network_sms_handler_unittest.cc',
[email protected]64e199252012-04-06 01:54:36248 ],
249 'include_dirs': [
250 '..',
251 ],
252 },
253 {
254 # Protobuf compiler / generator for the PowerSupplyProperties protocol
255 # buffer.
256 'target_name': 'power_state_control_proto',
257 'type': 'static_library',
258 'sources': [
259 '../third_party/cros_system_api/dbus/power_state_control.proto',
260 ],
261 'variables': {
262 'proto_in_dir': '../third_party/cros_system_api/dbus/',
263 'proto_out_dir': 'chromeos/dbus',
264 },
265 'includes': ['../build/protoc.gypi'],
266 },
267 {
268 # Protobuf compiler / generator for the PowerSupplyProperties protocol
269 # buffer.
270 'target_name': 'power_supply_properties_proto',
271 'type': 'static_library',
272 'sources': [
273 '../third_party/cros_system_api/dbus/power_supply_properties.proto',
274 ],
275 'variables': {
276 'proto_in_dir': '../third_party/cros_system_api/dbus/',
277 'proto_out_dir': 'chromeos/dbus',
278 },
279 'includes': ['../build/protoc.gypi'],
280 },
281 ],
[email protected]af4ac5de82012-04-05 00:50:27282}