X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=tools%2Fbuild_libstagefright;h=78c20841ee5b1cdc5138a34e06436690bc9b1018;hb=e99f1a8cc8b90926209b7390ae3f50d519c0e63f;hp=ada8d4e23933ded74ce06bf39ece6e23b150aace;hpb=bba6f5b77f69e0b7fb00b3f346422715fc602f55;p=ffmpeg diff --git a/tools/build_libstagefright b/tools/build_libstagefright index ada8d4e2393..78c20841ee5 100644 --- a/tools/build_libstagefright +++ b/tools/build_libstagefright @@ -6,15 +6,17 @@ if [ "$NDK" = "" ]; then fi echo "Fetching Android system headers" -git clone --depth=1 git://github.com/CyanogenMod/android_frameworks_base.git ../android-source/frameworks/base -git clone --depth=1 git://github.com/CyanogenMod/android_system_core.git ../android-source/system/core +git clone --depth=1 --branch gingerbread-release git://github.com/CyanogenMod/android_frameworks_base.git ../android-source/frameworks/base +git clone --depth=1 --branch gingerbread-release git://github.com/CyanogenMod/android_system_core.git ../android-source/system/core echo "Fetching Android libraries for linking" # Libraries from any froyo/gingerbread device/emulator should work # fine, since the symbols used should be available on most of them. -if [ ! -f "../update-cm-7.0.3-N1-signed.zip" ]; then - wget http://download.cyanogenmod.com/get/update-cm-7.0.3-N1-signed.zip -P../ - unzip update-cm-7.0.3-N1-signed.zip system/lib/* -d../ +if [ ! -d "../android-libs" ]; then + if [ ! -f "../update-cm-7.0.3-N1-signed.zip" ]; then + wget http://download.cyanogenmod.com/get/update-cm-7.0.3-N1-signed.zip -P../ + fi + unzip ../update-cm-7.0.3-N1-signed.zip system/lib/* -d../ mv ../system/lib ../android-libs rmdir ../system fi