2014-05-29 17:31:05 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
2015-02-01 04:36:05 +00:00
|
|
|
target="android-21"
|
2014-07-22 19:05:49 +00:00
|
|
|
|
2015-02-01 17:04:27 +00: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 13:57:59 +00:00
|
|
|
# Update ant setup in project and all sub-projects
|
2014-05-29 17:31:05 +00:00
|
|
|
for f in `find external/ -name project.properties`; do
|
2014-07-20 13:57:59 +00:00
|
|
|
projectdir=`dirname $f`
|
2014-05-29 17:31:05 +00: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
|