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

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

Issue 430083002: Use a qualified path to blink resources, content part. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 5 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 | « no previous file | content/DEPS » ('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 3abbdb86f4724231ddc20f7b565eb473f7e01c6b..d7a8860a8e2e650616506500f714a39e2b1c7819 100644
--- a/build/secondary/tools/grit/grit_rule.gni
+++ b/build/secondary/tools/grit/grit_rule.gni
@@ -41,6 +41,9 @@
# output_dir (optional)
# Directory for generated files.
#
+# use_qualified_include (optional)
+# If set, output_dir is not added to include_dirs.
+#
# deps (optional)
# visibility (optional)
# Normal meaning.
@@ -247,7 +250,10 @@ template("grit") {
# (like "mycomponent/foo.h"). This config sets up the include path.
grit_config = target_name + "_grit_config"
config(grit_config) {
- include_dirs = [ output_dir ]
+ if (!defined(invoker.use_qualified_include) ||
+ !invoker.use_qualified_include) {
+ include_dirs = [ output_dir ]
+ }
visibility = target_visibility
}
« no previous file with comments | « no previous file | content/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698