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