# =============================================================================
#
# Main build file defining the project modules and their global variables.
#
# =============================================================================

# Don't remove this - mandatory
APP_PROJECT_PATH := $(call my-dir)

# The only STL implementation currently working with exceptions
ifeq ($(TLC_NDK_VERSION),)
APP_STL := gnustl_static
else
APP_STL := c++_shared
endif

ifeq ($(SOC_ARCH), 32)
LOCAL_CPPFLAGS += -DCONFIG_AARCH32_KERNEL
APP_ABI := armeabi-v7a
else ifeq ($(SOC_ARCH), 64)
LOCAL_CPPFLAGS += -DCONFIG_AARCH64_KERNEL
APP_ABI := arm64-v8a
endif

# Don't optimize for better debugging
APP_OPTIM := debug
