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_SRC_FILES := tinyplanet.cc 11 12LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops 13LOCAL_CFLAGS += -Wall -Wextra -Werror 14LOCAL_ARM_MODE := arm 15 16include $(BUILD_SHARED_LIBRARY) 17 18# JpegUtil 19include $(CLEAR_VARS) 20 21LOCAL_NDK_STL_VARIANT := c++_static 22LOCAL_LDFLAGS := -llog -ldl -ljnigraphics 23LOCAL_SDK_VERSION := 17 24LOCAL_MODULE := libjni_jpegutil 25LOCAL_SRC_FILES := jpegutil.cpp jpegutilnative.cpp 26 27LOCAL_STATIC_LIBRARIES := libjpeg_static_ndk 28 29LOCAL_CFLAGS := -std=c++11 30LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops 31LOCAL_CFLAGS += -Wall -Wextra -Werror 32LOCAL_ARM_MODE := arm 33 34include $(BUILD_SHARED_LIBRARY) 35