Switch to blueprint's microfactory

Bug: 63720725
Test: m -j nothing
Test: mkdir o; ../bootstrap.bash; ./soong
Change-Id: Id1f8312678f36afd08b49f8511fec3e6e5ba8de2
This commit is contained in:
Dan Willemsen
2017-07-18 19:39:34 -07:00
parent 99cd671ac3
commit 91f9b54767
9 changed files with 15 additions and 1730 deletions

View File

@@ -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