use a shell script to inline browse.py
authorEvan Martin <martine@danga.com>
Sun, 6 Mar 2011 00:27:25 +0000 (16:27 -0800)
committerEvan Martin <martine@danga.com>
Mon, 7 Mar 2011 19:31:11 +0000 (11:31 -0800)
commit07ffa9195dd83176ddb96bbfb1eca0a3ca938a8b
tree03b240b89fa2500cf8b6285ad8e2f7be277eb667
parent15d4695878749c3525c96e856ef08dfb19a2c3e5
use a shell script to inline browse.py

Relying on the inline-assembly trick was cute but it didn't work on
other platforms; relying on xxd will make us depend on xxd being
available.  Instead, inline browse.py into a header using a shell
script.

(Making this work required fixing multiple bugs in ninja...)
build.ninja
src/browse.cc
src/browse.py
src/inline.sh [new file with mode: 0755]