Update ninja to 1.10.1
- Delay opening log files until the first write.
- A lot of improvements for CMake build and deprecation of old bootstrap.py.
Full git comparison here.
- Enable LTO, as it's enabled automatically by CMake script if ninja is built in Release configuration (they don't check for RelWithDebInfo). This helped to reduce binary size from 238 KB to 206 KB.
Test Plan: Rebuilt radare2, taisei and libplacebo with this version.
Reviewers: Triage Team, JoshStrobl
Reviewed By: Triage Team, JoshStrobl
Differential Revision: https://dev.getsol.us/D9473