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