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