xref: /aosp_15_r20/frameworks/wilhelm/Android.bp (revision bebae9c0e76121f8312ccb50385c080b3a0b023c)
1// Copyright (C) 2016 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
15package {
16    // See: http://go/android-license-faq
17    default_applicable_licenses: [
18        "Android-Apache-2.0",
19        "frameworks_wilhelm_license",
20    ],
21}
22
23license {
24    name: "frameworks_wilhelm_license",
25    visibility: [":__subpackages__"],
26    license_kinds: ["SPDX-license-identifier-MIT"],
27    license_text: [
28        "include/OMXAL/NOTICE",
29        "include/SLES/NOTICE",
30    ],
31}
32
33ndk_headers {
34    name: "libOpenMAXAL_headers",
35    from: "include",
36    to: "",
37    srcs: ["include/OMXAL/**/*.h"], // All headers in all subdirs.
38    license: "include/OMXAL/NOTICE",
39}
40
41ndk_library {
42    name: "libOpenMAXAL",
43    symbol_file: "src/libOpenMAXAL.map.txt",
44    first_version: "14",
45    unversioned_until: "current",
46}
47
48ndk_headers {
49    name: "libOpenSLES_ndk_headers",
50    from: "include",
51    to: "",
52    srcs: ["include/SLES/**/*.h"], // All headers in all subdirs.
53    license: "include/SLES/NOTICE",
54}
55
56ndk_library {
57    name: "libOpenSLES",
58    symbol_file: "src/libOpenSLES.map.txt",
59    first_version: "9",
60    unversioned_until: "current",
61}
62
63cc_library_headers {
64    name: "libOpenSLES_headers",
65    export_include_dirs: ["include"],
66}
67
68subdirs = [
69    "src",
70    "tests",
71]
72