blob: e81ab06918bcbb9b456d490ec2c9c0bad24355ab [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
15ndk_headers {
Phil Burk5ed503c2017-02-01 09:38:15 -080016 name: "libAAudio_headers",
Phil Burke1ce4912016-11-21 10:40:25 -080017 from: "include",
18 to: "",
Glenn Kasten010d9bf2017-06-15 13:34:18 -070019 // omit AAudioTesting.h; supplied separately to those who need it
20 srcs: ["include/aaudio/AAudio.h"],
Phil Burk5ed503c2017-02-01 09:38:15 -080021 license: "include/aaudio/NOTICE",
Phil Burke1ce4912016-11-21 10:40:25 -080022}
23
24ndk_library {
Steven Moreland5eec8af2017-04-10 12:59:38 -070025 name: "libaaudio",
Glenn Kasten010d9bf2017-06-15 13:34:18 -070026 // deliberately includes symbols from AAudioTesting.h
dimitry8e8a9682019-06-04 15:14:02 +020027 symbol_file: "src/libaaudio.map.txt",
Phil Burke1ce4912016-11-21 10:40:25 -080028 first_version: "26",
Dan Albertef01ee42017-01-06 11:26:27 -080029 unversioned_until: "current",
Phil Burke1ce4912016-11-21 10:40:25 -080030}
Dan Willemsen29ca1b32017-10-23 17:15:03 -070031
32cc_library_headers {
33 name: "libaaudio_headers",
34 export_include_dirs: ["include"],
Ytai Ben-Tsvi0412f732020-08-17 14:43:36 -070035 export_header_lib_headers: ["aaudio-aidl-cpp"],
36 header_libs: ["aaudio-aidl-cpp"],
Dan Willemsen29ca1b32017-10-23 17:15:03 -070037}