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 cdaf0f272282f693ecd36763f2cae92f8e275097..626fd745d8a9dc505b59cd4a10ad7951de1def18 100644 |
--- a/build/secondary/tools/grit/grit_rule.gni |
+++ b/build/secondary/tools/grit/grit_rule.gni |
@@ -53,6 +53,8 @@ |
# use_qualified_include (optional) |
# If set, output_dir is not added to include_dirs. |
# |
+# configs (optional) |
+# List of additional configs to be applied to the generated target. |
# deps (optional) |
# inputs (optional) |
# List of additional files, required for grit to process source file. |
@@ -438,6 +440,10 @@ template("grit") { |
public_configs += invoker.public_configs |
} |
+ if (defined(invoker.configs)) { |
+ configs += invoker.configs |
+ } |
+ |
if (defined(invoker.visibility)) { |
visibility = invoker.visibility |
} |