1// Copyright (C) 2020 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15cc_prebuilt_library_shared {
16    name: "gralloc.poplar",
17    srcs: ["gralloc.poplar.so"],
18    shared_libs: [
19        "libhardware",
20        "liblog",
21        "libcutils",
22        "libGLESv1_CM",
23        "libion",
24        "libion_ext",
25        "libsync",
26        "libutils",
27        "libc++",
28        "libc",
29        "libm",
30        "libdl",
31    ],
32    compile_multilib: "32",
33    relative_install_path: "hw",
34    vendor: true,
35    strip: {
36        none: true,
37    },
38    allow_undefined_symbols: true,
39}
40
41cc_prebuilt_binary {
42    name: "hiavplayer",
43    srcs: ["hiavplayer"],
44    shared_libs: [
45        "libbinder",
46        "libutils",
47        "liblog",
48        "libhiavplayerservice",
49        "libc++",
50        "libc",
51        "libm",
52        "libdl",
53    ],
54    compile_multilib: "32",
55    vendor: true,
56    strip: {
57        none: true,
58    },
59}
60
61cc_prebuilt_library_shared {
62    name: "hwcomposer.poplar",
63    srcs: ["hwcomposer.poplar.so"],
64    shared_libs: [
65        "liblog",
66        "libEGL",
67        "libhardware",
68        "libhi_gfx2d",
69        "libhi_msp",
70        "libutils",
71        "libcutils",
72        "libGLESv2",
73        "libui",
74        "android.hardware.graphics.allocator@2.0",
75        "libsync",
76        "libc++",
77        "libc",
78        "libm",
79        "libdl",
80    ],
81    compile_multilib: "32",
82    relative_install_path: "hw",
83    vendor: true,
84    strip: {
85        none: true,
86    },
87}
88
89cc_prebuilt_library_shared {
90    name: "libGLES_mali",
91    srcs: ["libGLES_mali.so"],
92    shared_libs: [
93        "android.hardware.graphics.common@1.0",
94        "liblog",
95        "libz",
96        "libc++",
97        "libm",
98        "libc",
99        "libdl",
100    ],
101    compile_multilib: "32",
102    relative_install_path: "egl",
103    vendor: true,
104    strip: {
105        none: true,
106    },
107}
108
109cc_prebuilt_library_shared {
110    name: "libhiavplayer_adp",
111    srcs: ["libhiavplayer_adp.so"],
112    shared_libs: [
113        "libhiavplayer",
114        "libhiavplayerservice",
115        "libbinder",
116        "libutils",
117        "liblog",
118        "libc++",
119        "libc",
120        "libm",
121        "libdl",
122    ],
123    compile_multilib: "32",
124    vendor: true,
125    strip: {
126        none: true,
127    },
128}
129
130cc_prebuilt_library_shared {
131    name: "libhiavplayerservice",
132    srcs: ["libhiavplayerservice.so"],
133    shared_libs: [
134        "libbinder",
135        "libutils",
136        "liblog",
137        "libhiavplayer",
138        "libc++",
139        "libc",
140        "libm",
141        "libdl",
142    ],
143    compile_multilib: "32",
144    vendor: true,
145    strip: {
146        none: true,
147    },
148}
149
150cc_prebuilt_library_shared {
151    name: "libhiavplayer",
152    srcs: ["libhiavplayer.so"],
153    shared_libs: [
154        "libbinder",
155        "libutils",
156        "libhi_msp",
157        "libhi_common",
158        "liblog",
159        "libc++",
160        "libc",
161        "libm",
162        "libdl",
163    ],
164    compile_multilib: "32",
165    vendor: true,
166    strip: {
167        none: true,
168    },
169}
170
171cc_prebuilt_library_shared {
172    name: "libhi_common",
173    srcs: ["libhi_common.so"],
174    shared_libs: [
175        "libcutils",
176        "libutils",
177        "liblog",
178        "libc++",
179        "libc",
180        "libm",
181        "libdl",
182    ],
183    compile_multilib: "32",
184    vendor: true,
185    strip: {
186        none: true,
187    },
188}
189
190cc_prebuilt_library_shared {
191    name: "libhi_gfx2d",
192    srcs: ["libhi_gfx2d.so"],
193    shared_libs: [
194        "libc++",
195        "libc",
196        "libm",
197        "libdl",
198    ],
199    compile_multilib: "32",
200    vendor: true,
201    strip: {
202        none: true,
203    },
204}
205
206cc_prebuilt_library_shared {
207    name: "libhi_msp",
208    srcs: ["libhi_msp.so"],
209    shared_libs: [
210        "libhi_common",
211        "libcutils",
212        "libutils",
213        "liblog",
214        "libc++",
215        "libc",
216        "libm",
217        "libdl",
218    ],
219    compile_multilib: "32",
220    vendor: true,
221    strip: {
222        none: true,
223    },
224}
225
226cc_prebuilt_library_shared {
227    name: "libhi_vfmw",
228    srcs: ["libhi_vfmw.so"],
229    shared_libs: [
230        "libutils",
231        "liblog",
232        "libhi_common",
233        "libhi_msp",
234        "libcutils",
235        "libc++",
236        "libc",
237        "libm",
238        "libdl",
239    ],
240    compile_multilib: "32",
241    vendor: true,
242    strip: {
243        none: true,
244    },
245}
246
247cc_prebuilt_library_shared {
248    name: "libion_ext",
249    srcs: ["libion_ext.so"],
250    shared_libs: [
251        "liblog",
252        "libion",
253        "libc++",
254        "libc",
255        "libm",
256        "libdl",
257    ],
258    compile_multilib: "32",
259    vendor: true,
260    strip: {
261        none: true,
262    },
263}
264
265cc_prebuilt_library_shared {
266    name: "libOMX_Core",
267    srcs: ["libOMX_Core.so"],
268    shared_libs: [
269        "liblog",
270        "libc++",
271        "libc",
272        "libm",
273        "libdl",
274    ],
275    compile_multilib: "32",
276    vendor: true,
277    strip: {
278        none: true,
279    },
280}
281
282cc_prebuilt_library_shared {
283    name: "libOMX.hisi.video.decoder",
284    srcs: ["libOMX.hisi.video.decoder.so"],
285    shared_libs: [
286        "libutils",
287        "liblog",
288        "libhi_common",
289        "libhi_msp",
290        "libcutils",
291        "libhiavplayer_adp",
292        "libc++",
293        "libc",
294        "libm",
295        "libdl",
296    ],
297    compile_multilib: "32",
298    vendor: true,
299    strip: {
300        none: true,
301    },
302}
303
304cc_prebuilt_library_shared {
305    name: "libstagefrighthw",
306    srcs: ["libstagefrighthw.so"],
307    shared_libs: [
308        "libbinder",
309        "libutils",
310        "libcutils",
311        "libui",
312        "libdl",
313        "liblog",
314        "libc++",
315        "libc",
316        "libm",
317    ],
318    compile_multilib: "32",
319    vendor: true,
320    strip: {
321        none: true,
322    },
323}
324
325cc_prebuilt_library_shared {
326    name: "overlay.poplar",
327    srcs: ["overlay.poplar.so"],
328    shared_libs: [
329        "libEGL",
330        "liblog",
331        "libhardware",
332        "libutils",
333        "libcutils",
334        "libsync",
335        "libhidlbase",
336        "libhi_msp",
337        "libui",
338        "libc++",
339        "libc",
340        "libm",
341        "libdl",
342    ],
343    compile_multilib: "32",
344    relative_install_path: "hw",
345    vendor: true,
346    strip: {
347        none: true,
348    },
349}
350