libstagefright: fix build
- Use headers from gingerbread-release branch instead of the current default ice cream sandwich - Fix path mistype
This commit is contained in:

committed by
Mohamed Naufal

parent
e82cbb69a7
commit
d7b786e9a1
@@ -6,15 +6,17 @@ if [ "$NDK" = "" ]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Fetching Android system headers"
|
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 --branch gingerbread-release 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_system_core.git ../android-source/system/core
|
||||||
|
|
||||||
echo "Fetching Android libraries for linking"
|
echo "Fetching Android libraries for linking"
|
||||||
# Libraries from any froyo/gingerbread device/emulator should work
|
# Libraries from any froyo/gingerbread device/emulator should work
|
||||||
# fine, since the symbols used should be available on most of them.
|
# fine, since the symbols used should be available on most of them.
|
||||||
if [ ! -f "../update-cm-7.0.3-N1-signed.zip" ]; then
|
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../
|
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../
|
fi
|
||||||
|
unzip ../update-cm-7.0.3-N1-signed.zip system/lib/* -d../
|
||||||
mv ../system/lib ../android-libs
|
mv ../system/lib ../android-libs
|
||||||
rmdir ../system
|
rmdir ../system
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user