Phil Burk | e1ce491 | 2016-11-21 10:40:25 -0800 | [diff] [blame] | 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 | |
| 15 | ndk_headers { |
Phil Burk | 5ed503c | 2017-02-01 09:38:15 -0800 | [diff] [blame] | 16 | name: "libAAudio_headers", |
Phil Burk | e1ce491 | 2016-11-21 10:40:25 -0800 | [diff] [blame] | 17 | from: "include", |
| 18 | to: "", |
Glenn Kasten | 010d9bf | 2017-06-15 13:34:18 -0700 | [diff] [blame] | 19 | // omit AAudioTesting.h; supplied separately to those who need it |
| 20 | srcs: ["include/aaudio/AAudio.h"], |
Phil Burk | 5ed503c | 2017-02-01 09:38:15 -0800 | [diff] [blame] | 21 | license: "include/aaudio/NOTICE", |
Phil Burk | e1ce491 | 2016-11-21 10:40:25 -0800 | [diff] [blame] | 22 | } |
| 23 | |
| 24 | ndk_library { |
Steven Moreland | 5eec8af | 2017-04-10 12:59:38 -0700 | [diff] [blame] | 25 | name: "libaaudio", |
Glenn Kasten | 010d9bf | 2017-06-15 13:34:18 -0700 | [diff] [blame] | 26 | // deliberately includes symbols from AAudioTesting.h |
dimitry | 8e8a968 | 2019-06-04 15:14:02 +0200 | [diff] [blame] | 27 | symbol_file: "src/libaaudio.map.txt", |
Phil Burk | e1ce491 | 2016-11-21 10:40:25 -0800 | [diff] [blame] | 28 | first_version: "26", |
Dan Albert | ef01ee4 | 2017-01-06 11:26:27 -0800 | [diff] [blame] | 29 | unversioned_until: "current", |
Phil Burk | e1ce491 | 2016-11-21 10:40:25 -0800 | [diff] [blame] | 30 | } |
Dan Willemsen | 29ca1b3 | 2017-10-23 17:15:03 -0700 | [diff] [blame] | 31 | |
| 32 | cc_library_headers { |
| 33 | name: "libaaudio_headers", |
| 34 | export_include_dirs: ["include"], |
Ytai Ben-Tsvi | 0412f73 | 2020-08-17 14:43:36 -0700 | [diff] [blame^] | 35 | export_header_lib_headers: ["aaudio-aidl-cpp"], |
| 36 | header_libs: ["aaudio-aidl-cpp"], |
Dan Willemsen | 29ca1b3 | 2017-10-23 17:15:03 -0700 | [diff] [blame] | 37 | } |