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