| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 }, | 8 }, |
| 9 'targets': [ | 9 'targets': [ |
| 10 { | 10 { |
| 11 'target_name': 'chromeos', | 11 'target_name': 'chromeos', |
| 12 'type': '<(component)', | 12 'type': '<(component)', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 '../base/base.gyp:base', | 14 '../base/base.gyp:base', |
| 15 '../build/linux/system.gyp:dbus', | 15 '../build/linux/system.gyp:dbus', |
| 16 '../dbus/dbus.gyp:dbus', | 16 '../dbus/dbus.gyp:dbus', |
| 17 '../net/net.gyp:net', | 17 '../net/net.gyp:net', |
| 18 '../third_party/libxml/libxml.gyp:libxml', | 18 '../third_party/libxml/libxml.gyp:libxml', |
| 19 'mtp_file_entry_proto', |
| 20 'mtp_storage_info_proto', |
| 19 'power_state_control_proto', | 21 'power_state_control_proto', |
| 20 'power_supply_properties_proto', | 22 'power_supply_properties_proto', |
| 21 ], | 23 ], |
| 22 'defines': [ | 24 'defines': [ |
| 23 'CHROMEOS_IMPLEMENTATION', | 25 'CHROMEOS_IMPLEMENTATION', |
| 24 ], | 26 ], |
| 25 'sources': [ | 27 'sources': [ |
| 26 'chromeos_export.h', | 28 'chromeos_export.h', |
| 27 'chromeos_switches.cc', | 29 'chromeos_switches.cc', |
| 28 'chromeos_switches.h', | 30 'chromeos_switches.h', |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 130 }, | 132 }, |
| 131 }, | 133 }, |
| 132 { | 134 { |
| 133 # This target contains mocks that can be used to write unit tests. | 135 # This target contains mocks that can be used to write unit tests. |
| 134 'target_name': 'chromeos_test_support', | 136 'target_name': 'chromeos_test_support', |
| 135 'type': 'static_library', | 137 'type': 'static_library', |
| 136 'dependencies': [ | 138 'dependencies': [ |
| 137 '../build/linux/system.gyp:dbus', | 139 '../build/linux/system.gyp:dbus', |
| 138 '../testing/gmock.gyp:gmock', | 140 '../testing/gmock.gyp:gmock', |
| 139 'chromeos', | 141 'chromeos', |
| 142 'mtp_file_entry_proto', |
| 140 ], | 143 ], |
| 141 'sources': [ | 144 'sources': [ |
| 142 'cryptohome/mock_async_method_caller.cc', | 145 'cryptohome/mock_async_method_caller.cc', |
| 143 'cryptohome/mock_async_method_caller.h', | 146 'cryptohome/mock_async_method_caller.h', |
| 144 'dbus/mock_bluetooth_adapter_client.cc', | 147 'dbus/mock_bluetooth_adapter_client.cc', |
| 145 'dbus/mock_bluetooth_adapter_client.h', | 148 'dbus/mock_bluetooth_adapter_client.h', |
| 146 'dbus/mock_bluetooth_device_client.cc', | 149 'dbus/mock_bluetooth_device_client.cc', |
| 147 'dbus/mock_bluetooth_device_client.h', | 150 'dbus/mock_bluetooth_device_client.h', |
| 148 'dbus/mock_bluetooth_input_client.cc', | 151 'dbus/mock_bluetooth_input_client.cc', |
| 149 'dbus/mock_bluetooth_input_client.h', | 152 'dbus/mock_bluetooth_input_client.h', |
| (...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 'dbus/ibus/ibus_text_unittest.cc', | 265 'dbus/ibus/ibus_text_unittest.cc', |
| 263 'dbus/introspectable_client_unittest.cc', | 266 'dbus/introspectable_client_unittest.cc', |
| 264 'dbus/modem_messaging_client_unittest.cc', | 267 'dbus/modem_messaging_client_unittest.cc', |
| 265 'network/network_sms_handler_unittest.cc', | 268 'network/network_sms_handler_unittest.cc', |
| 266 ], | 269 ], |
| 267 'include_dirs': [ | 270 'include_dirs': [ |
| 268 '..', | 271 '..', |
| 269 ], | 272 ], |
| 270 }, | 273 }, |
| 271 { | 274 { |
| 275 # Protobuf compiler / generator for the MtpFileEntry and MtpFileEntries |
| 276 # protocol buffers. |
| 277 'target_name': 'mtp_file_entry_proto', |
| 278 'type': 'static_library', |
| 279 'sources': [ |
| 280 '../third_party/cros_system_api/dbus/mtp_file_entry.proto', |
| 281 ], |
| 282 'variables': { |
| 283 'proto_in_dir': '../third_party/cros_system_api/dbus', |
| 284 'proto_out_dir': 'chromeos/dbus', |
| 285 'cc_generator_options': 'dllexport_decl=CHROMEOS_EXPORT:', |
| 286 'cc_include': 'chromeos/chromeos_export.h', |
| 287 }, |
| 288 'includes': ['../build/protoc.gypi'], |
| 289 }, |
| 290 { |
| 291 # Protobuf compiler / generator for the MtpStorageInfo protocol buffers. |
| 292 'target_name': 'mtp_storage_info_proto', |
| 293 'type': 'static_library', |
| 294 'sources': [ |
| 295 '../third_party/cros_system_api/dbus/mtp_storage_info.proto', |
| 296 ], |
| 297 'variables': { |
| 298 'proto_in_dir': '../third_party/cros_system_api/dbus', |
| 299 'proto_out_dir': 'chromeos/dbus', |
| 300 'cc_generator_options': 'dllexport_decl=CHROMEOS_EXPORT:', |
| 301 'cc_include': 'chromeos/chromeos_export.h', |
| 302 }, |
| 303 'includes': ['../build/protoc.gypi'], |
| 304 }, |
| 305 { |
| 272 # Protobuf compiler / generator for the PowerSupplyProperties protocol | 306 # Protobuf compiler / generator for the PowerSupplyProperties protocol |
| 273 # buffer. | 307 # buffer. |
| 274 'target_name': 'power_state_control_proto', | 308 'target_name': 'power_state_control_proto', |
| 275 'type': 'static_library', | 309 'type': 'static_library', |
| 276 'sources': [ | 310 'sources': [ |
| 277 '../third_party/cros_system_api/dbus/power_state_control.proto', | 311 '../third_party/cros_system_api/dbus/power_state_control.proto', |
| 278 ], | 312 ], |
| 279 'variables': { | 313 'variables': { |
| 280 'proto_in_dir': '../third_party/cros_system_api/dbus/', | 314 'proto_in_dir': '../third_party/cros_system_api/dbus', |
| 281 'proto_out_dir': 'chromeos/dbus', | 315 'proto_out_dir': 'chromeos/dbus', |
| 282 }, | 316 }, |
| 283 'includes': ['../build/protoc.gypi'], | 317 'includes': ['../build/protoc.gypi'], |
| 284 }, | 318 }, |
| 285 { | 319 { |
| 286 # Protobuf compiler / generator for the PowerSupplyProperties protocol | 320 # Protobuf compiler / generator for the PowerSupplyProperties protocol |
| 287 # buffer. | 321 # buffer. |
| 288 'target_name': 'power_supply_properties_proto', | 322 'target_name': 'power_supply_properties_proto', |
| 289 'type': 'static_library', | 323 'type': 'static_library', |
| 290 'sources': [ | 324 'sources': [ |
| 291 '../third_party/cros_system_api/dbus/power_supply_properties.proto', | 325 '../third_party/cros_system_api/dbus/power_supply_properties.proto', |
| 292 ], | 326 ], |
| 293 'variables': { | 327 'variables': { |
| 294 'proto_in_dir': '../third_party/cros_system_api/dbus/', | 328 'proto_in_dir': '../third_party/cros_system_api/dbus', |
| 295 'proto_out_dir': 'chromeos/dbus', | 329 'proto_out_dir': 'chromeos/dbus', |
| 296 }, | 330 }, |
| 297 'includes': ['../build/protoc.gypi'], | 331 'includes': ['../build/protoc.gypi'], |
| 298 }, | 332 }, |
| 299 ], | 333 ], |
| 300 } | 334 } |
| OLD | NEW |