forked from guardianproject/ChatSecureAndroid
-
Notifications
You must be signed in to change notification settings - Fork 49
/
update-ant-build.sh
executable file
·22 lines (17 loc) · 1.26 KB
/
update-ant-build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh
target="android-19"
projectname=`sed -n 's,.*name="app_name">\(.*\)<.*,\1,p' res/values/strings.xml`
# make sure your Android SDK tools path is set in SDK_BASE
android update lib-project --path external/ActionBarSherlock/actionbarsherlock --target $target
android update lib-project --path external/MemorizingTrustManager --target $target
android update lib-project --path external/OnionKit/libonionkit --target $target
android update lib-project --path external/AndroidPinning --target $target
android update lib-project --path external/cacheword/cachewordlib --target $target
android update lib-project --path external/SlidingMenu/library --target $target
android update lib-project --path external/AndroidEmojiInput/library --target $target
android update project --path . --name $projectname --target $target --subprojects
cp libs/android-support-v4.jar external/OnionKit/libonionkit/libs/android-support-v4.jar
cp libs/android-support-v4.jar external/ActionBarSherlock/actionbarsherlock/libs/android-support-v4.jar
cp libs/android-support-v4.jar external/SlidingMenu/library/libs/android-support-v4.jar
cp libs/android-support-v4.jar external/cacheword/cachewordlib/libs/android-support-v4.jar
cp libs/sqlcipher.jar external/cacheword/cachewordlib/libs/sqlcipher.jar