aboutsummaryrefslogtreecommitdiff
path: root/compiler_wrapper/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'compiler_wrapper/README.md')
-rw-r--r--compiler_wrapper/README.md12
1 files changed, 11 insertions, 1 deletions
diff --git a/compiler_wrapper/README.md b/compiler_wrapper/README.md
index fd38d894..42198432 100644
--- a/compiler_wrapper/README.md
+++ b/compiler_wrapper/README.md
@@ -1,3 +1,13 @@
# Compiler wrapper
-See the comments on the top of main.go
+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.