diff options
| author | Colin Cross <ccross@android.com> | 2015-09-29 16:51:02 -0700 |
|---|---|---|
| committer | Colin Cross <ccross@android.com> | 2015-09-29 16:51:02 -0700 |
| commit | 5b26db3fed604a0bef74f905b19a44000ad24df1 (patch) | |
| tree | 035d79f97a3d67fbcfe4760d323cb3604b28b1d1 /dep.h | |
| parent | 9c5e60c3efd3198ad803c83cc6d6e2391d38edd6 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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; |
