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

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

Issue 2358493002: Remove MTP support on Linux. (Closed)
Patch Set: move files Created 4 years, 2 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/test_storage_monitor.cc ('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(is_chromeos)
8 assert(use_dbus) 9 assert(use_dbus)
9 10
10 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_fi le_entry_proto
11 proto_library("mtp_file_entry_proto") { 11 proto_library("mtp_file_entry_proto") {
12 sources = [ 12 sources = [
13 "//third_party/cros_system_api/dbus/mtp_file_entry.proto", 13 "//third_party/cros_system_api/dbus/mtp_file_entry.proto",
14 ] 14 ]
15 proto_out_dir = "device/media_transfer_protocol" 15 proto_out_dir = "device/media_transfer_protocol"
16 } 16 }
17 17
18 # GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_st orage_info_proto
19 proto_library("mtp_storage_info_proto") { 18 proto_library("mtp_storage_info_proto") {
20 sources = [ 19 sources = [
21 "//third_party/cros_system_api/dbus/mtp_storage_info.proto", 20 "//third_party/cros_system_api/dbus/mtp_storage_info.proto",
22 ] 21 ]
23 proto_out_dir = "device/media_transfer_protocol" 22 proto_out_dir = "device/media_transfer_protocol"
24 } 23 }
25 24
26 # GYP version: device/media_transfer_protocol:media_transfer_protocol.gyp:media_ transfer_protocol
27 static_library("media_transfer_protocol") { 25 static_library("media_transfer_protocol") {
28 sources = [ 26 sources = [
29 "media_transfer_protocol_daemon_client.cc", 27 "media_transfer_protocol_daemon_client.cc",
30 "media_transfer_protocol_daemon_client.h", 28 "media_transfer_protocol_daemon_client.h",
31 "media_transfer_protocol_manager.cc", 29 "media_transfer_protocol_manager.cc",
32 "media_transfer_protocol_manager.h", 30 "media_transfer_protocol_manager.h",
33 ] 31 ]
34 32
35 public_deps = [ 33 public_deps = [
36 ":mtp_file_entry_proto", 34 ":mtp_file_entry_proto",
37 ":mtp_storage_info_proto", 35 ":mtp_storage_info_proto",
38 "//base", 36 "//base",
39 ] 37 ]
40 if (use_dbus) { 38 deps = [
41 deps = [ 39 "//chromeos",
42 "//dbus", 40 "//dbus",
43 ] 41 ]
44 }
45
46 if (is_chromeos) {
47 deps += [ "//chromeos" ]
48 }
49 } 42 }
OLDNEW
« no previous file with comments | « components/storage_monitor/test_storage_monitor.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698