1LOCAL_PATH:= $(call my-dir) 2 3# TinyPlanet 4include $(CLEAR_VARS) 5 6LOCAL_CPP_EXTENSION := .cc 7LOCAL_LDFLAGS := -llog -ljnigraphics 8LOCAL_SDK_VERSION := 17 9LOCAL_MODULE := libjni_tinyplanet 10LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 11LOCAL_LICENSE_CONDITIONS := notice 12LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE 13LOCAL_SRC_FILES := tinyplanet.cc 14LOCAL_PRODUCT_MODULE := true 15 16LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops 17LOCAL_CFLAGS += -Wall -Wextra -Werror 18LOCAL_ARM_MODE := arm 19 20include $(BUILD_SHARED_LIBRARY) 21 22# JpegUtil 23include $(CLEAR_VARS) 24 25LOCAL_NDK_STL_VARIANT := c++_static 26LOCAL_LDFLAGS := -llog -ldl -ljnigraphics 27LOCAL_SDK_VERSION := 17 28LOCAL_MODULE := libjni_jpegutil 29LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 30LOCAL_LICENSE_CONDITIONS := notice 31LOCAL_NOTICE_FILE := $(LOCAL_PATH)/NOTICE 32LOCAL_PRODUCT_MODULE := true 33LOCAL_SRC_FILES := jpegutil.cpp jpegutilnative.cpp 34 35LOCAL_STATIC_LIBRARIES := libjpeg_static_ndk 36 37LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops 38LOCAL_CFLAGS += -Wall -Wextra -Werror 39LOCAL_ARM_MODE := arm 40 41include $(BUILD_SHARED_LIBRARY) 42