// // Copyright (C) 2011 The Android Open Source Project // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // See the License for the specific language governing permissions and // limitations under the License. package { default_applicable_licenses: ["device_generic_goldfish_audio_license"], } // Added automatically by a large-scale-change // See: http://go/android-license-faq license { name: "device_generic_goldfish_audio_license", visibility: [":__subpackages__"], license_kinds: [ "SPDX-license-identifier-Apache-2.0", ], license_text: [ "NOTICE", ], } cc_library_shared { name: "android.hardware.audio.legacy@6.0-impl.ranchu", defaults: ["android.hardware.audio@6.0-impl_default"], relative_install_path: "hw", vendor: true, } cc_library_shared { name: "android.hardware.audio@6.0-impl.ranchu", vendor: true, vintf_fragments: ["android.hardware.audio@6.0-impl.ranchu.xml"], relative_install_path: "hw", defaults: ["hidl_defaults"], srcs: [ "entry.cpp", "device_factory.cpp", "primary_device.cpp", "stream_common.cpp", "stream_in.cpp", "stream_out.cpp", "io_thread.cpp", "device_port_source.cpp", "device_port_sink.cpp", "talsa.cpp", "ring_buffer.cpp", "audio_ops.cpp", "util.cpp", ], shared_libs: [ "android.hardware.audio@6.0", "android.hardware.audio.common@6.0", "android.hardware.audio.common@6.0-util", "libaudioutils", "libbase", "libcutils", "libhidlbase", "liblog", "libtinyalsa", "libutils", "libfmq", "libprocessgroup", ], header_libs: [ "libaudio_system_headers", ], cflags: [ "-DLOG_TAG=\"android.hardware.audio@6.0-impl.ranchu\"", ], // a.h.audio@6.0-impl.ranchu (see above) loads a.h.audio.legacy@6.0-impl // which loads audio.r_submix.default which provides the r_submix device, // see b/161485545. Should be retired once a better r_submix is available. required: [ "android.hardware.audio.legacy@6.0-impl.ranchu", "audio.r_submix.default", ], }