blob: ad875ed5faaae7de44f632d6e5d965dc1988634f [file] [log] [blame]
Amit Pundir697d5662023-10-19 13:09:12 +05301// ANDROIDMK TRANSLATION ERROR: unsupported conditional
2// ifneq ($(filter hikey960, $(TARGET_DEVICE)),)
3
4// *** THIS PACKAGE HAS SPECIAL LICENSING CONDITIONS. PLEASE
5// CONSULT THE OWNERS BEFORE DEPENDING ON IT IN YOUR PROJECT. ***
6soong_namespace {}
7
8package {
9 default_applicable_licenses: ["mali_bifrost_license"],
10}
11
12license_kind {
13 name: "mali_bifrost",
14 conditions: ["proprietary"],
15}
16
17license {
18 name: "mali_bifrost_license",
19 visibility: [":__subpackages__"],
20 license_kinds: ["mali_bifrost"],
21 license_text: [
22 "END_USER_LICENCE_AGREEMENT.txt",
23 ],
24}
25
26cc_prebuilt_library_shared {
27 name: "libGLES_mali",
28 strip: {
29 none: true,
30 },
31 arch: {
32 arm: {
33 srcs: ["lib/egl/libGLES_mali.so"],
34 },
35 arm64: {
36 srcs: ["lib64/egl/libGLES_mali.so"],
37 },
38 },
39 vendor: true,
40 relative_install_path: "egl",
41
42 compile_multilib: "both",
43 shared_libs: [
44 "android.hardware.graphics.common@1.0",
45 "libz",
46 "libnativewindow",
47 "libc++",
48 "liblog",
49 "libm",
50 "libc",
51 "libdl",
52 ],
53}
54
55cc_prebuilt_library_shared {
56 name: "libbccArm",
57 strip: {
58 none: true,
59 },
60 arch: {
61 arm64: {
62 srcs: ["lib64/libbccArm.so"],
63 },
64 },
65 vendor: true,
66 compile_multilib: "64",
67 // Bypass prebuilt ELF check because libLLVM is not a module (it is copied by
68 // PRODUCT_COPY_FILES instead).
69 check_elf_files: false,
70}
71
72cc_prebuilt_library_shared {
73 name: "libRSDriverArm",
74 strip: {
75 none: true,
76 },
77 arch: {
78 arm: {
79 srcs: ["lib/libRSDriverArm.so"],
80 },
81 arm64: {
82 srcs: ["lib64/libRSDriverArm.so"],
83 },
84 },
85 vendor: true,
86 compile_multilib: "both",
87 shared_libs: [
88 "libRS_internal",
89 "libRSCpuRef",
90 "liblog",
91 "libnativewindow",
92 "libbcinfo",
93 "libdl",
94 "libc++",
95 "libc",
96 "libm",
97 ],
98}
99
100cc_prebuilt_library_shared {
101 name: "libmalicore.bc",
102
103 strip: {
104 none: true,
105 },
106 arch: {
107 arm: {
108 srcs: ["lib/libmalicore.bc"],
109 },
110 arm64: {
111 srcs: ["lib64/libmalicore.bc"],
112 },
113 },
114 vendor: true,
115 compile_multilib: "both",
116}
117
118cc_prebuilt_library_shared {
119 name: "vulkan.hikey960",
120
121 strip: {
122 none: true,
123 },
124 arch: {
125 arm: {
126 srcs: ["lib/hw/vulkan.hikey960.so"],
127 },
128 arm64: {
129 srcs: ["lib64/hw/vulkan.hikey960.so"],
130 },
131 },
132 vendor: true,
133 relative_install_path: "hw",
134 compile_multilib: "both",
135 shared_libs: [
136 "android.hardware.graphics.common@1.0",
137 "libz",
138 "libnativewindow",
139 "libc++",
140 "liblog",
141 "libm",
142 "libc",
143 "libdl",
144 ],
145 // Bypass prebuilt ELF check because the DT_SONAME "libGLES_mali.so" is
146 // different from LOCAL_MODULE "vulkan.hikey960.so".
147 check_elf_files: false,
148}
149
150// ANDROIDMK TRANSLATION ERROR: endif from unsupported conditional
151// endif