1LOCAL_PATH := $(call my-dir) 2 3VNDK_SP_LIBRARIES := \ 4 android.hardware.renderscript@1.0\ 5 android.hardware.graphics.allocator@2.0\ 6 android.hardware.graphics.mapper@2.0\ 7 android.hardware.graphics.common@1.0\ 8 android.hidl.base@1.0\ 9 libhwbinder\ 10 libbase\ 11 libcutils\ 12 libhardware\ 13 libhidlbase\ 14 libhidltransport\ 15 libutils\ 16 libc++\ 17 libRS_internal\ 18 libRSDriver\ 19 libRSCpuRef\ 20 libbcinfo\ 21 libblas\ 22 libft2\ 23 libpng\ 24 libcompiler_rt\ 25 libbacktrace\ 26 libunwind\ 27 liblzma\ 28 29define add-vndk-sp-lib 30include $$(CLEAR_VARS) 31LOCAL_MODULE := $1.vndk-sp 32LOCAL_MODULE_CLASS := SHARED_LIBRARIES 33LOCAL_PREBUILT_MODULE_FILE := $$(TARGET_OUT)/lib/$1.so 34LOCAL_MULTILIB := 32 35LOCAL_MODULE_TAGS := optional 36LOCAL_INSTALLED_MODULE_STEM := $1.so 37LOCAL_MODULE_SUFFIX := .so 38LOCAL_MODULE_RELATIVE_PATH := vndk-sp 39include $$(BUILD_PREBUILT) 40 41include $$(CLEAR_VARS) 42LOCAL_MODULE := $1.vndk-sp 43LOCAL_MODULE_CLASS := SHARED_LIBRARIES 44LOCAL_PREBUILT_MODULE_FILE := $$(TARGET_OUT)/lib64/$1.so 45LOCAL_MULTILIB := 64 46LOCAL_MODULE_TAGS := optional 47LOCAL_INSTALLED_MODULE_STEM := $1.so 48LOCAL_MODULE_SUFFIX := .so 49LOCAL_MODULE_RELATIVE_PATH := vndk-sp 50include $$(BUILD_PREBUILT) 51endef 52 53$(foreach lib,$(VNDK_SP_LIBRARIES),\ 54 $(eval $(call add-vndk-sp-lib,$(lib)))) 55