1// Copyright (C) 2015 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 15package { 16 // http://go/android-license-faq 17 // A large-scale-change added 'default_applicable_licenses' to import 18 // the below license kinds from "system_media_license": 19 // SPDX-license-identifier-Apache-2.0 20 default_applicable_licenses: ["system_media_license"], 21} 22 23cc_defaults { 24 name: "libalsautils_defaults", 25 vendor: true, 26 srcs: [ 27 "alsa_device_profile.c", 28 "alsa_device_proxy.c", 29 "alsa_logging.c", 30 "alsa_format.c", 31 ], 32 export_include_dirs: ["include"], 33 header_libs: [ 34 "libaudio_system_headers", 35 ], 36 export_header_lib_headers: [ 37 "libaudio_system_headers", 38 ], 39 shared_libs: [ 40 "liblog", 41 "libcutils", 42 "libaudioutils", 43 ], 44 cflags: [ 45 "-Werror", 46 "-Wall", 47 "-Wno-unused-parameter", 48 ], 49} 50 51cc_library_shared { 52 name: "libalsautils", 53 defaults: ["libalsautils_defaults"], 54 shared_libs: [ 55 "libtinyalsa", 56 ], 57} 58 59cc_library_shared { 60 name: "libalsautilsv2", 61 defaults: ["libalsautils_defaults"], 62 shared_libs: [ 63 "libtinyalsav2", 64 ], 65} 66