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

Unified Diff: third_party/protobuf/proto_library.gni

Issue 365793002: Add lots of GN targets (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 | « third_party/mt19937ar/BUILD.gn ('k') | ui/accessibility/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/protobuf/proto_library.gni
diff --git a/third_party/protobuf/proto_library.gni b/third_party/protobuf/proto_library.gni
index 62efd7824d7c587fca7bcca9003b7c8975a32de4..3f4cae906a0f3945440874ba97b24cb96b09933b 100644
--- a/third_party/protobuf/proto_library.gni
+++ b/third_party/protobuf/proto_library.gni
@@ -30,6 +30,9 @@
# String listing an extra include that should be passed.
# Example: cc_include = "foo/bar.h"
#
+# deps (optional)
+# Additional dependencies.
+#
# Parameters for compiling the generated code:
#
# defines (optional)
@@ -125,6 +128,10 @@ template("proto_library") {
]
deps = [ protoc_label ]
+
+ if (defined(invoker.deps)) {
+ deps += invoker.deps
+ }
}
source_set(target_name) {
« no previous file with comments | « third_party/mt19937ar/BUILD.gn ('k') | ui/accessibility/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698