From 88a85476fc3b16c7922b09b91c586e9047033a92 Mon Sep 17 00:00:00 2001 From: Paul Keith Date: Thu, 6 Apr 2017 11:09:36 -0500 Subject: [PATCH] Adjust build system for new gapps organization Signed-off-by: Paul Keith --- build/gapps.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/build/gapps.sh b/build/gapps.sh index 6ae6bf1..584bac7 100644 --- a/build/gapps.sh +++ b/build/gapps.sh @@ -1,5 +1,6 @@ #!/bin/bash # (c) Joey Rizzoli, 2015 +# (c) Paul Keith, 2017 # Released under GPL v2 License ## @@ -7,11 +8,11 @@ # DATE=$(date +%F-%H-%M) TOP=$(realpath .) -ANDROIDV=5.1 +ANDROIDV=7.1.1 OUT=$TOP/out BUILD=$TOP/build METAINF=$BUILD/meta -COMMON=$TOP/prebuilt/gapps/common +COMMON=$TOP/common/proprietary/ GLOG=/tmp/gapps_log ## @@ -43,7 +44,7 @@ function create(){ echo "ARCH= $GARCH" >> $GLOG echo "OS= $(uname -s -r)" >> $GLOG echo "NAME= $(whoami) at $(uname -n)" >> $GLOG - PREBUILT=$TOP/prebuilt/gapps/$GARCH + PREBUILT=$TOP/$GARCH/proprietary/ test -d $OUT || mkdir $OUT; test -d $OUT/$GARCH || mkdir -p $OUT/$GARCH echo "Build directories are now ready" >> $GLOG @@ -96,7 +97,7 @@ LASTRETURN=$? if [ -x $(which realpath) ]; then echo "Realpath found!" >> $GLOG else - TOP=$(cd . && pwd) # some os X love + TOP=$(cd . && pwd) # some darwin love echo "No realpath found!" >> $GLOG fi if [ "$LASTRETURN" == 0 ]; then