gn build: Create a template for unix toolchains.
authorPeter Collingbourne <peter@pcc.me.uk>
Fri, 11 Jan 2019 22:57:57 +0000 (22:57 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Fri, 11 Jan 2019 22:57:57 +0000 (22:57 +0000)
commitad7f1d605c7171ca06bb90889413f2d3e7ed0afa
tree0f5fd17640c3bc83e9cd66e39c11946689ee44ea
parent7d7e3256cd8f935a370bc289e2752b0a3efe073a
gn build: Create a template for unix toolchains.

Also change the toolchain description to use current_os instead of
host_os so that the template can be used for cross builds, and add
a current_os to the win toolchain to match the unix toolchain.

Differential Revision: https://reviews.llvm.org/D56576

llvm-svn: 350977
llvm/utils/gn/build/toolchain/BUILD.gn