2019-05-30 05:57:57 +00:00
|
|
|
# MAKEFILE_LIST specifies the current used Makefiles, of which this is the last
|
|
|
|
# one. I use that to obtain the Application.mk dir then import the root
|
|
|
|
# Application.mk.
|
|
|
|
ROOT_DIR := $(dir $(lastword $(MAKEFILE_LIST)))../../../../..
|
2021-03-11 17:37:57 +00:00
|
|
|
NDK_MODULE_PATH := $(ROOT_DIR)
|
2019-05-30 05:57:57 +00:00
|
|
|
|
2021-02-02 22:53:37 +00:00
|
|
|
APP_PLATFORM := android-24
|
2019-05-30 05:57:57 +00:00
|
|
|
|
2021-03-11 17:37:57 +00:00
|
|
|
APP_CFLAGS += -Wl,--no-undefined
|
|
|
|
|
|
|
|
APPLICATIONMK_PATH = $(call my-dir)
|
|
|
|
|
|
|
|
TOP_DIR := $(APPLICATIONMK_PATH)
|
|
|
|
SUPPORT_LIBS := $(APPLICATIONMK_PATH)/SupportLibs
|
2019-05-30 05:57:57 +00:00
|
|
|
|
|
|
|
APP_STL := c++_shared
|
|
|
|
|
|
|
|
# Make sure every shared lib includes a .note.gnu.build-id header, for crash reporting
|
|
|
|
APP_LDFLAGS := -Wl,--build-id
|
|
|
|
|
|
|
|
NDK_TOOLCHAIN_VERSION := clang
|
|
|
|
|
|
|
|
# ndk-r14 introduced failure for missing dependencies. If 'false', the clean
|
|
|
|
# step will error as we currently remove prebuilt artifacts on clean.
|
|
|
|
APP_ALLOW_MISSING_DEPS=true
|