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