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