John Stultz | 7923040 | 2018-03-28 12:03:20 -0700 | [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 |
Bob Badour | 6189768 | 2021-02-12 19:52:52 -0800 | [diff] [blame] | 6 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 7 | LOCAL_LICENSE_CONDITIONS := notice |
John Stultz | 7923040 | 2018-03-28 12:03:20 -0700 | [diff] [blame] | 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 |
Bob Badour | 6189768 | 2021-02-12 19:52:52 -0800 | [diff] [blame] | 17 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 18 | LOCAL_LICENSE_CONDITIONS := notice |
John Stultz | 7923040 | 2018-03-28 12:03:20 -0700 | [diff] [blame] | 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 |
Logan Chien | 35a7a37 | 2019-02-14 14:22:15 +0800 | [diff] [blame] | 26 | LOCAL_SHARED_LIBRARIES := android.hardware.graphics.common@1.0 libz libnativewindow libc++ liblog libm libc libdl |
John Stultz | 7923040 | 2018-03-28 12:03:20 -0700 | [diff] [blame] | 27 | include $(BUILD_PREBUILT) |
| 28 | |
| 29 | include $(CLEAR_VARS) |
John Stultz | a6764b2 | 2018-08-07 17:43:39 -0700 | [diff] [blame] | 30 | LOCAL_MODULE := libbccArm.so |
Bob Badour | 6189768 | 2021-02-12 19:52:52 -0800 | [diff] [blame] | 31 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 32 | LOCAL_LICENSE_CONDITIONS := notice |
John Stultz | a6764b2 | 2018-08-07 17:43:39 -0700 | [diff] [blame] | 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 |
Logan Chien | 35a7a37 | 2019-02-14 14:22:15 +0800 | [diff] [blame] | 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 |
John Stultz | a6764b2 | 2018-08-07 17:43:39 -0700 | [diff] [blame] | 41 | include $(BUILD_PREBUILT) |
| 42 | |
| 43 | include $(CLEAR_VARS) |
| 44 | LOCAL_MODULE := libRSDriverArm.so |
Bob Badour | 6189768 | 2021-02-12 19:52:52 -0800 | [diff] [blame] | 45 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 46 | LOCAL_LICENSE_CONDITIONS := notice |
John Stultz | a6764b2 | 2018-08-07 17:43:39 -0700 | [diff] [blame] | 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 |
Logan Chien | 35a7a37 | 2019-02-14 14:22:15 +0800 | [diff] [blame] | 54 | LOCAL_SHARED_LIBRARIES := libRS_internal libRSCpuRef liblog libnativewindow libbcinfo libdl libc++ libc libm |
John Stultz | a6764b2 | 2018-08-07 17:43:39 -0700 | [diff] [blame] | 55 | include $(BUILD_PREBUILT) |
| 56 | |
| 57 | include $(CLEAR_VARS) |
| 58 | LOCAL_MODULE := libmalicore.bc |
Bob Badour | 6189768 | 2021-02-12 19:52:52 -0800 | [diff] [blame] | 59 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 60 | LOCAL_LICENSE_CONDITIONS := notice |
John Stultz | a6764b2 | 2018-08-07 17:43:39 -0700 | [diff] [blame] | 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) |
John Stultz | 7923040 | 2018-03-28 12:03:20 -0700 | [diff] [blame] | 71 | LOCAL_MODULE := vulkan.hikey960.so |
Bob Badour | 6189768 | 2021-02-12 19:52:52 -0800 | [diff] [blame] | 72 | LOCAL_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0 |
| 73 | LOCAL_LICENSE_CONDITIONS := notice |
John Stultz | 7923040 | 2018-03-28 12:03:20 -0700 | [diff] [blame] | 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) |
Jesse Hall | b381cb4 | 2018-04-06 16:42:38 -0700 | [diff] [blame] | 78 | LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/hw |
| 79 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/hw |
John Stultz | 7923040 | 2018-03-28 12:03:20 -0700 | [diff] [blame] | 80 | LOCAL_MULTILIB := both |
Logan Chien | 35a7a37 | 2019-02-14 14:22:15 +0800 | [diff] [blame] | 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 |
John Stultz | 7923040 | 2018-03-28 12:03:20 -0700 | [diff] [blame] | 85 | include $(BUILD_PREBUILT) |
| 86 | |
| 87 | endif |