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:
@@ -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
|
||||
|
Reference in New Issue
Block a user