2014-05-29 13:31:05 -04:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-01-31 23:36:05 -05:00
|
|
|
target="android-21"
|
2014-07-22 21:05:49 +02:00
|
|
|
|
2015-02-01 18:04:27 +01:00
|
|
|
rm -rf external/appcompat
|
|
|
|
cp -r "${ANDROID_HOME}/extras/android/support/v7/appcompat" external/
|
|
|
|
|
|
|
|
# This library is already included by netcipher, but SHA1 of JARs differ
|
|
|
|
rm external/appcompat/libs/android-support-v4.jar
|
|
|
|
|
|
|
|
rm -rf external/palette
|
|
|
|
cp -r "${ANDROID_HOME}/extras/android/support/v7/palette" external/
|
|
|
|
mkdir external/palette/src
|
|
|
|
|
2014-07-20 15:57:59 +02:00
|
|
|
# Update ant setup in project and all sub-projects
|
2014-05-29 13:31:05 -04:00
|
|
|
for f in `find external/ -name project.properties`; do
|
2014-07-20 15:57:59 +02:00
|
|
|
projectdir=`dirname $f`
|
2014-05-29 13:31:05 -04:00
|
|
|
echo "Updating ant setup in $projectdir:"
|
|
|
|
android update lib-project -p $projectdir -t $target
|
|
|
|
done
|
|
|
|
android update project -p . --subprojects -t $target --name Lightning
|