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

Unified Diff: device/device.gyp

Issue 11744014: [Media Gallery] Move chrome/browser/media_transfer_protocol code to src/device. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix gclient runhooks error Created 7 years, 12 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
« no previous file with comments | « chrome/common/DEPS ('k') | device/media_transfer_protocol/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/device.gyp
diff --git a/device/device.gyp b/device/device.gyp
index 25db3cb257b9e5d0297b15488170e35fb3983ef1..c8e6a505934b5b1a5c96ca924401916692164508 100644
--- a/device/device.gyp
+++ b/device/device.gyp
@@ -151,4 +151,53 @@
],
},
],
+ 'conditions': [
+ ['OS=="linux"', {
+ 'targets': [
+ {
+ # 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': 'device/media_transfer_protocol',
+ },
+ 'includes': ['../build/protoc.gypi'],
+ },
+ {
+ # Protobuf compiler / generator for the MtpStorageInfo protocol
+ # buffer.
+ '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': 'device/media_transfer_protocol',
+ },
+ 'includes': ['../build/protoc.gypi'],
+ },
+ {
+ 'target_name': 'device_media_transfer_protocol',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../build/linux/system.gyp:dbus',
+ 'mtp_file_entry_proto',
+ 'mtp_storage_info_proto',
+ ],
+ 'sources': [
+ 'media_transfer_protocol/media_transfer_protocol_daemon_client.cc',
+ 'media_transfer_protocol/media_transfer_protocol_daemon_client.h',
+ 'media_transfer_protocol/media_transfer_protocol_manager.cc',
+ 'media_transfer_protocol/media_transfer_protocol_manager.h',
+ ],
+ },
+ ],
+ }],
+ ],
}
« no previous file with comments | « chrome/common/DEPS ('k') | device/media_transfer_protocol/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698