diff options
author | Bert Belder <bertbelder@gmail.com> | 2018-11-01 06:06:55 +0100 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2018-11-01 14:18:18 +0100 |
commit | ec17239f46fa8677975183e0ab4a0bc7adcff77e (patch) | |
tree | 1e98707b971dde3e52094afee33b9f6e9ce7532e /js | |
parent | 67944f298c1fb64f69766fc6ee0269ea6b1efb75 (diff) |
cargo: build in Cargo's out dir if DENO_BUILD_PATH is not set
Plus some minor improvements and clean-ups:
* Resolve DENO_BUILD_PATH to an absolute path if necessary.
* Rename DENO_BUILD_PATH to GN_OUT_DIR in places where it is supposed to
be set by the build system (and not a user configuration variable).
* Output Cargo `rerun-if-*-changed` instructions first, so even if the
build itself fails, configuration changes will still trigger a re-run
of build.rs.
* Remove TODOs that are impossible.
* Re-run build.rs when the flatbuffer definition file changes.
Diffstat (limited to 'js')
0 files changed, 0 insertions, 0 deletions