[email protected] | af4ac5de8 | 2012-04-05 00:50:27 | [diff] [blame] | 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. |
| 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] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 15 | '../build/linux/system.gyp:dbus', |
| 16 | '../dbus/dbus.gyp:dbus', |
| 17 | '../net/net.gyp:net', |
[email protected] | b6ebf07 | 2012-05-30 10:44:34 | [diff] [blame] | 18 | '../third_party/libxml/libxml.gyp:libxml', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 19 | 'power_state_control_proto', |
| 20 | 'power_supply_properties_proto', |
[email protected] | af4ac5de8 | 2012-04-05 00:50:27 | [diff] [blame] | 21 | ], |
[email protected] | b387864 | 2012-05-15 15:04:32 | [diff] [blame] | 22 | 'defines': [ |
| 23 | 'CHROMEOS_IMPLEMENTATION', |
| 24 | ], |
[email protected] | af4ac5de8 | 2012-04-05 00:50:27 | [diff] [blame] | 25 | 'sources': [ |
| 26 | 'chromeos_export.h', |
[email protected] | 66149a5c | 2012-05-11 19:14:27 | [diff] [blame] | 27 | 'chromeos_switches.cc', |
| 28 | 'chromeos_switches.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 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', |
[email protected] | 2b7c40d | 2012-06-15 03:50:45 | [diff] [blame] | 43 | 'dbus/bluetooth_out_of_band_client.cc', |
| 44 | 'dbus/bluetooth_out_of_band_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 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', |
[email protected] | 3e87a6c | 2012-04-19 08:18:48 | [diff] [blame] | 59 | 'dbus/gsm_sms_client.cc', |
| 60 | 'dbus/gsm_sms_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 61 | '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] | 0e58904 | 2012-04-17 04:40:13 | [diff] [blame] | 65 | 'dbus/flimflam_device_client.cc', |
| 66 | 'dbus/flimflam_device_client.h', |
[email protected] | 5c40dce | 2012-04-11 08:01:59 | [diff] [blame] | 67 | 'dbus/flimflam_manager_client.cc', |
| 68 | 'dbus/flimflam_manager_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 69 | '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] | d4c6bf0 | 2012-04-18 06:10:38 | [diff] [blame] | 73 | 'dbus/flimflam_service_client.cc', |
| 74 | 'dbus/flimflam_service_client.h', |
[email protected] | ce4f353 | 2012-05-11 20:41:53 | [diff] [blame] | 75 | 'dbus/ibus/ibus_client.cc', |
| 76 | 'dbus/ibus/ibus_client.h', |
[email protected] | f98713f | 2012-07-09 09:57:40 | [diff] [blame] | 77 | 'dbus/ibus/ibus_component.cc', |
| 78 | 'dbus/ibus/ibus_component.h', |
[email protected] | ce4f353 | 2012-05-11 20:41:53 | [diff] [blame] | 79 | 'dbus/ibus/ibus_constants.h', |
[email protected] | 7f9876b | 2012-07-17 06:33:15 | [diff] [blame] | 80 | 'dbus/ibus/ibus_engine_service.cc', |
| 81 | 'dbus/ibus/ibus_engine_service.h', |
[email protected] | f2dca75a | 2012-07-18 04:11:48 | [diff] [blame] | 82 | 'dbus/ibus/ibus_engine_factory_service.cc', |
| 83 | 'dbus/ibus/ibus_engine_factory_service.h', |
[email protected] | e615bff | 2012-05-23 17:14:49 | [diff] [blame] | 84 | 'dbus/ibus/ibus_lookup_table.cc', |
| 85 | 'dbus/ibus/ibus_lookup_table.h', |
[email protected] | cd301f3c | 2012-05-12 00:47:44 | [diff] [blame] | 86 | 'dbus/ibus/ibus_object.cc', |
| 87 | 'dbus/ibus/ibus_object.h', |
[email protected] | b0b6ffa | 2012-06-22 06:16:37 | [diff] [blame] | 88 | 'dbus/ibus/ibus_property.cc', |
| 89 | 'dbus/ibus/ibus_property.h', |
[email protected] | 797510b | 2012-05-12 02:19:31 | [diff] [blame] | 90 | 'dbus/ibus/ibus_text.cc', |
| 91 | 'dbus/ibus/ibus_text.h', |
[email protected] | 2110271e | 2012-05-23 15:55:48 | [diff] [blame] | 92 | 'dbus/ibus/ibus_input_context_client.cc', |
| 93 | 'dbus/ibus/ibus_input_context_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 94 | 'dbus/image_burner_client.cc', |
| 95 | 'dbus/image_burner_client.h', |
| 96 | 'dbus/introspectable_client.cc', |
| 97 | 'dbus/introspectable_client.h', |
[email protected] | 88d6fc25 | 2012-06-12 08:57:52 | [diff] [blame] | 98 | 'dbus/modem_messaging_client.cc', |
| 99 | 'dbus/modem_messaging_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 100 | 'dbus/power_manager_client.cc', |
| 101 | 'dbus/power_manager_client.h', |
[email protected] | af4ac5de8 | 2012-04-05 00:50:27 | [diff] [blame] | 102 | 'dbus/power_supply_status.cc', |
| 103 | 'dbus/power_supply_status.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 104 | '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] | 88d6fc25 | 2012-06-12 08:57:52 | [diff] [blame] | 108 | 'dbus/sms_client.cc', |
| 109 | 'dbus/sms_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 110 | 'dbus/update_engine_client.cc', |
| 111 | 'dbus/update_engine_client.h', |
[email protected] | 2e236a5 | 2012-06-27 22:21:47 | [diff] [blame] | 112 | 'display/output_configurator.cc', |
| 113 | 'display/output_configurator.h', |
[email protected] | 9c0991fb | 2012-05-15 01:45:36 | [diff] [blame] | 114 | 'network/network_sms_handler.cc', |
| 115 | 'network/network_sms_handler.h', |
[email protected] | af4ac5de8 | 2012-04-05 00:50:27 | [diff] [blame] | 116 | ], |
[email protected] | 70b3e7d5 | 2012-06-02 22:12:25 | [diff] [blame] | 117 | 'link_settings': { |
| 118 | 'libraries': [ |
| 119 | '-lXext', |
| 120 | ], |
| 121 | }, |
[email protected] | af4ac5de8 | 2012-04-05 00:50:27 | [diff] [blame] | 122 | }, |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 123 | { |
| 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] | 2b7c40d | 2012-06-15 03:50:45 | [diff] [blame] | 143 | 'dbus/mock_bluetooth_out_of_band_client.cc', |
| 144 | 'dbus/mock_bluetooth_out_of_band_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 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', |
[email protected] | 0e58904 | 2012-04-17 04:40:13 | [diff] [blame] | 155 | 'dbus/mock_flimflam_device_client.cc', |
| 156 | 'dbus/mock_flimflam_device_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 157 | 'dbus/mock_flimflam_ipconfig_client.cc', |
| 158 | 'dbus/mock_flimflam_ipconfig_client.h', |
[email protected] | 5c40dce | 2012-04-11 08:01:59 | [diff] [blame] | 159 | 'dbus/mock_flimflam_manager_client.cc', |
| 160 | 'dbus/mock_flimflam_manager_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 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', |
[email protected] | d4c6bf0 | 2012-04-18 06:10:38 | [diff] [blame] | 165 | 'dbus/mock_flimflam_service_client.cc', |
| 166 | 'dbus/mock_flimflam_service_client.h', |
[email protected] | 3e87a6c | 2012-04-19 08:18:48 | [diff] [blame] | 167 | 'dbus/mock_gsm_sms_client.cc', |
| 168 | 'dbus/mock_gsm_sms_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 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', |
[email protected] | 88d6fc25 | 2012-06-12 08:57:52 | [diff] [blame] | 173 | 'dbus/mock_modem_messaging_client.cc', |
| 174 | 'dbus/mock_modem_messaging_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 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', |
[email protected] | 88d6fc25 | 2012-06-12 08:57:52 | [diff] [blame] | 179 | 'dbus/mock_sms_client.cc', |
| 180 | 'dbus/mock_sms_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 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', |
| 185 | ], |
| 186 | 'include_dirs': [ |
| 187 | '..', |
| 188 | ], |
| 189 | }, |
| 190 | { |
[email protected] | 400d3153 | 2012-06-15 07:41:38 | [diff] [blame] | 191 | '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] | f2dca75a | 2012-07-18 04:11:48 | [diff] [blame] | 204 | 'dbus/ibus/mock_ibus_engine_factory_service.cc', |
| 205 | 'dbus/ibus/mock_ibus_engine_factory_service.h', |
[email protected] | 7f9876b | 2012-07-17 06:33:15 | [diff] [blame] | 206 | 'dbus/ibus/mock_ibus_engine_service.cc', |
| 207 | 'dbus/ibus/mock_ibus_engine_service.h', |
[email protected] | 400d3153 | 2012-06-15 07:41:38 | [diff] [blame] | 208 | ], |
| 209 | 'include_dirs': [ |
| 210 | '..', |
| 211 | ], |
| 212 | }, |
| 213 | { |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 214 | '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] | 0e58904 | 2012-04-17 04:40:13 | [diff] [blame] | 229 | 'dbus/flimflam_device_client_unittest.cc', |
[email protected] | f12784d2 | 2012-04-20 04:09:01 | [diff] [blame] | 230 | 'dbus/flimflam_ipconfig_client_unittest.cc', |
[email protected] | 5c40dce | 2012-04-11 08:01:59 | [diff] [blame] | 231 | 'dbus/flimflam_manager_client_unittest.cc', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 232 | 'dbus/flimflam_network_client_unittest.cc', |
[email protected] | 18929a9d3 | 2012-04-17 02:08:01 | [diff] [blame] | 233 | 'dbus/flimflam_profile_client_unittest.cc', |
[email protected] | d4c6bf0 | 2012-04-18 06:10:38 | [diff] [blame] | 234 | 'dbus/flimflam_service_client_unittest.cc', |
[email protected] | 3e87a6c | 2012-04-19 08:18:48 | [diff] [blame] | 235 | 'dbus/gsm_sms_client_unittest.cc', |
[email protected] | ce4f353 | 2012-05-11 20:41:53 | [diff] [blame] | 236 | 'dbus/ibus/ibus_client_unittest.cc', |
[email protected] | f98713f | 2012-07-09 09:57:40 | [diff] [blame] | 237 | 'dbus/ibus/ibus_component_unittest.cc', |
[email protected] | f2dca75a | 2012-07-18 04:11:48 | [diff] [blame] | 238 | 'dbus/ibus/ibus_engine_factory_service_unittest.cc', |
[email protected] | 2f2f005f | 2012-07-24 09:00:28 | [diff] [blame^] | 239 | 'dbus/ibus/ibus_engine_service_unittest.cc', |
| 240 | 'dbus/ibus/ibus_input_context_client_unittest.cc', |
[email protected] | e615bff | 2012-05-23 17:14:49 | [diff] [blame] | 241 | 'dbus/ibus/ibus_lookup_table_unittest.cc', |
[email protected] | cd301f3c | 2012-05-12 00:47:44 | [diff] [blame] | 242 | 'dbus/ibus/ibus_object_unittest.cc', |
[email protected] | b0b6ffa | 2012-06-22 06:16:37 | [diff] [blame] | 243 | 'dbus/ibus/ibus_property_unittest.cc', |
[email protected] | 797510b | 2012-05-12 02:19:31 | [diff] [blame] | 244 | 'dbus/ibus/ibus_text_unittest.cc', |
[email protected] | b6ebf07 | 2012-05-30 10:44:34 | [diff] [blame] | 245 | 'dbus/introspectable_client_unittest.cc', |
[email protected] | 88d6fc25 | 2012-06-12 08:57:52 | [diff] [blame] | 246 | 'dbus/modem_messaging_client_unittest.cc', |
[email protected] | 9c0991fb | 2012-05-15 01:45:36 | [diff] [blame] | 247 | 'network/network_sms_handler_unittest.cc', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 248 | ], |
| 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] | af4ac5de8 | 2012-04-05 00:50:27 | [diff] [blame] | 282 | } |