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 9010abc7b6d0703aa1dde214905fa4e021a78d0d..b0d7abf8ae2dcf1141a34af0cbd9aea52c30eaf3 100644 |
--- a/build/secondary/tools/grit/grit_rule.gni |
+++ b/build/secondary/tools/grit/grit_rule.gni |
@@ -381,6 +381,7 @@ template("grit") { |
".", |
"--depfile", |
rebase_path(depfile, root_build_dir), |
+ "--write-only-new=1" |
] + grit_defines |
# Add extra defines with -D flags. |