Use bucket parameter in GetIfChanged for support binaries.
[chromium-blink-merge.git] / device / media_transfer_protocol / media_transfer_protocol.gyp
blob4e50d6e1c77edf86b126fe43d009bfff28dd9a76
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
3 # found in the LICENSE file.
6   'variables': {
7     'chromium_code': 1,
8   },
9   'targets': [
10     {
11       # Protobuf compiler / generator for the MtpFileEntry and
12       # MtpFileEntries protocol buffers.
13       # GN version: //device/media_transfer_protocol:mtp_file_entry_proto
14       'target_name': 'mtp_file_entry_proto',
15       'type': 'static_library',
16       'sources': [
17         '../../third_party/cros_system_api/dbus/mtp_file_entry.proto',
18       ],
19       'variables': {
20         'proto_in_dir': '../../third_party/cros_system_api/dbus',
21         'proto_out_dir': 'device/media_transfer_protocol',
22       },
23       'includes': ['../../build/protoc.gypi'],
24     },
25     {
26       # Protobuf compiler / generator for the MtpStorageInfo protocol
27       # buffer.
28       # GN version: //device/media_transfer_protocol:mtp_storage_info_proto
29       'target_name': 'mtp_storage_info_proto',
30       'type': 'static_library',
31       'sources': [
32         '../../third_party/cros_system_api/dbus/mtp_storage_info.proto',
33       ],
34       'variables': {
35         'proto_in_dir': '../../third_party/cros_system_api/dbus',
36         'proto_out_dir': 'device/media_transfer_protocol',
37       },
38       'includes': ['../../build/protoc.gypi'],
39     },
40     {
41       # GN version: //device/media_transfer_protocol
42       'target_name': 'device_media_transfer_protocol',
43       'type': 'static_library',
44       'dependencies': [
45         '../../build/linux/system.gyp:dbus',
46         '../../dbus/dbus.gyp:dbus',
47         'mtp_file_entry_proto',
48         'mtp_storage_info_proto',
49       ],
50       'sources': [
51         'media_transfer_protocol_daemon_client.cc',
52         'media_transfer_protocol_daemon_client.h',
53         'media_transfer_protocol_manager.cc',
54         'media_transfer_protocol_manager.h',
55       ],
56     },
57   ],