Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(511)

Side by Side Diff: chromeos/chromeos.gyp

Issue 10913048: CrOS: Convert MediaTransferProtocolDaemonClient to use protobufs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 }, 129 },
128 }, 130 },
129 { 131 {
130 # This target contains mocks that can be used to write unit tests. 132 # This target contains mocks that can be used to write unit tests.
131 'target_name': 'chromeos_test_support', 133 'target_name': 'chromeos_test_support',
132 'type': 'static_library', 134 'type': 'static_library',
133 'dependencies': [ 135 'dependencies': [
134 '../build/linux/system.gyp:dbus', 136 '../build/linux/system.gyp:dbus',
135 '../testing/gmock.gyp:gmock', 137 '../testing/gmock.gyp:gmock',
136 'chromeos', 138 'chromeos',
139 'mtp_file_entry_proto',
137 ], 140 ],
138 'sources': [ 141 'sources': [
139 'cryptohome/mock_async_method_caller.cc', 142 'cryptohome/mock_async_method_caller.cc',
140 'cryptohome/mock_async_method_caller.h', 143 'cryptohome/mock_async_method_caller.h',
141 'dbus/mock_bluetooth_adapter_client.cc', 144 'dbus/mock_bluetooth_adapter_client.cc',
142 'dbus/mock_bluetooth_adapter_client.h', 145 'dbus/mock_bluetooth_adapter_client.h',
143 'dbus/mock_bluetooth_device_client.cc', 146 'dbus/mock_bluetooth_device_client.cc',
144 'dbus/mock_bluetooth_device_client.h', 147 'dbus/mock_bluetooth_device_client.h',
145 'dbus/mock_bluetooth_input_client.cc', 148 'dbus/mock_bluetooth_input_client.cc',
146 'dbus/mock_bluetooth_input_client.h', 149 'dbus/mock_bluetooth_input_client.h',
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
256 'dbus/ibus/ibus_text_unittest.cc', 259 'dbus/ibus/ibus_text_unittest.cc',
257 'dbus/introspectable_client_unittest.cc', 260 'dbus/introspectable_client_unittest.cc',
258 'dbus/modem_messaging_client_unittest.cc', 261 'dbus/modem_messaging_client_unittest.cc',
259 'network/network_sms_handler_unittest.cc', 262 'network/network_sms_handler_unittest.cc',
260 ], 263 ],
261 'include_dirs': [ 264 'include_dirs': [
262 '..', 265 '..',
263 ], 266 ],
264 }, 267 },
265 { 268 {
269 # Protobuf compiler / generator for the MtpFileEntry and MtpFileEntries
270 # protocol buffers.
271 'target_name': 'mtp_file_entry_proto',
272 'type': 'static_library',
273 'sources': [
274 '../third_party/cros_system_api/dbus/mtp_file_entry.proto',
275 ],
276 'variables': {
277 'proto_in_dir': '../third_party/cros_system_api/dbus/',
278 'proto_out_dir': 'chromeos/dbus',
279 },
280 'includes': ['../build/protoc.gypi'],
281 },
282 {
283 # Protobuf compiler / generator for the MtpStorageInfo protocol buffers.
284 'target_name': 'mtp_storage_info_proto',
285 'type': 'static_library',
286 'sources': [
287 '../third_party/cros_system_api/dbus/mtp_storage_info.proto',
288 ],
289 'variables': {
290 'proto_in_dir': '../third_party/cros_system_api/dbus/',
291 'proto_out_dir': 'chromeos/dbus',
292 },
293 'includes': ['../build/protoc.gypi'],
294 },
295 {
266 # Protobuf compiler / generator for the PowerSupplyProperties protocol 296 # Protobuf compiler / generator for the PowerSupplyProperties protocol
267 # buffer. 297 # buffer.
268 'target_name': 'power_state_control_proto', 298 'target_name': 'power_state_control_proto',
269 'type': 'static_library', 299 'type': 'static_library',
270 'sources': [ 300 'sources': [
271 '../third_party/cros_system_api/dbus/power_state_control.proto', 301 '../third_party/cros_system_api/dbus/power_state_control.proto',
272 ], 302 ],
273 'variables': { 303 'variables': {
274 'proto_in_dir': '../third_party/cros_system_api/dbus/', 304 'proto_in_dir': '../third_party/cros_system_api/dbus/',
275 'proto_out_dir': 'chromeos/dbus', 305 'proto_out_dir': 'chromeos/dbus',
276 }, 306 },
277 'includes': ['../build/protoc.gypi'], 307 'includes': ['../build/protoc.gypi'],
278 }, 308 },
279 { 309 {
280 # Protobuf compiler / generator for the PowerSupplyProperties protocol 310 # Protobuf compiler / generator for the PowerSupplyProperties protocol
281 # buffer. 311 # buffer.
282 'target_name': 'power_supply_properties_proto', 312 'target_name': 'power_supply_properties_proto',
283 'type': 'static_library', 313 'type': 'static_library',
284 'sources': [ 314 'sources': [
285 '../third_party/cros_system_api/dbus/power_supply_properties.proto', 315 '../third_party/cros_system_api/dbus/power_supply_properties.proto',
286 ], 316 ],
287 'variables': { 317 'variables': {
288 'proto_in_dir': '../third_party/cros_system_api/dbus/', 318 'proto_in_dir': '../third_party/cros_system_api/dbus/',
289 'proto_out_dir': 'chromeos/dbus', 319 'proto_out_dir': 'chromeos/dbus',
290 }, 320 },
291 'includes': ['../build/protoc.gypi'], 321 'includes': ['../build/protoc.gypi'],
292 }, 322 },
293 ], 323 ],
294 } 324 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698