OLD | NEW |
1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 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 # Protobuf compiler / generator for the MtpFileEntry and | 11 # Protobuf compiler / generator for the MtpFileEntry and |
12 # MtpFileEntries protocol buffers. | 12 # MtpFileEntries protocol buffers. |
| 13 # GN version: //device/media_transfer_protocol:mtp_file_entry_proto |
13 'target_name': 'mtp_file_entry_proto', | 14 'target_name': 'mtp_file_entry_proto', |
14 'type': 'static_library', | 15 'type': 'static_library', |
15 'sources': [ | 16 'sources': [ |
16 '../../third_party/cros_system_api/dbus/mtp_file_entry.proto', | 17 '../../third_party/cros_system_api/dbus/mtp_file_entry.proto', |
17 ], | 18 ], |
18 'variables': { | 19 'variables': { |
19 'proto_in_dir': '../../third_party/cros_system_api/dbus', | 20 'proto_in_dir': '../../third_party/cros_system_api/dbus', |
20 'proto_out_dir': 'device/media_transfer_protocol', | 21 'proto_out_dir': 'device/media_transfer_protocol', |
21 }, | 22 }, |
22 'includes': ['../../build/protoc.gypi'], | 23 'includes': ['../../build/protoc.gypi'], |
23 }, | 24 }, |
24 { | 25 { |
25 # Protobuf compiler / generator for the MtpStorageInfo protocol | 26 # Protobuf compiler / generator for the MtpStorageInfo protocol |
26 # buffer. | 27 # buffer. |
| 28 # GN version: //device/media_transfer_protocol:mtp_storage_info_proto |
27 'target_name': 'mtp_storage_info_proto', | 29 'target_name': 'mtp_storage_info_proto', |
28 'type': 'static_library', | 30 'type': 'static_library', |
29 'sources': [ | 31 'sources': [ |
30 '../../third_party/cros_system_api/dbus/mtp_storage_info.proto', | 32 '../../third_party/cros_system_api/dbus/mtp_storage_info.proto', |
31 ], | 33 ], |
32 'variables': { | 34 'variables': { |
33 'proto_in_dir': '../../third_party/cros_system_api/dbus', | 35 'proto_in_dir': '../../third_party/cros_system_api/dbus', |
34 'proto_out_dir': 'device/media_transfer_protocol', | 36 'proto_out_dir': 'device/media_transfer_protocol', |
35 }, | 37 }, |
36 'includes': ['../../build/protoc.gypi'], | 38 'includes': ['../../build/protoc.gypi'], |
37 }, | 39 }, |
38 { | 40 { |
| 41 # GN version: //device/media_transfer_protocol |
39 'target_name': 'device_media_transfer_protocol', | 42 'target_name': 'device_media_transfer_protocol', |
40 'type': 'static_library', | 43 'type': 'static_library', |
41 'dependencies': [ | 44 'dependencies': [ |
42 '../../build/linux/system.gyp:dbus', | 45 '../../build/linux/system.gyp:dbus', |
43 'mtp_file_entry_proto', | 46 'mtp_file_entry_proto', |
44 'mtp_storage_info_proto', | 47 'mtp_storage_info_proto', |
45 ], | 48 ], |
46 'sources': [ | 49 'sources': [ |
47 'media_transfer_protocol_daemon_client.cc', | 50 'media_transfer_protocol_daemon_client.cc', |
48 'media_transfer_protocol_daemon_client.h', | 51 'media_transfer_protocol_daemon_client.h', |
49 'media_transfer_protocol_manager.cc', | 52 'media_transfer_protocol_manager.cc', |
50 'media_transfer_protocol_manager.h', | 53 'media_transfer_protocol_manager.h', |
51 ], | 54 ], |
52 }, | 55 }, |
53 ], | 56 ], |
54 } | 57 } |
OLD | NEW |