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 { |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 ['linux_use_tcmalloc == 1', { | 52 ['linux_use_tcmalloc == 1', { |
53 'dependencies': [ | 53 'dependencies': [ |
54 '../base/allocator/allocator.gyp:allocator', | 54 '../base/allocator/allocator.gyp:allocator', |
55 ], | 55 ], |
56 }], | 56 }], |
57 ], | 57 ], |
58 }], | 58 }], |
59 ], | 59 ], |
60 }, | 60 }, |
61 ], | 61 ], |
62 'conditions': [ | |
63 ['OS=="linux"', { | |
64 'targets': [ | |
65 { | |
66 # Protobuf compiler / generator for the MtpFileEntry and | |
67 # MtpFileEntries protocol buffers. | |
68 'target_name': 'mtp_file_entry_proto', | |
69 'type': 'static_library', | |
70 'sources': [ | |
71 '../third_party/cros_system_api/dbus/mtp_file_entry.proto', | |
72 ], | |
73 'variables': { | |
74 'proto_in_dir': '../third_party/cros_system_api/dbus', | |
75 'proto_out_dir': 'device/media_transfer_protocol', | |
76 }, | |
77 'includes': ['../build/protoc.gypi'], | |
78 }, | |
79 { | |
80 # Protobuf compiler / generator for the MtpStorageInfo protocol | |
81 # buffer. | |
82 'target_name': 'mtp_storage_info_proto', | |
83 'type': 'static_library', | |
84 'sources': [ | |
85 '../third_party/cros_system_api/dbus/mtp_storage_info.proto', | |
86 ], | |
87 'variables': { | |
88 'proto_in_dir': '../third_party/cros_system_api/dbus', | |
89 'proto_out_dir': 'device/media_transfer_protocol', | |
90 }, | |
91 'includes': ['../build/protoc.gypi'], | |
92 }, | |
93 { | |
94 'target_name': 'device_media_transfer_protocol', | |
95 'type': 'static_library', | |
96 'dependencies': [ | |
97 '../build/linux/system.gyp:dbus', | |
98 'mtp_file_entry_proto', | |
99 'mtp_storage_info_proto', | |
100 ], | |
101 'sources': [ | |
102 'media_transfer_protocol/media_transfer_protocol_daemon_client.cc', | |
103 'media_transfer_protocol/media_transfer_protocol_daemon_client.h', | |
104 'media_transfer_protocol/media_transfer_protocol_manager.cc', | |
105 'media_transfer_protocol/media_transfer_protocol_manager.h', | |
106 ], | |
107 }, | |
108 ], | |
109 }], | |
110 ], | |
111 } | 62 } |
OLD | NEW |