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

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

Issue 953463003: Reland #317760 - add gn_all, gyp_all targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: do not try to remove views_unittests on android 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/all.gyp ('k') | chrome/test/BUILD.gn » ('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/all.gyp ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698