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 |
| 6 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES |
| 7 | LOCAL_STRIP_MODULE := false |
| 8 | LOCAL_SRC_FILES_arm := $(LOCAL_MODULE) |
| 9 | LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR) |
| 10 | LOCAL_MULTILIB := 32 |
| 11 | include $(BUILD_PREBUILT) |
| 12 | |
| 13 | include $(CLEAR_VARS) |
| 14 | LOCAL_MODULE := libGLES_mali.so |
| 15 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES |
| 16 | LOCAL_STRIP_MODULE := false |
| 17 | LOCAL_SRC_FILES_arm := lib/egl/$(LOCAL_MODULE) |
| 18 | LOCAL_SRC_FILES_arm64 := lib64/egl/$(LOCAL_MODULE) |
| 19 | LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/egl/ |
| 20 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/egl/ |
| 21 | LOCAL_MULTILIB := both |
Logan Chien | 35a7a37 | 2019-02-14 14:22:15 +0800 | [diff] [blame] | 22 | 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] | 23 | include $(BUILD_PREBUILT) |
| 24 | |
| 25 | include $(CLEAR_VARS) |
John Stultz | a6764b2 | 2018-08-07 17:43:39 -0700 | [diff] [blame] | 26 | LOCAL_MODULE := libbccArm.so |
| 27 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES |
| 28 | LOCAL_STRIP_MODULE := false |
| 29 | LOCAL_SRC_FILES_arm64 := lib64/$(LOCAL_MODULE) |
| 30 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/ |
| 31 | LOCAL_MULTILIB := 64 |
Logan Chien | 35a7a37 | 2019-02-14 14:22:15 +0800 | [diff] [blame] | 32 | # Bypass prebuilt ELF check because libLLVM is not a module (it is copied by |
| 33 | # PRODUCT_COPY_FILES instead). |
| 34 | LOCAL_CHECK_ELF_FILES := false |
John Stultz | a6764b2 | 2018-08-07 17:43:39 -0700 | [diff] [blame] | 35 | include $(BUILD_PREBUILT) |
| 36 | |
| 37 | include $(CLEAR_VARS) |
| 38 | LOCAL_MODULE := libRSDriverArm.so |
| 39 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES |
| 40 | LOCAL_STRIP_MODULE := false |
| 41 | LOCAL_SRC_FILES_arm := lib/$(LOCAL_MODULE) |
| 42 | LOCAL_SRC_FILES_arm64 := lib64/$(LOCAL_MODULE) |
| 43 | LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/ |
| 44 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/ |
| 45 | LOCAL_MULTILIB := both |
Logan Chien | 35a7a37 | 2019-02-14 14:22:15 +0800 | [diff] [blame] | 46 | 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] | 47 | include $(BUILD_PREBUILT) |
| 48 | |
| 49 | include $(CLEAR_VARS) |
| 50 | LOCAL_MODULE := libmalicore.bc |
| 51 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES |
| 52 | LOCAL_STRIP_MODULE := false |
| 53 | LOCAL_SRC_FILES_arm := lib/$(LOCAL_MODULE) |
| 54 | LOCAL_SRC_FILES_arm64 := lib64/$(LOCAL_MODULE) |
| 55 | LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/ |
| 56 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/ |
| 57 | LOCAL_MULTILIB := both |
| 58 | include $(BUILD_PREBUILT) |
| 59 | |
| 60 | include $(CLEAR_VARS) |
John Stultz | 7923040 | 2018-03-28 12:03:20 -0700 | [diff] [blame] | 61 | LOCAL_MODULE := vulkan.hikey960.so |
| 62 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES |
| 63 | LOCAL_STRIP_MODULE := false |
| 64 | LOCAL_SRC_FILES_arm := lib/hw/$(LOCAL_MODULE) |
| 65 | LOCAL_SRC_FILES_arm64 := lib64/hw/$(LOCAL_MODULE) |
Jesse Hall | b381cb4 | 2018-04-06 16:42:38 -0700 | [diff] [blame] | 66 | LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/hw |
| 67 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/hw |
John Stultz | 7923040 | 2018-03-28 12:03:20 -0700 | [diff] [blame] | 68 | LOCAL_MULTILIB := both |
Logan Chien | 35a7a37 | 2019-02-14 14:22:15 +0800 | [diff] [blame] | 69 | LOCAL_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". |
| 72 | LOCAL_CHECK_ELF_FILES := false |
John Stultz | 7923040 | 2018-03-28 12:03:20 -0700 | [diff] [blame] | 73 | include $(BUILD_PREBUILT) |
| 74 | |
| 75 | endif |
| 76 | |
| 77 | |