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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
Index: chromeos/chromeos.gyp
===================================================================
--- chromeos/chromeos.gyp (revision 154535)
+++ chromeos/chromeos.gyp (working copy)
@@ -16,6 +16,8 @@
'../dbus/dbus.gyp:dbus',
'../net/net.gyp:net',
'../third_party/libxml/libxml.gyp:libxml',
+ 'mtp_file_entry_proto',
+ 'mtp_storage_info_proto',
'power_state_control_proto',
'power_supply_properties_proto',
],
@@ -134,6 +136,7 @@
'../build/linux/system.gyp:dbus',
'../testing/gmock.gyp:gmock',
'chromeos',
+ 'mtp_file_entry_proto',
],
'sources': [
'cryptohome/mock_async_method_caller.cc',
@@ -263,6 +266,33 @@
],
},
{
+ # Protobuf compiler / generator for the MtpFileEntry and MtpFileEntries
+ # protocol buffers.
+ 'target_name': 'mtp_file_entry_proto',
+ 'type': 'static_library',
+ 'sources': [
+ '../third_party/cros_system_api/dbus/mtp_file_entry.proto',
+ ],
+ 'variables': {
+ 'proto_in_dir': '../third_party/cros_system_api/dbus/',
+ 'proto_out_dir': 'chromeos/dbus',
+ },
+ 'includes': ['../build/protoc.gypi'],
+ },
+ {
+ # Protobuf compiler / generator for the MtpStorageInfo protocol buffers.
+ 'target_name': 'mtp_storage_info_proto',
+ 'type': 'static_library',
+ 'sources': [
+ '../third_party/cros_system_api/dbus/mtp_storage_info.proto',
+ ],
+ 'variables': {
+ 'proto_in_dir': '../third_party/cros_system_api/dbus/',
+ 'proto_out_dir': 'chromeos/dbus',
+ },
+ 'includes': ['../build/protoc.gypi'],
+ },
+ {
# Protobuf compiler / generator for the PowerSupplyProperties protocol
# buffer.
'target_name': 'power_state_control_proto',

Powered by Google App Engine
This is Rietveld 408576698