1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
LOCAL_PATH:= $(call my-dir)
include $(CLEAR_VARS)
LOCAL_SRC_FILES:= \
android_renderscript_RenderScript.cpp
LOCAL_SHARED_LIBRARIES := \
libandroid \
libandroid_runtime \
libandroidfw \
libnativehelper \
libRS \
libcutils \
liblog \
libskia \
libutils \
libui \
libgui \
libjnigraphics
LOCAL_HEADER_LIBRARIES := \
libbase_headers
LOCAL_C_INCLUDES += \
$(JNI_H_INCLUDE) \
frameworks/rs \
frameworks/base/core/jni \
frameworks/base/libs/hwui
LOCAL_CFLAGS += -Wno-unused-parameter
LOCAL_CFLAGS += -Wall -Werror -Wunused -Wunreachable-code
LOCAL_MODULE:= librs_jni
LOCAL_MODULE_TAGS := optional
LOCAL_REQUIRED_MODULES := libRS
include $(BUILD_SHARED_LIBRARY)
|