OsmAnd/OsmAnd/jni/Application.mk
Victor Shcherb 73c954df5a Add x86 64
2019-10-28 16:44:45 +01:00

27 lines
644 B
Makefile
Executable file

APP_STL := c++_shared
APP_CPPFLAGS := -std=c++11 -fexceptions -frtti
APP_SHORT_COMMANDS := true
# Specify least supported Android platform version
APP_PLATFORM := android-14
NDK_TOOLCHAIN_VERSION := clang
APP_ABI := x86 armeabi-v7a arm64-v8a x86_64
ifdef ARM_ONLY
APP_ABI := armeabi-v7a arm64-v8a
endif
ifdef ARMV7_ONLY
APP_ABI := armeabi-v7a
endif
ifdef ARM64_ONLY
APP_ABI := arm64-v8a
endif
ifdef X86_ONLY
APP_ABI := x86 x86_64
endif
# APP_ABI := armeabi-v7a
ifndef OSMAND_DEBUG_NATIVE
# Force release compilation in release optimizations, even if application is debuggable by manifest
APP_OPTIM := release
endif