# We can't use clang3.6 for now because it hangs at base/normalize_unicode.cpp compilation. # TODO: Replace normalize_unicode.cpp with equal by performance implementation (ask YuraRa about it). NDK_TOOLCHAIN_VERSION := clang3.5 APP_PLATFORM := android-9 APP_STL := c++_static # libc++-specific issues: -std=c++11" is turned on by default. # for gcc 4.8+ APP_CPPFLAGS += -Wno-deprecated-register ifeq (x$(NDK_ABI_TO_BUILD), x) APP_ABI := armeabi-v7a-hard x86 else APP_ABI := $(NDK_ABI_TO_BUILD) endif LOCAL_PATH := $(call my-dir) APP_CFLAGS += -I$(LOCAL_PATH)/../../3party/boost \ -I$(LOCAL_PATH)/../../3party/protobuf/src APP_GNUSTL_FORCE_CPP_FEATURES := exceptions rtti ifeq ($(NDK_DEBUG),1) APP_OPTIM := debug APP_CFLAGS += -DDEBUG -D_DEBUG else APP_OPTIM := release APP_CFLAGS += -DRELEASE -D_RELEASE ifeq ($(PRODUCTION),1) APP_CFLAGS += -DOMIM_PRODUCTION endif endif