diff options
author | jrizzoli <joey@cyanogenmoditalia.it> | 2016-02-05 15:27:41 +0100 |
---|---|---|
committer | jrizzoli <joey@cyanogenmoditalia.it> | 2016-02-06 21:31:54 +0100 |
commit | 5196f6627ca374dacfbdfd4f0b3915009bca2651 (patch) | |
tree | fd7b2672ae2b4cfd0542c78a4e8425d4a8207007 | |
parent | 62a660007af1391003d25594bc926af9c8c747da (diff) | |
download | android_external_gello_build-5196f6627ca374dacfbdfd4f0b3915009bca2651.tar.gz android_external_gello_build-5196f6627ca374dacfbdfd4f0b3915009bca2651.tar.bz2 android_external_gello_build-5196f6627ca374dacfbdfd4f0b3915009bca2651.zip |
[2/2] gello-build: call Gello shell only from gello_build.sh
Change-Id: Id18057e625e8bcf6b4ea27e05312ac8663f559a2
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
-rwxr-xr-x | gello_build.sh | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/gello_build.sh b/gello_build.sh index bd9f8bf..c32ce22 100755 --- a/gello_build.sh +++ b/gello_build.sh @@ -133,13 +133,9 @@ function compile() { cd $SRC_GELLO - # Gello "shell" builds only if we have WITH_GELLO_SOURCE == true , - # this script is running, so it should already be true - # if we're just doing tests we may have not that as true, set it - # otherwise it won't hurt - if [ "$WITH_GELLO_SOURCE" != true ]; then - WITH_GELLO_SOURCE=true - fi + # Gello "shell" builds only if we have GELLO_SRC == true , + # because we just wait it to build from here + GELLO_SRC=true # Make things ninja -C out/Release swe_android_browser_apk @@ -150,6 +146,8 @@ function compile() { mv $BACKUP_GELLO $BUILD_GELLO fi + export GELLO_SRC=false + if [ "$BUILDRET" == 0 ]; then if [ -f "$OUT_TARGET" ]; then rm -f $OUT_TARGET |