| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//third_party/protobuf/proto_library.gni") | 5 import("//third_party/protobuf/proto_library.gni") |
| 6 | 6 |
| 7 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_fi
le_entry_proto | 7 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_fi
le_entry_proto |
| 8 proto_library("mtp_file_entry_proto") { | 8 proto_library("mtp_file_entry_proto") { |
| 9 sources = [ "//third_party/cros_system_api/dbus/mtp_file_entry.proto" ] | 9 sources = [ "//third_party/cros_system_api/dbus/mtp_file_entry.proto" ] |
| 10 proto_in_dir = "//third_party/cros_system_api/dbus" | |
| 11 proto_out_dir = "device/media_transfer_protocol" | 10 proto_out_dir = "device/media_transfer_protocol" |
| 12 } | 11 } |
| 13 | 12 |
| 14 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_st
orage_info_proto | 13 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_st
orage_info_proto |
| 15 proto_library("mtp_storage_info_proto") { | 14 proto_library("mtp_storage_info_proto") { |
| 16 sources = [ "//third_party/cros_system_api/dbus/mtp_storage_info.proto" ] | 15 sources = [ "//third_party/cros_system_api/dbus/mtp_storage_info.proto" ] |
| 17 proto_in_dir = "//third_party/cros_system_api/dbus" | |
| 18 proto_out_dir = "device/media_transfer_protocol" | 16 proto_out_dir = "device/media_transfer_protocol" |
| 19 } | 17 } |
| 20 | 18 |
| 21 # GYP version: device/media_transfer_protocol:media_transfer_protocol.gyp:media_
transfer_protocol | 19 # GYP version: device/media_transfer_protocol:media_transfer_protocol.gyp:media_
transfer_protocol |
| 22 static_library("media_transfer_protocol") { | 20 static_library("media_transfer_protocol") { |
| 23 sources = [ | 21 sources = [ |
| 24 "media_transfer_protocol_daemon_client.cc", | 22 "media_transfer_protocol_daemon_client.cc", |
| 25 "media_transfer_protocol_daemon_client.h", | 23 "media_transfer_protocol_daemon_client.h", |
| 26 "media_transfer_protocol_manager.cc", | 24 "media_transfer_protocol_manager.cc", |
| 27 "media_transfer_protocol_manager.h", | 25 "media_transfer_protocol_manager.h", |
| 28 ] | 26 ] |
| 29 | 27 |
| 30 configs += [ "//build/config/linux:dbus" ] | 28 configs += [ "//build/config/linux:dbus" ] |
| 31 | 29 |
| 32 deps = [ | 30 deps = [ |
| 33 ":mtp_file_entry_proto", | 31 ":mtp_file_entry_proto", |
| 34 ":mtp_storage_info_proto", | 32 ":mtp_storage_info_proto", |
| 35 ] | 33 ] |
| 36 forward_dependent_configs_from = deps | 34 forward_dependent_configs_from = deps |
| 37 } | 35 } |
| OLD | NEW |