aboutsummaryrefslogtreecommitdiff
path: root/dep.h
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2015-09-29 16:51:02 -0700
committerColin Cross <ccross@android.com>2015-09-29 16:51:02 -0700
commit5b26db3fed604a0bef74f905b19a44000ad24df1 (patch)
tree035d79f97a3d67fbcfe4760d323cb3604b28b1d1 /dep.h
parent9c5e60c3efd3198ad803c83cc6d6e2391d38edd6 (diff)
Add support for default targets in ninja output
make treats the first target it sees as the default target if no goals are passed on the commmand line. When generating a ninja file, mark this target with "default" to make it build if no goals are passed to ninja. Change-Id: I11befa4f88b8ca8734fdc7dd470c2a0a3722410d
Diffstat (limited to 'dep.h')
-rw-r--r--dep.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/dep.h b/dep.h
index 4fc6183..961ca0a 100644
--- a/dep.h
+++ b/dep.h
@@ -39,6 +39,7 @@ struct DepNode {
vector<DepNode*> parents;
bool has_rule;
bool is_phony;
+ bool is_default_target;
vector<Symbol> actual_inputs;
Vars* rule_vars;
Symbol output_pattern;