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

Unified Diff: build/secondary/tools/grit/grit_rule.gni

Issue 960873002: Update from https://crrev.com/318214 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years, 10 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 | « build/sanitizers/sanitizer_options.cc ('k') | build/win/dbghelp_xp/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
}
« no previous file with comments | « build/sanitizers/sanitizer_options.cc ('k') | build/win/dbghelp_xp/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698