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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 ['chromeos==1', { | 144 ['chromeos==1', { |
145 'dependencies': [ | 145 'dependencies': [ |
146 '../build/linux/system.gyp:dbus', | 146 '../build/linux/system.gyp:dbus', |
147 '../chromeos/chromeos.gyp:chromeos_test_support', | 147 '../chromeos/chromeos.gyp:chromeos_test_support', |
148 '../dbus/dbus.gyp:dbus', | 148 '../dbus/dbus.gyp:dbus', |
149 ] | 149 ] |
150 }], | 150 }], |
151 ], | 151 ], |
152 }, | 152 }, |
153 ], | 153 ], |
| 154 'conditions': [ |
| 155 ['OS=="linux"', { |
| 156 'targets': [ |
| 157 { |
| 158 # Protobuf compiler / generator for the MtpFileEntry and |
| 159 # MtpFileEntries protocol buffers. |
| 160 'target_name': 'mtp_file_entry_proto', |
| 161 'type': 'static_library', |
| 162 'sources': [ |
| 163 '../third_party/cros_system_api/dbus/mtp_file_entry.proto', |
| 164 ], |
| 165 'variables': { |
| 166 'proto_in_dir': '../third_party/cros_system_api/dbus', |
| 167 'proto_out_dir': 'device/media_transfer_protocol', |
| 168 }, |
| 169 'includes': ['../build/protoc.gypi'], |
| 170 }, |
| 171 { |
| 172 # Protobuf compiler / generator for the MtpStorageInfo protocol |
| 173 # buffer. |
| 174 'target_name': 'mtp_storage_info_proto', |
| 175 'type': 'static_library', |
| 176 'sources': [ |
| 177 '../third_party/cros_system_api/dbus/mtp_storage_info.proto', |
| 178 ], |
| 179 'variables': { |
| 180 'proto_in_dir': '../third_party/cros_system_api/dbus', |
| 181 'proto_out_dir': 'device/media_transfer_protocol', |
| 182 }, |
| 183 'includes': ['../build/protoc.gypi'], |
| 184 }, |
| 185 { |
| 186 'target_name': 'device_media_transfer_protocol', |
| 187 'type': 'static_library', |
| 188 'dependencies': [ |
| 189 '../build/linux/system.gyp:dbus', |
| 190 'mtp_file_entry_proto', |
| 191 'mtp_storage_info_proto', |
| 192 ], |
| 193 'sources': [ |
| 194 'media_transfer_protocol/media_transfer_protocol_daemon_client.cc', |
| 195 'media_transfer_protocol/media_transfer_protocol_daemon_client.h', |
| 196 'media_transfer_protocol/media_transfer_protocol_manager.cc', |
| 197 'media_transfer_protocol/media_transfer_protocol_manager.h', |
| 198 ], |
| 199 }, |
| 200 ], |
| 201 }], |
| 202 ], |
154 } | 203 } |
OLD | NEW |