1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_SRC_FILES:= \ 5 RenderScript.cpp \ 6 BaseObj.cpp \ 7 Element.cpp \ 8 Type.cpp \ 9 Allocation.cpp \ 10 Script.cpp \ 11 ScriptC.cpp 12 13LOCAL_SHARED_LIBRARIES := \ 14 libRS \ 15 libz \ 16 libcutils \ 17 libutils 18 19LOCAL_MODULE:= libRScpp 20 21LOCAL_MODULE_TAGS := optional 22 23intermediates := $(call intermediates-dir-for,STATIC_LIBRARIES,libRS,TARGET,) 24librs_generated_headers := \ 25 $(intermediates)/rsgApiStructs.h \ 26 $(intermediates)/rsgApiFuncDecl.h 27LOCAL_GENERATED_SOURCES := $(librs_generated_headers) 28 29LOCAL_C_INCLUDES += frameworks/rs 30LOCAL_C_INCLUDES += $(intermediates) 31 32 33include $(BUILD_SHARED_LIBRARY) 34 35