| LOCAL_PATH:= $(call my-dir) |
| |
| # TinyPlanet |
| include $(CLEAR_VARS) |
| |
| LOCAL_CPP_EXTENSION := .cc |
| LOCAL_LDFLAGS := -llog -ljnigraphics |
| LOCAL_SDK_VERSION := 9 |
| LOCAL_MODULE := libjni_tinyplanet |
| LOCAL_SRC_FILES := tinyplanet.cc |
| |
| LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops |
| LOCAL_ARM_MODE := arm |
| |
| include $(BUILD_SHARED_LIBRARY) |
| |
| # JpegUtil |
| include $(CLEAR_VARS) |
| |
| LOCAL_CFLAGS := -std=c++11 |
| LOCAL_NDK_STL_VARIANT := c++_static |
| LOCAL_LDFLAGS := -llog -ldl -ljnigraphics |
| LOCAL_SDK_VERSION := 9 |
| LOCAL_MODULE := libjni_jpegutil |
| LOCAL_SRC_FILES := jpegutil.cpp jpegutilnative.cpp |
| |
| LOCAL_C_INCLUDES += external/jpeg |
| |
| LOCAL_SHARED_LIBRARIES := libjpeg |
| |
| LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops |
| LOCAL_ARM_MODE := arm |
| |
| include $(BUILD_SHARED_LIBRARY) |