1*ec779b8eSAndroid Build Coastguard Worker// Copyright (C) 2016 The Android Open Source Project 2*ec779b8eSAndroid Build Coastguard Worker// 3*ec779b8eSAndroid Build Coastguard Worker// Licensed under the Apache License, Version 2.0 (the "License"); 4*ec779b8eSAndroid Build Coastguard Worker// you may not use this file except in compliance with the License. 5*ec779b8eSAndroid Build Coastguard Worker// You may obtain a copy of the License at 6*ec779b8eSAndroid Build Coastguard Worker// 7*ec779b8eSAndroid Build Coastguard Worker// http://www.apache.org/licenses/LICENSE-2.0 8*ec779b8eSAndroid Build Coastguard Worker// 9*ec779b8eSAndroid Build Coastguard Worker// Unless required by applicable law or agreed to in writing, software 10*ec779b8eSAndroid Build Coastguard Worker// distributed under the License is distributed on an "AS IS" BASIS, 11*ec779b8eSAndroid Build Coastguard Worker// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12*ec779b8eSAndroid Build Coastguard Worker// See the License for the specific language governing permissions and 13*ec779b8eSAndroid Build Coastguard Worker// limitations under the License. 14*ec779b8eSAndroid Build Coastguard Worker 15*ec779b8eSAndroid Build Coastguard Workerpackage { 16*ec779b8eSAndroid Build Coastguard Worker // See: http://go/android-license-faq 17*ec779b8eSAndroid Build Coastguard Worker // A large-scale-change added 'default_applicable_licenses' to import 18*ec779b8eSAndroid Build Coastguard Worker // all of the 'license_kinds' from "frameworks_av_license" 19*ec779b8eSAndroid Build Coastguard Worker // to get the below license kinds: 20*ec779b8eSAndroid Build Coastguard Worker // SPDX-license-identifier-Apache-2.0 21*ec779b8eSAndroid Build Coastguard Worker default_applicable_licenses: ["frameworks_av_license"], 22*ec779b8eSAndroid Build Coastguard Worker} 23*ec779b8eSAndroid Build Coastguard Worker 24*ec779b8eSAndroid Build Coastguard Workerndk_headers { 25*ec779b8eSAndroid Build Coastguard Worker name: "libAAudio_headers", 26*ec779b8eSAndroid Build Coastguard Worker from: "include", 27*ec779b8eSAndroid Build Coastguard Worker to: "", 28*ec779b8eSAndroid Build Coastguard Worker // omit AAudioTesting.h; supplied separately to those who need it 29*ec779b8eSAndroid Build Coastguard Worker srcs: ["include/aaudio/AAudio.h"], 30*ec779b8eSAndroid Build Coastguard Worker license: "include/aaudio/NOTICE", 31*ec779b8eSAndroid Build Coastguard Worker} 32*ec779b8eSAndroid Build Coastguard Worker 33*ec779b8eSAndroid Build Coastguard Workerndk_library { 34*ec779b8eSAndroid Build Coastguard Worker name: "libaaudio", 35*ec779b8eSAndroid Build Coastguard Worker // deliberately includes symbols from AAudioTesting.h 36*ec779b8eSAndroid Build Coastguard Worker symbol_file: "src/libaaudio.map.txt", 37*ec779b8eSAndroid Build Coastguard Worker first_version: "26", 38*ec779b8eSAndroid Build Coastguard Worker unversioned_until: "current", 39*ec779b8eSAndroid Build Coastguard Worker} 40*ec779b8eSAndroid Build Coastguard Worker 41*ec779b8eSAndroid Build Coastguard Workercc_library_headers { 42*ec779b8eSAndroid Build Coastguard Worker name: "libaaudio_headers", 43*ec779b8eSAndroid Build Coastguard Worker export_include_dirs: ["include"], 44*ec779b8eSAndroid Build Coastguard Worker export_shared_lib_headers: ["aaudio-aidl-cpp"], 45*ec779b8eSAndroid Build Coastguard Worker shared_libs: ["aaudio-aidl-cpp"], 46*ec779b8eSAndroid Build Coastguard Worker} 47