summaryrefslogtreecommitdiff
path: root/bootstrap.bash
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-07-18 19:39:34 -0700
committerDan Willemsen <dwillemsen@google.com>2017-07-24 15:29:14 -0700
commit91f9b547672ecb20a308d52df3a0c09d616cb1b9 (patch)
treebdf38ca0f3bd5fd626fa81211d0836e123dbee1b /bootstrap.bash
parent99cd671ac35897e9514c6ca687dfeeeecedb36d3 (diff)
Switch to blueprint's microfactory
Bug: 63720725 Test: m -j nothing Test: mkdir o; ../bootstrap.bash; ./soong Change-Id: Id1f8312678f36afd08b49f8511fec3e6e5ba8de2
Diffstat (limited to 'bootstrap.bash')
-rwxr-xr-xbootstrap.bash8
1 files changed, 2 insertions, 6 deletions
diff --git a/bootstrap.bash b/bootstrap.bash
index e48f48035..dbc6eb2c0 100755
--- a/bootstrap.bash
+++ b/bootstrap.bash
@@ -17,25 +17,21 @@ if [[ -z "$BUILDDIR" ]]; then
fi
export SRCDIR="."
export BOOTSTRAP="${SRCDIR}/bootstrap.bash"
+export BLUEPRINTDIR="${SRCDIR}/build/blueprint"
export TOPNAME="Android.bp"
-export BOOTSTRAP_MANIFEST="${SRCDIR}/build/soong/build.ninja.in"
export RUN_TESTS="-t"
case $(uname) in
Linux)
- export GOOS="linux"
export PREBUILTOS="linux-x86"
;;
Darwin)
- export GOOS="darwin"
export PREBUILTOS="darwin-x86"
;;
*) echo "unknown OS:" $(uname) && exit 1;;
esac
-export GOROOT="${SRCDIR}/prebuilts/go/$PREBUILTOS/"
-export GOARCH="amd64"
-export GOCHAR="6"
+export GOROOT="${SRCDIR}/prebuilts/go/$PREBUILTOS"
if [[ $# -eq 0 ]]; then
mkdir -p $BUILDDIR