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

Unified Diff: device/media_transfer_protocol/BUILD.gn

Issue 362583002: Add more GN deps to the build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/strings/BUILD.gn ('k') | device/media_transfer_protocol/media_transfer_protocol.gyp » ('j') | 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
new file mode 100644
index 0000000000000000000000000000000000000000..0e2ff84b28bed274e3f578bb081b255e2cebb443
--- /dev/null
+++ b/device/media_transfer_protocol/BUILD.gn
@@ -0,0 +1,37 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//third_party/protobuf/proto_library.gni")
+
+# 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" ]
+ proto_in_dir = "//third_party/cros_system_api/dbus"
+ 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" ]
+ proto_in_dir = "//third_party/cros_system_api/dbus"
+ 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",
+ "media_transfer_protocol_daemon_client.h",
+ "media_transfer_protocol_manager.cc",
+ "media_transfer_protocol_manager.h",
+ ]
+
+ configs += [ "//build/config/linux:dbus" ]
+
+ deps = [
+ ":mtp_file_entry_proto",
+ ":mtp_storage_info_proto",
+ ]
+ forward_dependent_configs_from = deps
+}
« no previous file with comments | « components/strings/BUILD.gn ('k') | device/media_transfer_protocol/media_transfer_protocol.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698