• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Copyright 2018 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
15
16// Core dependencies
17
18package {
19    default_applicable_licenses: ["device_ti_beagle_x15_gpu_license"],
20}
21
22// See: http://go/android-license-faq
23license {
24    name: "device_ti_beagle_x15_gpu_license",
25    visibility: [":__subpackages__"],
26    license_kinds: [
27        "SPDX-license-identifier-BSD",
28        "SPDX-license-identifier-MIT",
29    ],
30    license_text: [
31        "NOTICE",
32    ],
33}
34
35cc_prebuilt_library_shared {
36    name: "libIMGegl",
37    srcs: ["libIMGegl.so"],
38    shared_libs: ["libc", "libhardware", "libsrv_um"],
39    required: ["libpvrANDROID_WSEGL"],
40    strip: { none: true, },
41    vendor: true,
42    allow_undefined_symbols: true,  // LIBC_PRIVATE
43}
44
45cc_prebuilt_library_shared {
46    name: "libglslcompiler",
47    srcs: ["libglslcompiler.so"],
48    shared_libs: ["libc", "libm", "libsrv_um", "libusc"],
49    strip: { none: true, },
50    vendor: true,
51    allow_undefined_symbols: true,  // LIBC_PRIVATE
52}
53
54cc_prebuilt_library_shared {
55    name: "libpvr2d",
56    srcs: ["libpvr2d.so"],
57    shared_libs: ["libc", "libsrv_um"],
58    strip: { none: true, },
59    vendor: true,
60    allow_undefined_symbols: true,  // LIBC_PRIVATE
61}
62
63cc_prebuilt_library_shared {
64    name: "libpvrANDROID_WSEGL",
65    srcs: ["libpvrANDROID_WSEGL.so"],
66    shared_libs: ["libc", "libcutils", "libhardware", "libsrv_um", "libsync"],
67    strip: { none: true, },
68    vendor: true,
69    allow_undefined_symbols: true,  // LIBC_PRIVATE
70}
71
72cc_prebuilt_library_shared {
73    name: "libsrv_init",
74    srcs: ["libsrv_init.so"],
75    shared_libs: ["libc", "libsrv_um"],
76    strip: { none: true, },
77    vendor: true,
78    allow_undefined_symbols: true,  // LIBC_PRIVATE
79}
80
81cc_prebuilt_library_shared {
82    name: "libsrv_um",
83    srcs: ["libsrv_um.so"],
84    shared_libs: ["libc", "libdl", "libhardware", "liblog"],
85    strip: { none: true, },
86    vendor: true,
87    allow_undefined_symbols: true,  // LIBC_PRIVATE
88}
89
90cc_prebuilt_library_shared {
91    name: "libusc",
92    srcs: ["libusc.so"],
93    shared_libs: ["libc"],
94    strip: { none: true, },
95    vendor: true,
96    allow_undefined_symbols: true,  // LIBC_PRIVATE
97}
98
99// Pulled in as-needed
100
101cc_prebuilt_library_shared {
102    name: "gralloc.am57x",
103    srcs: ["gralloc.am57x.so"],
104    shared_libs: ["libc", "libcutils", "libdl", "libdrm_omap", "liblog", "libpvr2d", "libsrv_um", "libsync"],
105    relative_install_path: "hw",
106    strip: { none: true, },
107    vendor: true,
108    allow_undefined_symbols: true,  // LIBC_PRIVATE
109}
110
111cc_prebuilt_library_shared {
112    name: "libEGL_POWERVR_SGX544_116",
113    srcs: ["libEGL_POWERVR_SGX544_116.so"],
114    shared_libs: ["libIMGegl", "libc"],
115    relative_install_path: "egl",
116    strip: { none: true, },
117    vendor: true,
118    allow_undefined_symbols: true,  // LIBC_PRIVATE
119}
120
121cc_prebuilt_library_shared {
122    name: "libGLESv1_CM_POWERVR_SGX544_116",
123    srcs: ["libGLESv1_CM_POWERVR_SGX544_116.so"],
124    shared_libs: ["libIMGegl", "libc", "libm", "libsrv_um", "libusc"],
125    relative_install_path: "egl",
126    strip: { none: true, },
127    vendor: true,
128    allow_undefined_symbols: true,  // LIBC_PRIVATE
129}
130
131cc_prebuilt_library_shared {
132    name: "libGLESv2_POWERVR_SGX544_116",
133    srcs: ["libGLESv2_POWERVR_SGX544_116.so"],
134    shared_libs: ["libIMGegl", "libc", "libm", "libsrv_um"],
135    required: ["libglslcompiler"],
136    relative_install_path: "egl",
137    strip: { none: true, },
138    vendor: true,
139    allow_undefined_symbols: true,  // LIBC_PRIVATE
140}
141
142cc_prebuilt_library_shared {
143    name: "libPVRScopeServices",
144    srcs: ["libPVRScopeServices.so"],
145    shared_libs: ["libc++", "libc", "libsrv_um"],
146    strip: { none: true, },
147    vendor: true,
148    allow_undefined_symbols: true,  // LIBC_PRIVATE, _Znaj, _Znwj
149}
150
151cc_prebuilt_library_shared {
152    name: "memtrack.am57x",
153    srcs: ["memtrack.am57x.so"],
154    shared_libs: ["libc", "libhardware", "libm", "libsrv_um"],
155    relative_install_path: "hw",
156    strip: { none: true, },
157    vendor: true,
158    allow_undefined_symbols: true,  // LIBC_PRIVATE
159}
160
161cc_prebuilt_binary {
162    name: "pvrsrvctl",
163    srcs: ["pvrsrvctl"],
164    shared_libs: ["libc", "libsrv_init", "libsrv_um"],
165    strip: { none: true, },
166    vendor: true,
167    allow_undefined_symbols: true,  // LIBC_PRIVATE
168}
169