Commit 82bbefaa authored by Martin Storsjö's avatar Martin Storsjö Committed by Jean-Baptiste Kempf
Browse files

Fetch android system headers from cyanogen on github and device libraries for linking

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <>
parent e751cf7d
......@@ -7,6 +7,25 @@ if [ -z "$ANDROID_NDK" -o -z "$ANDROID_SDK" ]; then
exit 1;
echo "Fetching Android system headers"
# Using CyanogenMod headers instead of AOSP, since CyanogenMod
# has commit 1563f4aca88d354c502dba056d173cefc7c2ea7f,
# "Stagefright: Memcpy optimization on output port." (available
# upstream at;a=commit;h=052368f194c9fc180b9b0335b60114a2f1fb88d8),
# which adds some vtable entries needed on newer qualcomm devices.
$GIT clone --depth=1 git:// android-headers/frameworks/base
$GIT clone --depth=1 git:// android-headers/system/core
export ANDROID_SYS_HEADERS=${PWD}/android-headers
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.
unzip system/lib/*
mv system/lib android-libs
rmdir system
export ANDROID_LIBS=${PWD}/android-libs
echo "Cloning and updating VLC"
$GIT clone git://
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment