diff options
author | Robin Watts <robin.watts@artifex.com> | 2013-05-28 15:44:37 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2013-05-30 10:16:30 -0400 |
commit | b5c3813e544afe92768b36c14fd1976ddc8bc6d1 (patch) | |
tree | e6087fc26aa01aa57221b63fb7e576c90bd4cc22 /android/jni/Application.mk | |
parent | eb045399f1998f9e5a99664642394594d109b291 (diff) | |
download | mupdf-b5c3813e544afe92768b36c14fd1976ddc8bc6d1.tar.xz |
Android manifest tweaks.
Make it easier to do release builds.
Diffstat (limited to 'android/jni/Application.mk')
-rw-r--r-- | android/jni/Application.mk | 26 |
1 files changed, 20 insertions, 6 deletions
diff --git a/android/jni/Application.mk b/android/jni/Application.mk index 2b2f67c0..8eb9c3b9 100644 --- a/android/jni/Application.mk +++ b/android/jni/Application.mk @@ -1,11 +1,25 @@ -# The ARMv7 is significanly faster due to the use of the hardware FPU +# When we build for google play, we build 4 different apk's, each with +# a different version, by uncommenting one of the pairs of lines below. +# Suppose our base version is X: + +# Version X: armeabi +#APP_PLATFORM=android-8 +#APP_ABI := armeabi + +# Version X+1: armeabi-v7a (Much faster due to the availability of hardware +# FP, but cannot be run in the emulator). APP_PLATFORM=android-8 +APP_ABI := armeabi-v7a + +# Version X+2: x86 (Requires android-9, so a change needs to be made in +# AndroidManifest.xml too) +#APP_PLATFORM=android-9 +#APP_ABI := x86 -# We only build for arm variants by default. If you want more, uncomment -# the appropriate line below. -APP_ABI := armeabi armeabi-v7a -#APP_ABI := armeabi armeabi-v7a x86 mips -#APP_ABI := all +# Version X+3: mips (Requires android-9, so a change needs to be made in +# AndroidManifest.xml too) +#APP_PLATFORM=android-9 +#APP_ABI := mips ifdef NDK_PROFILER # The profiler doesn't seem to receive ticks when run on release code. |