Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
F
ffmpeg
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
submodule
ffmpeg
Commits
e82cbb69
Commit
e82cbb69
authored
Oct 09, 2011
by
Mohamed Naufal
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tools/build_libstagefright: fetch android system headers and libraries
Credit to Martin.
parent
0ef2e660
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
build_libstagefright
tools/build_libstagefright
+17
-2
No files found.
tools/build_libstagefright
View file @
e82cbb69
...
@@ -5,12 +5,27 @@ if [ "$NDK" = "" ]; then
...
@@ -5,12 +5,27 @@ if [ "$NDK" = "" ]; then
export
NDK
=
${
HOME
}
/android-ndk
export
NDK
=
${
HOME
}
/android-ndk
fi
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
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
../
mv
../system/lib ../android-libs
rmdir
../system
fi
SYSROOT
=
$NDK
/platforms/android-9/arch-arm
SYSROOT
=
$NDK
/platforms/android-9/arch-arm
# Expand the prebuilt/* path into the correct one
# Expand the prebuilt/* path into the correct one
TOOLCHAIN
=
`
echo
$NDK
/toolchains/arm-linux-androideabi-4.4.3/prebuilt/
*
-x86
`
TOOLCHAIN
=
`
echo
$NDK
/toolchains/arm-linux-androideabi-4.4.3/prebuilt/
*
-x86
`
export
PATH
=
$TOOLCHAIN
/bin:
$PATH
export
PATH
=
$TOOLCHAIN
/bin:
$PATH
ANDROID_SOURCE
=
$HOME
/android
ANDROID_SOURCE
=
../android-source
ANDROID_LIBS
=
$HOME
/glib
ANDROID_LIBS
=
../android-libs
rm
-rf
../build/stagefright
rm
-rf
../build/stagefright
mkdir
-p
../build/stagefright
mkdir
-p
../build/stagefright
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment