• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    export_header_libs: [
47        "libOpenMAXAL_headers",
48    ],
49}
50
51ndk_headers {
52    name: "libOpenSLES_ndk_headers",
53    from: "include",
54    to: "",
55    srcs: ["include/SLES/**/*.h"], // All headers in all subdirs.
56    license: "include/SLES/NOTICE",
57}
58
59ndk_library {
60    name: "libOpenSLES",
61    symbol_file: "src/libOpenSLES.map.txt",
62    first_version: "9",
63    unversioned_until: "current",
64    export_header_libs: [
65        "libOpenSLES_ndk_headers",
66    ],
67}
68
69cc_library_headers {
70    name: "libOpenSLES_headers",
71    export_include_dirs: ["include"],
72}
73
74subdirs = [
75    "src",
76    "tests",
77]
78