Skip to content

Commit

Permalink
silent phone android v1.8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronald Krueger committed Jan 16, 2014
1 parent 859fb0f commit 39dd634
Show file tree
Hide file tree
Showing 311 changed files with 10,659 additions and 5,947 deletions.
56 changes: 23 additions & 33 deletions .build-release/android-build.sh
Original file line number Diff line number Diff line change
@@ -1,46 +1,36 @@
#!/bin/bash

# This script expects the following environment variables (values can differ):
# Symbols expected by script
#
# ANDROID_ADT=/opt/adt-bundle-linux-x86_64-20130522
# ANDROID_ANT=/opt/adt-bundle-linux-x86_64-20130522/eclipse/plugins/org.apache.ant_1.8.3.v201301120609/bin/ant
# ANDROID_NDK=/opt/android-ndk-r8e
# ANDROID_SDK=/opt/android-sdk-linux
# export ANDROID_ADT=/opt/adt-bundle-linux-x86_64
# export ANDROID_ANT=$ANDROID_ADT/eclipse/plugins/org.apache.ant_1.8.3.v20120321-1730/bin/ant
# export ANDROID_SDK=$ANDROID_ADT/sdk
# export ANDROID_NDK=/opt/android-ndk-r8e
# export JAVA_JDK=/opt/jdk1.6.0_45/bin
#
# SRC_ROOT=$HOME
# AUTOMATED_BUILD=1

# derived locations
# export PATH=$JAVA_JDK:$ANDROID_NDK:$ANDROID_ADT:$ANDROID_ANT:$ANDROID_SDK/tools:$PATH
# export SRC_ROOT=$WORKSPACE
# export AUTOMATED_BUILD=1
# export JNI_ROOT=$WORKSPACE/scandroid/support
#
SCANDROID_ROOT=$SRC_ROOT

# cleanup
# export GRADLE_USER_HOME="$WORKSPACE/scandroid"
#
rm -rf $SCANDROID_ROOT/obj
rm -rf $SCANDROID_ROOT/libs/armeabi

# ndk jni builds
#
pushd $SCANDROID_ROOT
ndk-build
# ndk-build -d -B V=1 NDK_LOG=1
popd

# android build
#
pushd $SCANDROID_ROOT

echo "sdk.dir=$ANDROID_SDK" > local.properties
echo "ndk.dir=$ANDROID_NDK" >> local.properties

android update project --target android-17 --name ActionBarSherlock --path support/ActionBarSherlock/library
# ndk jni builds
# ndk-build -d -B V=1 NDK_LOG=1
ndk-build

$ANDROID_ANT \
-Dkey.store=$SCANDROID_ROOT/.build-release/test-debug.keystore \
-Dkey.store.password=android \
-Dkey.alias=androiddebugkey \
-Dkey.alias.password=android \
clean release
echo "build_environment=silentcircle.com" >> gradle.properties
echo "build_version=$BUILD_NUMBER" >> gradle.properties
echo "build_commit=$(git log -n 1 --pretty=format:'%h')" >> gradle.properties
echo "build_date=$BUILD_ID" >> gradle.properties
echo "build_debug=true" >> gradle.properties
echo "build_partners=" >> gradle.properties

popd
#./gradlew tasks
#./gradlew assembleDebug
./gradlew clean assembleRelease

5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local.properties
bin/
gen/
obj/
libs/armeabi/
libs/

# OS generated files #
######################
Expand All @@ -27,4 +27,5 @@ Thumbs.db
out/
build/
.gradle/

gradle.properties
*.iml
2 changes: 1 addition & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/libraries/KeyManagerSupport.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .idea/libraries/android_support_v4.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/libraries/support_v4_13_0_0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 9 additions & 0 deletions .idea/libraries/support_v4_18_0_0.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

124 changes: 0 additions & 124 deletions .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 39dd634

Please sign in to comment.