blob: 2b2f67c08ebddb2f3769b3a0ebf4ccce7ed49515 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
# The ARMv7 is significanly faster due to the use of the hardware FPU
APP_PLATFORM=android-8
# 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
ifdef NDK_PROFILER
# The profiler doesn't seem to receive ticks when run on release code.
# Accordingly, we need to build as debug - but this turns optimisations
# off, which is less than ideal. We COULD force them back on by using
# APP_CFLAGS = -O2, but this then triggers bugs in the compiler when it
# builds a couple of our source files. Accordingly, we have moved
# those files into Core2, and we have some flag hackery to make just that
# module without optimisation.
APP_OPTIM := debug
APP_CFLAGS :=
else
APP_OPTIM := release
endif
ifdef V8_BUILD
APP_STL := stlport_static
endif
ifdef MEMENTO
APP_CFLAGS += -DMEMENTO -DMEMENTO_LEAKONLY
endif
# If the ndk is r8b then workaround bug by uncommenting the following line
#NDK_TOOLCHAIN_VERSION=4.4.3
# If the ndk is newer than r8c, try using clang.
#NDK_TOOLCHAIN_VERSION=clang3.1
|