[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] | 85b95a201 | 2012-08-07 18:57:27 | [diff] [blame] | 98 | 'dbus/media_transfer_protocol_daemon_client.cc', |
| 99 | 'dbus/media_transfer_protocol_daemon_client.h', |
[email protected] | 88d6fc25 | 2012-06-12 08:57:52 | [diff] [blame] | 100 | 'dbus/modem_messaging_client.cc', |
| 101 | 'dbus/modem_messaging_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 102 | 'dbus/power_manager_client.cc', |
| 103 | 'dbus/power_manager_client.h', |
[email protected] | af4ac5de8 | 2012-04-05 00:50:27 | [diff] [blame] | 104 | 'dbus/power_supply_status.cc', |
| 105 | 'dbus/power_supply_status.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 106 | '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] | 88d6fc25 | 2012-06-12 08:57:52 | [diff] [blame] | 110 | 'dbus/sms_client.cc', |
| 111 | 'dbus/sms_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 112 | 'dbus/update_engine_client.cc', |
| 113 | 'dbus/update_engine_client.h', |
[email protected] | 4cbead4 | 2012-08-26 12:02:39 | [diff] [blame^] | 114 | 'disks/disk_mount_manager.cc', |
| 115 | 'disks/disk_mount_manager.h', |
[email protected] | 2e236a5 | 2012-06-27 22:21:47 | [diff] [blame] | 116 | 'display/output_configurator.cc', |
| 117 | 'display/output_configurator.h', |
[email protected] | 9c0991fb | 2012-05-15 01:45:36 | [diff] [blame] | 118 | 'network/network_sms_handler.cc', |
| 119 | 'network/network_sms_handler.h', |
[email protected] | af4ac5de8 | 2012-04-05 00:50:27 | [diff] [blame] | 120 | ], |
[email protected] | 70b3e7d5 | 2012-06-02 22:12:25 | [diff] [blame] | 121 | 'link_settings': { |
| 122 | 'libraries': [ |
| 123 | '-lXext', |
| 124 | ], |
| 125 | }, |
[email protected] | af4ac5de8 | 2012-04-05 00:50:27 | [diff] [blame] | 126 | }, |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 127 | { |
| 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] | 2b7c40d | 2012-06-15 03:50:45 | [diff] [blame] | 147 | 'dbus/mock_bluetooth_out_of_band_client.cc', |
| 148 | 'dbus/mock_bluetooth_out_of_band_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 149 | 'dbus/mock_cashew_client.cc', |
| 150 | 'dbus/mock_cashew_client.h', |
[email protected] | 85b95a201 | 2012-08-07 18:57:27 | [diff] [blame] | 151 | 'dbus/mock_cros_disks_client.cc', |
| 152 | 'dbus/mock_cros_disks_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 153 | '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] | 0e58904 | 2012-04-17 04:40:13 | [diff] [blame] | 159 | 'dbus/mock_flimflam_device_client.cc', |
| 160 | 'dbus/mock_flimflam_device_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 161 | 'dbus/mock_flimflam_ipconfig_client.cc', |
| 162 | 'dbus/mock_flimflam_ipconfig_client.h', |
[email protected] | 5c40dce | 2012-04-11 08:01:59 | [diff] [blame] | 163 | 'dbus/mock_flimflam_manager_client.cc', |
| 164 | 'dbus/mock_flimflam_manager_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 165 | '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] | d4c6bf0 | 2012-04-18 06:10:38 | [diff] [blame] | 169 | 'dbus/mock_flimflam_service_client.cc', |
| 170 | 'dbus/mock_flimflam_service_client.h', |
[email protected] | 3e87a6c | 2012-04-19 08:18:48 | [diff] [blame] | 171 | 'dbus/mock_gsm_sms_client.cc', |
| 172 | 'dbus/mock_gsm_sms_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 173 | '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] | 85b95a201 | 2012-08-07 18:57:27 | [diff] [blame] | 177 | 'dbus/mock_media_transfer_protocol_daemon_client.cc', |
| 178 | 'dbus/mock_media_transfer_protocol_daemon_client.h', |
[email protected] | 88d6fc25 | 2012-06-12 08:57:52 | [diff] [blame] | 179 | 'dbus/mock_modem_messaging_client.cc', |
| 180 | 'dbus/mock_modem_messaging_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 181 | '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] | 88d6fc25 | 2012-06-12 08:57:52 | [diff] [blame] | 185 | 'dbus/mock_sms_client.cc', |
| 186 | 'dbus/mock_sms_client.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 187 | '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] | 4cbead4 | 2012-08-26 12:02:39 | [diff] [blame^] | 191 | 'disks/mock_disk_mount_manager.cc', |
| 192 | 'disks/mock_disk_mount_manager.h', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 193 | ], |
| 194 | 'include_dirs': [ |
| 195 | '..', |
| 196 | ], |
| 197 | }, |
| 198 | { |
[email protected] | 400d3153 | 2012-06-15 07:41:38 | [diff] [blame] | 199 | '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] | f2dca75a | 2012-07-18 04:11:48 | [diff] [blame] | 212 | 'dbus/ibus/mock_ibus_engine_factory_service.cc', |
| 213 | 'dbus/ibus/mock_ibus_engine_factory_service.h', |
[email protected] | 7f9876b | 2012-07-17 06:33:15 | [diff] [blame] | 214 | 'dbus/ibus/mock_ibus_engine_service.cc', |
| 215 | 'dbus/ibus/mock_ibus_engine_service.h', |
[email protected] | 400d3153 | 2012-06-15 07:41:38 | [diff] [blame] | 216 | ], |
| 217 | 'include_dirs': [ |
| 218 | '..', |
| 219 | ], |
| 220 | }, |
| 221 | { |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 222 | '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] | 0e58904 | 2012-04-17 04:40:13 | [diff] [blame] | 237 | 'dbus/flimflam_device_client_unittest.cc', |
[email protected] | f12784d2 | 2012-04-20 04:09:01 | [diff] [blame] | 238 | 'dbus/flimflam_ipconfig_client_unittest.cc', |
[email protected] | 5c40dce | 2012-04-11 08:01:59 | [diff] [blame] | 239 | 'dbus/flimflam_manager_client_unittest.cc', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 240 | 'dbus/flimflam_network_client_unittest.cc', |
[email protected] | 18929a9d3 | 2012-04-17 02:08:01 | [diff] [blame] | 241 | 'dbus/flimflam_profile_client_unittest.cc', |
[email protected] | d4c6bf0 | 2012-04-18 06:10:38 | [diff] [blame] | 242 | 'dbus/flimflam_service_client_unittest.cc', |
[email protected] | 3e87a6c | 2012-04-19 08:18:48 | [diff] [blame] | 243 | 'dbus/gsm_sms_client_unittest.cc', |
[email protected] | ce4f353 | 2012-05-11 20:41:53 | [diff] [blame] | 244 | 'dbus/ibus/ibus_client_unittest.cc', |
[email protected] | f98713f | 2012-07-09 09:57:40 | [diff] [blame] | 245 | 'dbus/ibus/ibus_component_unittest.cc', |
[email protected] | f2dca75a | 2012-07-18 04:11:48 | [diff] [blame] | 246 | 'dbus/ibus/ibus_engine_factory_service_unittest.cc', |
[email protected] | 2f2f005f | 2012-07-24 09:00:28 | [diff] [blame] | 247 | 'dbus/ibus/ibus_engine_service_unittest.cc', |
| 248 | 'dbus/ibus/ibus_input_context_client_unittest.cc', |
[email protected] | e615bff | 2012-05-23 17:14:49 | [diff] [blame] | 249 | 'dbus/ibus/ibus_lookup_table_unittest.cc', |
[email protected] | cd301f3c | 2012-05-12 00:47:44 | [diff] [blame] | 250 | 'dbus/ibus/ibus_object_unittest.cc', |
[email protected] | b0b6ffa | 2012-06-22 06:16:37 | [diff] [blame] | 251 | 'dbus/ibus/ibus_property_unittest.cc', |
[email protected] | 797510b | 2012-05-12 02:19:31 | [diff] [blame] | 252 | 'dbus/ibus/ibus_text_unittest.cc', |
[email protected] | b6ebf07 | 2012-05-30 10:44:34 | [diff] [blame] | 253 | 'dbus/introspectable_client_unittest.cc', |
[email protected] | 88d6fc25 | 2012-06-12 08:57:52 | [diff] [blame] | 254 | 'dbus/modem_messaging_client_unittest.cc', |
[email protected] | 9c0991fb | 2012-05-15 01:45:36 | [diff] [blame] | 255 | 'network/network_sms_handler_unittest.cc', |
[email protected] | 64e19925 | 2012-04-06 01:54:36 | [diff] [blame] | 256 | ], |
| 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] | af4ac5de8 | 2012-04-05 00:50:27 | [diff] [blame] | 290 | } |