blob: e397db10352290393257ebca9c32021ae2b872ab [file] [log] [blame]
The go prebuilts in this directory were compiled with:
git clone https://github.com/golang/go.git /tmp/go
cd /tmp/go/src
git checkout go1.5.1
# Go can't handle a relative GOROOT, but we don't know the absolute path
# so set it to a relative path anyways. The build system will have to
# set the correct absolute GOROOT.
export GOROOT_BOOTSTRAP=$TOP/prebuilts/go/linux-x86
GOROOT_FINAL=./prebuilts/go/linux-x86 ./all.bash && ./race.bash
# Build the Win64 go cross-compiler.
GOROOT_FINAL=./prebuilts/go/linux-x86 GOOS=windows GOARCH=amd64 ./make.bash --no-clean
cd prebuilts/go/linux-x86
git rm -r *
git reset HEAD README.ANDROID
git checkout README.ANDROID
<update this file>
cp -rp /tmp/go/* ./
git add -A
git commit