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 { 16 name: "libAAudio_headers", 17 from: "include", 18 to: "", 19 // omit AAudioTesting.h; supplied separately to those who need it 20 srcs: ["include/aaudio/AAudio.h"], 21 license: "include/aaudio/NOTICE", 22 } 23 24 ndk_library { 25 name: "libaaudio", 26 // deliberately includes symbols from AAudioTesting.h 27 symbol_file: "libaaudio.map.txt", 28 first_version: "26", 29 unversioned_until: "current", 30 } 31 32 cc_library_headers { 33 name: "libaaudio_headers", 34 export_include_dirs: ["include"], 35 version_script: "libaaudio.map.txt", 36 } 37 38