Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(860)

Side by Side Diff: device/media_transfer_protocol/BUILD.gn

Issue 2333573003: //device/media_transfer_protocol depends on dbus (Closed)
Patch Set: Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/storage_monitor/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//third_party/protobuf/proto_library.gni") 6 import("//third_party/protobuf/proto_library.gni")
7 7
8 assert(use_dbus)
9
8 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_fi le_entry_proto 10 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_fi le_entry_proto
9 proto_library("mtp_file_entry_proto") { 11 proto_library("mtp_file_entry_proto") {
10 sources = [ 12 sources = [
11 "//third_party/cros_system_api/dbus/mtp_file_entry.proto", 13 "//third_party/cros_system_api/dbus/mtp_file_entry.proto",
12 ] 14 ]
13 proto_out_dir = "device/media_transfer_protocol" 15 proto_out_dir = "device/media_transfer_protocol"
14 } 16 }
15 17
16 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_st orage_info_proto 18 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_st orage_info_proto
17 proto_library("mtp_storage_info_proto") { 19 proto_library("mtp_storage_info_proto") {
(...skipping 20 matching lines...) Expand all
38 if (use_dbus) { 40 if (use_dbus) {
39 deps = [ 41 deps = [
40 "//dbus", 42 "//dbus",
41 ] 43 ]
42 } 44 }
43 45
44 if (is_chromeos) { 46 if (is_chromeos) {
45 deps += [ "//chromeos" ] 47 deps += [ "//chromeos" ]
46 } 48 }
47 } 49 }
OLDNEW
« no previous file with comments | « components/storage_monitor/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698