1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_CLANG := true 5LOCAL_SDK_VERSION := 14 6 7LOCAL_SRC_FILES:= \ 8 android_rscompat_usage_io.cpp \ 9 android_rscompat_usage_io_driver.cpp 10 11LOCAL_C_INCLUDES += \ 12 $(JNI_H_INCLUDE) \ 13 frameworks/rs \ 14 frameworks/rs/cpp \ 15 frameworks/rs/driver 16 17LOCAL_CFLAGS += -Wno-unused-parameter -U_FORTIFY_SOURCE 18LOCAL_CFLAGS += -DRS_COMPATIBILITY_LIB -std=c++11 19 20LOCAL_MODULE:= libRSSupportIO 21LOCAL_MODULE_TAGS := optional 22 23LOCAL_LDLIBS += -landroid 24LOCAL_LDFLAGS += -ldl -Wl,--exclude-libs,libc++_static.a 25LOCAL_NDK_STL_VARIANT := c++_static 26include $(BUILD_SHARED_LIBRARY) 27 28include $(CLEAR_VARS) 29 30LOCAL_CLANG := true 31LOCAL_SDK_VERSION := 9 32 33LOCAL_SRC_FILES:= \ 34 android_renderscript_RenderScript.cpp 35 36LOCAL_SHARED_LIBRARIES := \ 37 libjnigraphics 38 39LOCAL_STATIC_LIBRARIES := \ 40 libRSDispatch 41 42LOCAL_C_INCLUDES += \ 43 $(JNI_H_INCLUDE) \ 44 frameworks/rs \ 45 frameworks/rs/cpp 46 47LOCAL_CFLAGS += -Wno-unused-parameter -U_FORTIFY_SOURCE -std=c++11 48 49LOCAL_MODULE:= librsjni 50LOCAL_MODULE_TAGS := optional 51LOCAL_REQUIRED_MODULES := libRSSupport 52 53LOCAL_LDFLAGS += -ldl -llog -Wl,--exclude-libs,libc++_static.a 54LOCAL_NDK_STL_VARIANT := c++_static 55 56include $(BUILD_SHARED_LIBRARY) 57