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

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

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

Powered by Google App Engine
This is Rietveld 408576698