aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjrizzoli <joey@cyanogenmoditalia.it>2016-03-19 15:24:04 (GMT)
committerJoey Rizzoli <joey@cyanogenmoditalia.it>2016-04-19 07:13:08 (GMT)
commit184dd9c3a1e04842d221780fc8d0cf4f14d6f0a3 (patch)
tree93af11295f9a6310ff5d27352f7726db46a43a6d
parent3dcb9cf93f6d46d58689d646c8ae3bca2a0ed53d (diff)
downloadandroid_external_gello_build-184dd9c3a1e04842d221780fc8d0cf4f14d6f0a3.zip
android_external_gello_build-184dd9c3a1e04842d221780fc8d0cf4f14d6f0a3.tar.gz
android_external_gello_build-184dd9c3a1e04842d221780fc8d0cf4f14d6f0a3.tar.bz2
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.md1
-rwxr-xr-xgello_build.sh20
2 files changed, 2 insertions, 19 deletions
diff --git a/README.md b/README.md
index 5e89ed8..e628f45 100644
--- a/README.md
+++ b/README.md
@@ -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