diff options
| author | Dan Willemsen <dwillemsen@google.com> | 2016-09-16 23:51:12 -0700 |
|---|---|---|
| committer | Dan Willemsen <dwillemsen@google.com> | 2016-09-19 14:52:32 -0700 |
| commit | cac3d5ac35c1e18879721e19cb435e14663fee01 (patch) | |
| tree | 86ef3c6367ffd62e59057114ad55f2868f6cb896 /ninja.cc | |
| parent | d26caadec345d7f19d63f894a0b8320693543ea6 (diff) | |
ninja: Don't emit special targets (.*)
These aren't meant to be called directly, so there's no point putting
them in the ninja file.
Diffstat (limited to 'ninja.cc')
| -rw-r--r-- | ninja.cc | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -483,6 +483,9 @@ class NinjaGenerator { string rule_name = "phony"; bool use_local_pool = false; + if (node->output.get(0) == '.') { + return; + } if (g_flags.enable_debug) { *o << "# " << (node->loc.filename ? node->loc.filename : "(null)") << ':' << node->loc.lineno << "\n"; |
