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

Unified Diff: device/media_transfer_protocol/BUILD.gn

Issue 2358493002: Remove MTP support on Linux. (Closed)
Patch Set: move files 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/storage_monitor/test_storage_monitor.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/media_transfer_protocol/BUILD.gn
diff --git a/device/media_transfer_protocol/BUILD.gn b/device/media_transfer_protocol/BUILD.gn
index e3c4dc32df8d239e387e6723bc01d7b156a9d296..4175651f58e1937ee6bce926e0df68e220ad8788 100644
--- a/device/media_transfer_protocol/BUILD.gn
+++ b/device/media_transfer_protocol/BUILD.gn
@@ -5,9 +5,9 @@
import("//build/config/features.gni")
import("//third_party/protobuf/proto_library.gni")
+assert(is_chromeos)
assert(use_dbus)
-# GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_file_entry_proto
proto_library("mtp_file_entry_proto") {
sources = [
"//third_party/cros_system_api/dbus/mtp_file_entry.proto",
@@ -15,7 +15,6 @@ proto_library("mtp_file_entry_proto") {
proto_out_dir = "device/media_transfer_protocol"
}
-# GYP version: device/media_transfer_protocol/media_transfer_protocol.gyp:mtp_storage_info_proto
proto_library("mtp_storage_info_proto") {
sources = [
"//third_party/cros_system_api/dbus/mtp_storage_info.proto",
@@ -23,7 +22,6 @@ proto_library("mtp_storage_info_proto") {
proto_out_dir = "device/media_transfer_protocol"
}
-# GYP version: device/media_transfer_protocol:media_transfer_protocol.gyp:media_transfer_protocol
static_library("media_transfer_protocol") {
sources = [
"media_transfer_protocol_daemon_client.cc",
@@ -37,13 +35,8 @@ static_library("media_transfer_protocol") {
":mtp_storage_info_proto",
"//base",
]
- if (use_dbus) {
- deps = [
- "//dbus",
- ]
- }
-
- if (is_chromeos) {
- deps += [ "//chromeos" ]
- }
+ deps = [
+ "//chromeos",
+ "//dbus",
+ ]
}
« 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