Commit graph

16 commits

Author SHA1 Message Date
Bert Belder 206d4f5c17
tools/setup: detect sccache presence and use it to cache rustc targets 2018-09-26 10:25:58 -07:00
Bert Belder 531a427d88
build: do not quote cc_wrapper on windows
This brings behavior inline with the unix toolchain, which also leaves
cc_wrapper unquoted. If necessary, add quotes in the setup phase instead.
2018-09-26 09:52:30 -07:00
Bert Belder 023b4640fc
tools/setup: add gn_string() utility function 2018-09-26 09:52:30 -07:00
Bert Belder 2e3a8b495d
tools: make color output work on windows 2018-09-24 13:45:03 -07:00
Bert Belder 9b052ace09
tools/setup: replace generated args.gn unless handcrafted 2018-09-08 23:55:18 +02:00
Bert Belder 30b268dd7d
build: override host_toolchain on windows to use sccache with v8 2018-09-08 23:55:18 +02:00
Ryan Dahl a63d794c7f Fix lastchange rebuild problem.
lastchange.py is causing a full rebuild on every commit. This is a
temporary workaround.
2018-08-29 12:05:58 -04:00
Bert Belder fe9ca53bc2
tools/setup: don't overwrite existing args.gn 2018-08-28 02:01:42 +02:00
Bert Belder 7e3d9f8f2b
format 2018-08-28 02:01:41 +02:00
Ryan Dahl 85ebc6b1ac Run lastchange.py during setup.py 2018-08-27 19:23:53 -04:00
Bert Belder 3bcf7e271f
Build: make it possible to use ccache/sccache on windows
Also auto-detect the availability of sccache in setup.py.
2018-08-25 14:16:41 +02:00
Yoshiya Hinosawa 67d89ff692 chore: download clang-format from google storage 2018-08-17 12:58:58 -04:00
mervynzhang e41ee9bf4c import sys since sys.exit(1) used 2018-08-17 11:00:57 -04:00
Bert Belder e5b7d31aba
tools/setup: avoid running gn gen twice in the same output directory 2018-08-02 02:59:36 +02:00
Ryan Dahl b44c235579 Install sysroot on linux. 2018-07-29 00:24:16 -04:00
Ryan Dahl db65c723ae Rename run_hooks.py to setup.py
Moves 'gn gen' into setup.py

Make tools/build.py more ergonomic.
2018-07-29 00:24:16 -04:00