// Copyright 2018 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. // Core dependencies package { default_applicable_licenses: ["device_ti_beagle_x15_gpu_license"], } // Added automatically by a large-scale-change that took the approach of // 'apply every license found to every target'. While this makes sure we respect // every license restriction, it may not be entirely correct. // // e.g. GPL in an MIT project might only apply to the contrib/ directory. // // Please consider splitting the single license below into multiple licenses, // taking care not to lose any license_kind information, and overriding the // default license using the 'licenses: [...]' property on targets as needed. // // For unused files, consider creating a 'fileGroup' with "//visibility:private" // to attach the license to, and including a comment whether the files may be // used in the current project. // See: http://go/android-license-faq license { name: "device_ti_beagle_x15_gpu_license", visibility: [":__subpackages__"], license_kinds: [ "SPDX-license-identifier-BSD", "SPDX-license-identifier-MIT", ], license_text: [ "NOTICE", ], } cc_prebuilt_library_shared { name: "libIMGegl", srcs: ["libIMGegl.so"], shared_libs: ["libc", "libhardware", "libsrv_um"], required: ["libpvrANDROID_WSEGL"], strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE } cc_prebuilt_library_shared { name: "libglslcompiler", srcs: ["libglslcompiler.so"], shared_libs: ["libc", "libm", "libsrv_um", "libusc"], strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE } cc_prebuilt_library_shared { name: "libpvr2d", srcs: ["libpvr2d.so"], shared_libs: ["libc", "libsrv_um"], strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE } cc_prebuilt_library_shared { name: "libpvrANDROID_WSEGL", srcs: ["libpvrANDROID_WSEGL.so"], shared_libs: ["libc", "libcutils", "libhardware", "libsrv_um", "libsync"], strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE } cc_prebuilt_library_shared { name: "libsrv_init", srcs: ["libsrv_init.so"], shared_libs: ["libc", "libsrv_um"], strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE } cc_prebuilt_library_shared { name: "libsrv_um", srcs: ["libsrv_um.so"], shared_libs: ["libc", "libdl", "libhardware", "liblog"], strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE } cc_prebuilt_library_shared { name: "libusc", srcs: ["libusc.so"], shared_libs: ["libc"], strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE } // Pulled in as-needed cc_prebuilt_library_shared { name: "gralloc.am57x", srcs: ["gralloc.am57x.so"], shared_libs: ["libc", "libcutils", "libdl", "libdrm_omap", "liblog", "libpvr2d", "libsrv_um", "libsync"], relative_install_path: "hw", strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE } cc_prebuilt_library_shared { name: "libEGL_POWERVR_SGX544_116", srcs: ["libEGL_POWERVR_SGX544_116.so"], shared_libs: ["libIMGegl", "libc"], relative_install_path: "egl", strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE } cc_prebuilt_library_shared { name: "libGLESv1_CM_POWERVR_SGX544_116", srcs: ["libGLESv1_CM_POWERVR_SGX544_116.so"], shared_libs: ["libIMGegl", "libc", "libm", "libsrv_um", "libusc"], relative_install_path: "egl", strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE } cc_prebuilt_library_shared { name: "libGLESv2_POWERVR_SGX544_116", srcs: ["libGLESv2_POWERVR_SGX544_116.so"], shared_libs: ["libIMGegl", "libc", "libm", "libsrv_um"], required: ["libglslcompiler"], relative_install_path: "egl", strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE } cc_prebuilt_library_shared { name: "libPVRScopeServices", srcs: ["libPVRScopeServices.so"], shared_libs: ["libc++", "libc", "libsrv_um"], strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE, _Znaj, _Znwj } cc_prebuilt_library_shared { name: "memtrack.am57x", srcs: ["memtrack.am57x.so"], shared_libs: ["libc", "libhardware", "libm", "libsrv_um"], relative_install_path: "hw", strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE } cc_prebuilt_binary { name: "pvrsrvctl", srcs: ["pvrsrvctl"], shared_libs: ["libc", "libsrv_init", "libsrv_um"], strip: { none: true, }, vendor: true, allow_undefined_symbols: true, // LIBC_PRIVATE }