aboutsummaryrefslogtreecommitdiff
path: root/flags.h
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2018-09-26 14:10:40 -0700
committerDan Willemsen <dwillemsen@google.com>2018-09-26 14:50:56 -0700
commit64c31bddf88d45711b746e6b954e61609f2cf3c4 (patch)
tree4d1d30af3a32a0fdade07de28c1240ad0a4de9e4 /flags.h
parent7660073645413f4e887d0822c3d401097b51eca6 (diff)
downloadkati-64c31bddf88d45711b746e6b954e61609f2cf3c4.tar.gz
Add --no_ninja_prelude
This argument will remove the common bits at the beginning of the ninja file -- build_dir, local_pool, and _kati_always_build_. It's most useful so that Kati can be run twice, with the output ninja files combined into a single ninja execution. It also lets us change the local_pool size without having to re-read all the makefiles. Change-Id: I38fef043ac2a9550d094550f5fb7f1789bc729dd
Diffstat (limited to 'flags.h')
-rw-r--r--flags.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/flags.h b/flags.h
index ce32ee8..025979a 100644
--- a/flags.h
+++ b/flags.h
@@ -41,6 +41,7 @@ struct Flags {
bool use_find_emulator;
bool color_warnings;
bool no_builtin_rules;
+ bool no_ninja_prelude;
bool werror_find_emulator;
bool werror_overriding_commands;
bool warn_implicit_rules;