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

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

Issue 495183002: Fix empty resource IDs file in GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | no next file » | 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 e1cf53f748c40376711eca0c50c02d63aabb766d..bec147eebbecae844039d305e1600567a0c1040b 100644
--- a/build/secondary/tools/grit/grit_rule.gni
+++ b/build/secondary/tools/grit/grit_rule.gni
@@ -282,7 +282,11 @@ template("grit") {
args = [
"-i", source_path, "build",
- "-f", resource_ids,
+ ]
+ if (resource_ids != "") {
+ args += [ "-f", resource_ids ]
+ }
+ args += [
"-o", rebased_output_dir,
"--depdir", ".",
"--depfile", rebase_path(depfile, root_build_dir),
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698