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

Unified Diff: third_party/protobuf/proto_library.gni

Issue 1278793003: GN: Fix clean build of cloud_policy_proto_generated_compile_proto failing (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 4 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 | « no previous file | no next file » | 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 c9f100409084dfe40844cada9f708bb6fa39daf8..8e7ea1411ba84b97506580fe35da11240f7b413b 100644
--- a/third_party/protobuf/proto_library.gni
+++ b/third_party/protobuf/proto_library.gni
@@ -143,8 +143,9 @@ template("proto_library") {
deps = [
protoc_label,
]
-
- forward_variables_from(invoker, [ "deps" ])
+ if (defined(invoker.deps)) {
+ deps += invoker.deps
+ }
}
source_set(target_name) {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698