aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/README.md
blob: 421984326daf99bd4bceb3511261166fed1e3984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Compiler wrapper

See the comments on the top of main.go.
Build is split into 2 steps via separate commands:
- bundle: copies the sources and the `build.py` file into
  a folder.
- build: builds the actual go binary, assuming it is executed
  from the folder created by `bundle.py`.

This allows to copy the sources to a ChromeOS / Android
package, including the build script, and then
build from there without a dependency on toolchain-utils
itself.