Make sure configure.py and ninja.cc always agree on if -t browse is included.
authorNico Weber <thakis@chromium.org>
Fri, 14 Nov 2014 01:53:26 +0000 (17:53 -0800)
committerNico Weber <thakis@chromium.org>
Fri, 14 Nov 2014 01:54:05 +0000 (17:54 -0800)
commita39b9577ba25dc4968bbc5f4afe7d17524325bb0
tree5f3b5a4997e0d0349c271215d13eb5ef85945e79
parent1f3f8b452b246144d7516410d7901635260f443e
Make sure configure.py and ninja.cc always agree on if -t browse is included.

No behavior change on most platforms. On solaris, -t browse was compiled in
in ninja.cc but browse.cc wasn't compiled in, which probably means that building
on Solaris didn't work. It might be better now.

This also makes browse.cc automatically not included in bootstrap builds;
previously this was done manually through the NINJA_BOOTSTRAP check.
configure.py
src/ninja.cc