1 LOCAL_PATH:= $(call my-dir) 2 3 # TinyPlanet 4 include $(CLEAR_VARS) 5 6 LOCAL_CPP_EXTENSION := .cc 7 LOCAL_LDFLAGS := -llog -ljnigraphics 8 LOCAL_SDK_VERSION := 9 9 LOCAL_MODULE := libjni_tinyplanet 10 LOCAL_SRC_FILES := tinyplanet.cc 11 12 LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops 13 LOCAL_ARM_MODE := arm 14 15 include $(BUILD_SHARED_LIBRARY) 16 17 # JpegUtil 18 include $(CLEAR_VARS) 19 20 LOCAL_CFLAGS := -std=c++11 21 LOCAL_NDK_STL_VARIANT := c++_static 22 LOCAL_LDFLAGS := -llog -ldl -ljnigraphics 23 LOCAL_SDK_VERSION := 9 24 LOCAL_MODULE := libjni_jpegutil 25 LOCAL_SRC_FILES := jpegutil.cpp jpegutilnative.cpp 26 27 LOCAL_C_INCLUDES += external/jpeg 28 29 LOCAL_SHARED_LIBRARIES := libjpeg 30 31 LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops 32 LOCAL_ARM_MODE := arm 33 34 include $(BUILD_SHARED_LIBRARY) 35