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..cdaf0f272282f693ecd36763f2cae92f8e275097 100644 |
--- a/build/secondary/tools/grit/grit_rule.gni |
+++ b/build/secondary/tools/grit/grit_rule.gni |
@@ -54,6 +54,8 @@ |
# If set, output_dir is not added to include_dirs. |
# |
# deps (optional) |
+# inputs (optional) |
+# List of additional files, required for grit to process source file. |
# visibility (optional) |
# Normal meaning. |
# |
@@ -413,6 +415,9 @@ template("grit") { |
if (defined(invoker.deps)) { |
deps += invoker.deps |
} |
+ if (defined(invoker.inputs)) { |
+ inputs += invoker.inputs |
+ } |
} |
# This is the thing that people actually link with, it must be named the |