blob: 4ea05a7e81f7cd06f4d93b4222c137d9f4debaa3 [file] [log] [blame]
John Stultz79230402018-03-28 12:03:20 -07001ifneq ($(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
Logan Chien35a7a372019-02-14 14:22:15 +080022LOCAL_SHARED_LIBRARIES := android.hardware.graphics.common@1.0 libz libnativewindow libc++ liblog libm libc libdl
John Stultz79230402018-03-28 12:03:20 -070023include $(BUILD_PREBUILT)
24
25include $(CLEAR_VARS)
John Stultza6764b22018-08-07 17:43:39 -070026LOCAL_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
Logan Chien35a7a372019-02-14 14:22:15 +080032# Bypass prebuilt ELF check because libLLVM is not a module (it is copied by
33# PRODUCT_COPY_FILES instead).
34LOCAL_CHECK_ELF_FILES := false
John Stultza6764b22018-08-07 17:43:39 -070035include $(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
Logan Chien35a7a372019-02-14 14:22:15 +080046LOCAL_SHARED_LIBRARIES := libRS_internal libRSCpuRef liblog libnativewindow libbcinfo libdl libc++ libc libm
John Stultza6764b22018-08-07 17:43:39 -070047include $(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)
John Stultz79230402018-03-28 12:03:20 -070061LOCAL_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)
Jesse Hallb381cb42018-04-06 16:42:38 -070066LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib/hw
67LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64/hw
John Stultz79230402018-03-28 12:03:20 -070068LOCAL_MULTILIB := both
Logan Chien35a7a372019-02-14 14:22:15 +080069LOCAL_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
John Stultz79230402018-03-28 12:03:20 -070073include $(BUILD_PREBUILT)
74
75endif
76
77