| Index: device/media_transfer_protocol/BUILD.gn
|
| diff --git a/device/media_transfer_protocol/BUILD.gn b/device/media_transfer_protocol/BUILD.gn
|
| index a36c606e93bb675e245b24bb993685e8eaa10d4e..57cb8957e9ed16d218c45d7c8022fd9e8b4ff243 100644
|
| --- a/device/media_transfer_protocol/BUILD.gn
|
| +++ b/device/media_transfer_protocol/BUILD.gn
|
| @@ -2,6 +2,7 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| +import("//build/config/features.gni")
|
| import("//third_party/protobuf/proto_library.gni")
|
|
|
| # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_file_entry_proto
|
| @@ -34,9 +35,11 @@ static_library("media_transfer_protocol") {
|
| ":mtp_storage_info_proto",
|
| "//base",
|
| ]
|
| - deps = [
|
| - "//dbus",
|
| - ]
|
| + if (use_dbus) {
|
| + deps = [
|
| + "//dbus",
|
| + ]
|
| + }
|
|
|
| if (is_chromeos) {
|
| deps += [ "//chromeos" ]
|
|
|