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

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

Issue 2009983002: Guard dbus component and config with assert(use_dbus) (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Remove unnecessary //dbus when //dbus:test_support exists Created 4 years, 6 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 | « dbus/BUILD.gn ('k') | extensions/browser/BUILD.gn » ('j') | 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("//third_party/protobuf/proto_library.gni") 6 import("//third_party/protobuf/proto_library.gni")
6 7
7 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_fi le_entry_proto 8 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_fi le_entry_proto
8 proto_library("mtp_file_entry_proto") { 9 proto_library("mtp_file_entry_proto") {
9 sources = [ 10 sources = [
10 "//third_party/cros_system_api/dbus/mtp_file_entry.proto", 11 "//third_party/cros_system_api/dbus/mtp_file_entry.proto",
11 ] 12 ]
12 proto_out_dir = "device/media_transfer_protocol" 13 proto_out_dir = "device/media_transfer_protocol"
13 } 14 }
14 15
(...skipping 12 matching lines...) Expand all
27 "media_transfer_protocol_daemon_client.h", 28 "media_transfer_protocol_daemon_client.h",
28 "media_transfer_protocol_manager.cc", 29 "media_transfer_protocol_manager.cc",
29 "media_transfer_protocol_manager.h", 30 "media_transfer_protocol_manager.h",
30 ] 31 ]
31 32
32 public_deps = [ 33 public_deps = [
33 ":mtp_file_entry_proto", 34 ":mtp_file_entry_proto",
34 ":mtp_storage_info_proto", 35 ":mtp_storage_info_proto",
35 "//base", 36 "//base",
36 ] 37 ]
37 deps = [ 38 if (use_dbus) {
38 "//dbus", 39 deps = [
39 ] 40 "//dbus",
41 ]
42 }
40 43
41 if (is_chromeos) { 44 if (is_chromeos) {
42 deps += [ "//chromeos" ] 45 deps += [ "//chromeos" ]
43 } 46 }
44 } 47 }
OLDNEW
« no previous file with comments | « dbus/BUILD.gn ('k') | extensions/browser/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698