blob: add28e014a1cea7eb5fa50b4397ebdef4554da64 [file] [log] [blame]
Phil Burke1ce4912016-11-21 10:40:25 -08001// 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
Bob Badour56786ac2021-02-25 15:24:36 -080015package {
16 // See: http://go/android-license-faq
17 // A large-scale-change added 'default_applicable_licenses' to import
18 // all of the 'license_kinds' from "frameworks_av_license"
19 // to get the below license kinds:
20 // SPDX-license-identifier-Apache-2.0
21 default_applicable_licenses: ["frameworks_av_license"],
22}
23
Phil Burke1ce4912016-11-21 10:40:25 -080024ndk_headers {
Phil Burk5ed503c2017-02-01 09:38:15 -080025 name: "libAAudio_headers",
Phil Burke1ce4912016-11-21 10:40:25 -080026 from: "include",
27 to: "",
Glenn Kasten010d9bf2017-06-15 13:34:18 -070028 // omit AAudioTesting.h; supplied separately to those who need it
29 srcs: ["include/aaudio/AAudio.h"],
Phil Burk5ed503c2017-02-01 09:38:15 -080030 license: "include/aaudio/NOTICE",
Phil Burke1ce4912016-11-21 10:40:25 -080031}
32
33ndk_library {
Steven Moreland5eec8af2017-04-10 12:59:38 -070034 name: "libaaudio",
Glenn Kasten010d9bf2017-06-15 13:34:18 -070035 // deliberately includes symbols from AAudioTesting.h
dimitry8e8a9682019-06-04 15:14:02 +020036 symbol_file: "src/libaaudio.map.txt",
Phil Burke1ce4912016-11-21 10:40:25 -080037 first_version: "26",
Dan Albertef01ee42017-01-06 11:26:27 -080038 unversioned_until: "current",
Phil Burke1ce4912016-11-21 10:40:25 -080039}
Dan Willemsen29ca1b32017-10-23 17:15:03 -070040
41cc_library_headers {
42 name: "libaaudio_headers",
43 export_include_dirs: ["include"],
Colin Cross4c67ca92020-12-10 13:24:50 -080044 export_shared_lib_headers: ["aaudio-aidl-cpp"],
45 shared_libs: ["aaudio-aidl-cpp"],
Dan Willemsen29ca1b32017-10-23 17:15:03 -070046}