aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjrizzoli <joey@cyanogenmoditalia.it>2016-01-15 14:43:08 (GMT)
committerjrizzoli <joey@cyanogenmoditalia.it>2016-01-15 14:53:17 (GMT)
commit332b65039b5d8526b6fc91aaae2df0e9baec1507 (patch)
tree4c9ceb4c1a2c39778c09d154adadf551cd44e826
parente1463cf421069d0568cb9eee3819141dbff9489d (diff)
downloadandroid_external_gello_build-332b65039b5d8526b6fc91aaae2df0e9baec1507.zip
android_external_gello_build-332b65039b5d8526b6fc91aaae2df0e9baec1507.tar.gz
android_external_gello_build-332b65039b5d8526b6fc91aaae2df0e9baec1507.tar.bz2
gello-build: unbreak first-time usage
Change-Id: Idaf36282df4445f028a286fd6bf4b315a474865f Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
-rwxr-xr-xgello_build.sh17
1 files changed, 13 insertions, 4 deletions
diff --git a/gello_build.sh b/gello_build.sh
index fdb17bd..856d769 100755
--- a/gello_build.sh
+++ b/gello_build.sh
@@ -66,6 +66,10 @@ function setup() {
cd $SRC_GELLO
+ if [ ! -f $DONE_FILE ]; then
+ touch $DONE_FILE
+ fi
+
. build/android/envsetup.sh
if [ "$FAST" != true ] && [ -f $DONE_FILE ]; then
@@ -76,10 +80,6 @@ function setup() {
return 0
fi
- if [ ! -f $DONE_FILE ]; then
- touch $DONE_FILE
- fi
-
# If we don't have Google SDKs, get them
# !! This asks a manual input to accept licenses !!
if [ ! -d $GOOGLE_SDK ]; then
@@ -99,6 +99,15 @@ 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
+
# Make things
ninja -C out/Release swe_android_browser_apk