summaryrefslogtreecommitdiff
path: root/build/make/Android.mk
AgeCommit message (Collapse)Author
2016-11-24build/make/Android.mk: correct rtcd template var refsJames Zern
the expansion of findstring and rtcd_dep_template_CONFIG_ASM_ABIS needs to be deferred until the block is parsed as makefile syntax rather than eval time where rtcd_dep_template_CONFIG_ASM_ABIS will be unset. this ensures vpx_config.asm is properly created. Change-Id: I7c38c6c082da78397936467482789dd468adc316
2016-11-23Android.mk,armv7: fix idct_neon.asm.S creationJames Zern
force this to be created before any other .S files. this change additionally removes the file from the source list as it doesn't need to be compiled on its own. Change-Id: I6b4cd56ef6059d08f75f06fb749cddf76e0e165e
2016-11-23build/make/Android.mk: set/use qexec appropriatelyJames Zern
commands are echo'd when V=1; libs.mk depends on this variable as well Change-Id: I88f91b9260f16686cfccdf6bd3f29d246521b62e
2016-11-18build/make/Android.mk: use -fPIC w/ENABLE_SHARED=1James Zern
fixes reloc errors like: R_X86_64_PC32 vpx_dsp/x86/deblock_sse2.o: requires dynamic R_X86_64_PC32 reloc against 'vpx_rv' which may overflow at runtime Change-Id: I218fc0e7c8258197f890d395f335e5a4fe82dccb
2016-11-14build/make/Android.mk: fix cpufeatures importJames Zern
use 'android/cpufeatures' rather than 'cpufeatures'; this matches the documentation, fixes compilation with r12b/r13 and still works with older ndks. Change-Id: I2f34233c164e6d4d46428f8905d5502cea4288a2
2016-10-31build/make/Android.mk: s/armv8/arm64/James Zern
the configure target is arm64-android-gcc which generates .mk files of the same form Change-Id: I08af3a54ef203b1496d185a0f8c8fe702881a173
2016-10-31build/make/Android.mk: fix armeabi-v7a buildJames Zern
vpx_config.asm and idct_neon.asm.S are required since: 3ae2597 idct,NEON: add a tran_low_t->s16 load adapter Change-Id: If5959a25edb370dd7dcdca71c96e9a5aad0840ce
2016-10-31use .S suffix rather than .s for NEON asmJames Zern
for compatibility with other build systems Change-Id: I6763e62e3126850ad4f8ad29e388b8dad0bbc4c3
2016-09-15Documentation for building unit tests for AndroidJohann
BUG=webm:1258 Change-Id: Iea142f7b0df0e047720e8c5362464932de57d564
2016-08-04Remove armv6 targetJohann
Change-Id: I1fa81cc9cabf362a185fc3a53f1e58de533a41e5
2016-06-17remove vp10James Zern
development has moved to the nextgenv2 branch and a snapshot from here was used to seed aomedia BUG=b/29457125 Change-Id: Iedaca11ec7870fb3a4e50b2c9ea0c2b056a0d3c0
2015-08-11Android.mk: add missing vp10_rtcd.h depJames Zern
broken since: be6c031 Merge "Fork VP9 and VP10 codebase" 3ee6db6 Fork VP9 and VP10 codebase Change-Id: I1dcdb378e11fe9aaf7c433ab187ebf952ef9cf09
2015-07-30Android.mk: fix *_rtcd.h deps for armeabi-v7aJames Zern
strip '.neon' so *_rtcd.h depends on the correct file Change-Id: Iecdbbc34c9ce5c6d0a4b466332d52f4e6a0cb128
2015-07-29Android.mk: add a dep on vpx_config.asm for x86_64James Zern
Change-Id: I8b4db93f754607aab64351745bd102ab238d9501
2015-07-24build/make/Android.mk: support TARGET_ARCH_ABI=x86_64James Zern
requires r10e or newer: Android NDK, Revision 10e (May 2015) ... Other bug fixes: ... - Fixed .asm support for ABI x86_64. Change-Id: I51ec9a5f77c982b7412d922e896348a83ae2d7d6
2015-06-09test/android/Android.mk: fix build w/ENABLE_SHARED=0James Zern
add a dependency on *_rtcd.h to ensure they're generated before attempting to build the test files Change-Id: Ibbbd1f6ea77912bfd297129e7c83b9a80923ea12
2015-05-07Fix ndk build.Frank Galligan
Android.mk should depend on vpx_dsp_rtcd.h Change-Id: Ib614af195a9574fd849c28b695f9f4b3b2bd125c
2015-04-15Android.mk: remove unnecessary -llog referenceJames Zern
nothing is using android/log.h currently; also quiets a warning when building a static lib: Android NDK: WARNING:libvpx/build/make/Android.mk:vpx: LOCAL_LDLIBS is always ignored for static libraries Change-Id: I1469a5d6fca4f7338a4a82e26a03e60fc91d92ca
2015-04-08Android.mk: add a flag to control shared/static libJames Zern
ndk-build ENABLE_SHARED=1 ... Change-Id: Idd64804b165d0d4bbfb0b242d6c4eee5e828dab4
2014-11-06Remove asm offset dependenciesJohann
The obj_int_extract code is no longer worth maintaining. It creates significant issues when adapting for different build systems and no longer offers as significant of a performance benefit due to improvements in intrinsics. Source files will remain until the various third-party builds are updated. The neon fast quantizer has been moved to intrinsics. The armv6 version has been removed because so few remaining targets require it. Compilers and processors have improved significantly since the pack_tokens code was written. The assembly is no longer faster than the C code. pack_tokens were the only optimizations for the armv5te targets so the targets will be removed after the test infrastructure has been updated. BUG=710 Change-Id: Ic785b167cd9f95eeff31c7c76b7b736c07fb30eb
2014-05-14Remove intermediate step in vp8_dequantize_bJohann
With the intrinsics it is no longer necessary to have a stub/helper function. Change-Id: I3695961c3c94f1bb750d3b7b29716e509ebba482
2014-05-12Only build neon assembly for armv7 targetsJohann
Allow selectively building just the intrinsics for armv8 Change-Id: I2f29b2e4508b8b8e5649c2906b3159ad1d4ec477
2014-05-02Android NDK support for x86 and mipsJohann
This does not do the full toolchain setup like the arm builds. It only allows for ndk-builds. See the instructions in tests/android/README or the webm jnin bindings project: https://chromium.googlesource.com/webm/bindings/+/master/JNI/README.Android Because this support is not quite polished, the build targets must be forced. Please use --force-target=x86-android-gcc --disable-ssse3 --disable-sse4_1 --disable-avx2 --force-target-mips-android-gcc Change-Id: Ie2b6623f71ac816e3965c39bf97097e9d30b6e94
2014-01-10Apply neon flags to intrinsic filesJohann
Filter out files ending in _neon.c and append .neon so the Android build system knows to apply -mfpu=neon Change-Id: Ib67277e5920bfcaeda7c4aa16cd1001b11d59305
2013-04-17Fix Android ndk-buildJohann
Add the config directory to the rtcd generation script. libvpx is configured in the jni directory but ndk-build is intended to be run from the next directory up. Currently it needs to be run from the jni directory but this is being looked in to. Add a trailing slash to allow the variable to be empty. Reduce offset generation to the files which are actually used. Change-Id: Ia84fac37e8998ba647423d0ee45fc66a891ce10c
2013-03-02prefix vp8 asm_{com,dec,enc}_offsets filesJames Zern
make them symmetrical with the generated output and their vp9 counterparts Change-Id: I72cc97c4d33d713dff620a6d7cc25955266216fc
2012-12-27Merge branch 'vp9-preview' of review:webm/libvpxJohn Koleszar
Merge the vp9-preview branch into master. Change-Id: If700b9054676f24bed9deb59050af546c1ca5296
2012-12-18Add 'jni' to documention for ndk-buildJohann
ndk-build is intended to be launched from the application directory, not the jni directory. Clarify the path in the comments. Change-Id: Ie0faa89a13d967088a4fd2fd1c647962a9c04217
2012-11-05build: merge with masterJohn Koleszar
Change-Id: I8ea836ce92c1c96f1e2bdf45e704d36ec9dbc401
2012-06-20Enables building examples with Android NDKAttila Nagy
Soft enable runtime cpu detect for armv7-android target, so that it can be disabled and remove dependency on 'cpufeatures' lib. Change the arm_cpu_caps implementation selection such that 'no rtcd' takes precedence over system type. Switch to use -mtune instead of -mcpu. NDK was complaining about -mcpu=cortex-a8 conflicting with -march=armv7-a, not sure why. Add a linker flag to fix some cortex-a8 bug, as suggested by NDK Dev Guide. Examples: Configure for armv7+neon: ./configure --target=armv7-android-gcc \ --sdk-path=/path/to/android/ndk \ --disable-runtime-cpu-detect \ --enable-realtime-only \ --disable-unit-tests ...armv7 w/o neon: ./configure --target=armv7-android-gcc \ --sdk-path=/path/to/android/ndk \ --disable-runtime-cpu-detect \ --enable-realtime-only \ --disable-neon \ --cpu=cortex-a9 \ --disable-unit-tests Change-Id: I37e2c0592745208979deec38f7658378d4bd6cfa
2012-04-12Use OFFSET_PATTERN from libs.mkJohann
Forestall possible issues with -ggdb3 https://gerrit.chromium.org/gerrit/16160 https://trac.macports.org/ticket/33285 Change-Id: Ied274f70004709800576a803afa91e1b0f6eb02b
2012-04-12Fix vpx_rtcd.h dependency in Android.mkAttila Nagy
Failed to build on Linux (as described in Android.mk) with NDK r7b. Set vpx_rtcd.h dependency after libvpx sources are added to LOCAL_SRC_FILES so that vpx_rtcd.h is generated before any libvpx file is touched. Change-Id: Ibe19d485ca9f679dc084044df0e3fb14587c4d3e
2012-02-15Fix rtcd build process for Android.mkFritz Koenig
Add a dependency so ndk-build will generate the needed vpx_rtcd.h file. Change-Id: I92c82e0996943dd0403c9956e1ba60e92e2837a9
2012-01-18Add makefile for building libvpx for Android.Fritz Koenig
Android.mk file for using the Android NDK build system to compile. Adds option for SDK path to use the compiler that comes with android for testing compiler compliance. Change-Id: I5fd17cb76e3ed631758d3f392e62ae1a050d0d10