diff options
author | jrizzoli <joey@cyanogenmoditalia.it> | 2016-03-19 16:24:04 +0100 |
---|---|---|
committer | Joey Rizzoli <joey@cyanogenmoditalia.it> | 2016-04-19 00:13:08 -0700 |
commit | 184dd9c3a1e04842d221780fc8d0cf4f14d6f0a3 (patch) | |
tree | 93af11295f9a6310ff5d27352f7726db46a43a6d | |
parent | 3dcb9cf93f6d46d58689d646c8ae3bca2a0ed53d (diff) | |
download | android_external_gello_build-184dd9c3a1e04842d221780fc8d0cf4f14d6f0a3.tar.gz android_external_gello_build-184dd9c3a1e04842d221780fc8d0cf4f14d6f0a3.tar.bz2 android_external_gello_build-184dd9c3a1e04842d221780fc8d0cf4f14d6f0a3.zip |
gello-build: remove --push
we can use mmp to push Gello now
Change-Id: I79fc844b2881026ed13a54edc41d0168e1924270
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
-rw-r--r-- | README.md | 1 | ||||
-rwxr-xr-x | gello_build.sh | 20 |
2 files changed, 2 insertions, 19 deletions
@@ -12,7 +12,6 @@ Features - *--depot* = Install Depot Tool - *--fast* = Skip sync and runhooks, useful for testing changes - *--local* = Pick local gello from packages/apps/Gello (for testing purpose) -- *--push* = Once everything else is done, install the given apk on a connected device - *--no-sync* = Skip sync How to build diff --git a/gello_build.sh b/gello_build.sh index b3c8805..2805061 100755 --- a/gello_build.sh +++ b/gello_build.sh @@ -24,7 +24,6 @@ TOP_GELLO=$(pwd) # Flag Booleans # FAST=false -PUSH=false NOSYNC=false CLEAN=false LOCAL=false @@ -165,9 +164,6 @@ function parseflags() { --no-sync) NOSYNC=true ;; - --push) - PUSH=true - ;; --clean) CLEAN=true ;; @@ -179,6 +175,7 @@ function parseflags() { done } + ## # PathValidator # @@ -212,7 +209,6 @@ flags: --depot = Install Depot Tool --fast = Skip sync and runhooks, useful for testing local changes --local = Pick local gello from packages/apps/Gello (for testing purpose) - --push = Once everything else is done, install the given apk on a connected device --no-sync = Skip sync EOF } @@ -229,6 +225,7 @@ function getdepot() { git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git } + ## # Main # @@ -242,22 +239,9 @@ fi parseflags "$@" - sync && setup && compile if [ "$?" == 0 ]; then echo "$(tput setaf 2)Done! Gello: $READY_APK$(tput sgr reset)" - - if [ "$PUSH" == true ]; then - if [ -x $(which adb) ]; then - adb wait-for-device - adb install -r -d $TOP_GELLO/Gello.apk - exit $? - else - echo "Adb not found! Unable to push gello to device!" - exit 3 - fi - fi - exit 0 fi |