Files
video-v1/vav2/platforms/windows/vavcore/Application.mk

40 lines
876 B
Makefile

# VavCore Application.mk
# Android build configuration
# Target Android API level (Android 10+ for AV1 MediaCodec support)
APP_PLATFORM := android-29
# Target ABIs (architectures)
APP_ABI := arm64-v8a armeabi-v7a x86_64
# C++ standard library
APP_STL := c++_shared
# Build mode
APP_OPTIM := release
# C++ standard
APP_CPPFLAGS := -std=c++17 -frtti -fexceptions
# Enable debugging information in release builds
APP_CFLAGS := -g
# Compiler features
APP_CPP_FEATURES := rtti exceptions
# Build for specific API level
APP_CFLAGS += -D__ANDROID_API__=29
# Enable all warnings
APP_CFLAGS += -Wall -Wextra
# VavCore specific defines
APP_CFLAGS += -DANDROID -DVAVCORE_ANDROID
# Strip symbols in release builds
ifeq ($(APP_OPTIM),release)
APP_CFLAGS += -DNDEBUG -O3
cmd-strip = $(TOOLCHAIN_PREFIX)strip --strip-unneeded -x $1
else
APP_CFLAGS += -DDEBUG -O0
endif