1ifneq ($(filter hikey960, $(TARGET_DEVICE)),) 2LOCAL_PATH := $(call my-dir) 3 4include $(CLEAR_VARS) 5LOCAL_MODULE := END_USER_LICENCE_AGREEMENT.txt 6LOCAL_MODULE_CLASS := SHARED_LIBRARIES 7LOCAL_STRIP_MODULE := false 8LOCAL_SRC_FILES_arm := $(LOCAL_MODULE) 9LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR) 10LOCAL_MULTILIB := 32 11include $(BUILD_PREBUILT) 12 13include $(CLEAR_VARS) 14LOCAL_MODULE := libGLES_mali.so 15LOCAL_MODULE_CLASS := SHARED_LIBRARIES 16LOCAL_STRIP_MODULE := false 17LOCAL_SRC_FILES_arm := lib/egl/$(LOCAL_MODULE) 18LOCAL_SRC_FILES_arm64 := lib64/egl/$(LOCAL_MODULE) 19LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/egl/ 20LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/egl/ 21LOCAL_MULTILIB := both 22LOCAL_SHARED_LIBRARIES := android.hardware.graphics.common@1.0 libz libnativewindow libc++ liblog libm libc libdl 23include $(BUILD_PREBUILT) 24 25include $(CLEAR_VARS) 26LOCAL_MODULE := libbccArm.so 27LOCAL_MODULE_CLASS := SHARED_LIBRARIES 28LOCAL_STRIP_MODULE := false 29LOCAL_SRC_FILES_arm64 := lib64/$(LOCAL_MODULE) 30LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/ 31LOCAL_MULTILIB := 64 32# Bypass prebuilt ELF check because libLLVM is not a module (it is copied by 33# PRODUCT_COPY_FILES instead). 34LOCAL_CHECK_ELF_FILES := false 35include $(BUILD_PREBUILT) 36 37include $(CLEAR_VARS) 38LOCAL_MODULE := libRSDriverArm.so 39LOCAL_MODULE_CLASS := SHARED_LIBRARIES 40LOCAL_STRIP_MODULE := false 41LOCAL_SRC_FILES_arm := lib/$(LOCAL_MODULE) 42LOCAL_SRC_FILES_arm64 := lib64/$(LOCAL_MODULE) 43LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/ 44LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/ 45LOCAL_MULTILIB := both 46LOCAL_SHARED_LIBRARIES := libRS_internal libRSCpuRef liblog libnativewindow libbcinfo libdl libc++ libc libm 47include $(BUILD_PREBUILT) 48 49include $(CLEAR_VARS) 50LOCAL_MODULE := libmalicore.bc 51LOCAL_MODULE_CLASS := SHARED_LIBRARIES 52LOCAL_STRIP_MODULE := false 53LOCAL_SRC_FILES_arm := lib/$(LOCAL_MODULE) 54LOCAL_SRC_FILES_arm64 := lib64/$(LOCAL_MODULE) 55LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/ 56LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/ 57LOCAL_MULTILIB := both 58include $(BUILD_PREBUILT) 59 60include $(CLEAR_VARS) 61LOCAL_MODULE := vulkan.hikey960.so 62LOCAL_MODULE_CLASS := SHARED_LIBRARIES 63LOCAL_STRIP_MODULE := false 64LOCAL_SRC_FILES_arm := lib/hw/$(LOCAL_MODULE) 65LOCAL_SRC_FILES_arm64 := lib64/hw/$(LOCAL_MODULE) 66LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/hw 67LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/hw 68LOCAL_MULTILIB := both 69LOCAL_SHARED_LIBRARIES := android.hardware.graphics.common@1.0 libz libnativewindow libc++ liblog libm libc libdl 70# Bypass prebuilt ELF check because the DT_SONAME "libGLES_mali.so" is 71# different from LOCAL_MODULE "vulkan.hikey960.so". 72LOCAL_CHECK_ELF_FILES := false 73include $(BUILD_PREBUILT) 74 75endif 76 77 78