Index: build/secondary/tools/grit/grit_rule.gni |
diff --git a/build/secondary/tools/grit/grit_rule.gni b/build/secondary/tools/grit/grit_rule.gni |
index 7a1cc267475ecd281ce3fb0643effa2c78690bf3..9d8d60488eb9c9bbe7f1a0d07b518654e2300672 100644 |
--- a/build/secondary/tools/grit/grit_rule.gni |
+++ b/build/secondary/tools/grit/grit_rule.gni |
@@ -54,6 +54,7 @@ |
# If set, output_dir is not added to include_dirs. |
# |
# deps (optional) |
+# data_deps (optional) |
# visibility (optional) |
# Normal meaning. |
# |
@@ -413,6 +414,9 @@ template("grit") { |
if (defined(invoker.deps)) { |
deps += invoker.deps |
} |
+ if (defined(invoker.data_deps)) { |
+ data_deps = invoker.data_deps |
+ } |
} |
# This is the thing that people actually link with, it must be named the |