2017-04-14 10:19:25 +02:00
|
|
|
// Copyright 2011 The Android Open Source Project
|
|
|
|
|
|
|
|
//AUDIO_POLICY_TEST := true
|
|
|
|
//ENABLE_AUDIO_DUMP := true
|
|
|
|
|
2021-02-13 01:32:13 +01:00
|
|
|
package {
|
|
|
|
// See: http://go/android-license-faq
|
|
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
|
|
// all of the 'license_kinds' from "hardware_libhardware_legacy_license"
|
|
|
|
// to get the below license kinds:
|
|
|
|
// SPDX-license-identifier-Apache-2.0
|
|
|
|
default_applicable_licenses: ["hardware_libhardware_legacy_license"],
|
|
|
|
}
|
|
|
|
|
2017-04-14 10:19:25 +02:00
|
|
|
cc_library_static {
|
|
|
|
|
|
|
|
srcs: [
|
|
|
|
"AudioHardwareInterface.cpp",
|
|
|
|
"audio_hw_hal.cpp",
|
|
|
|
],
|
|
|
|
|
|
|
|
name: "libaudiohw_legacy",
|
|
|
|
static_libs: ["libmedia_helper"],
|
|
|
|
cflags: [
|
2017-10-03 22:28:32 +02:00
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
2017-04-14 10:19:25 +02:00
|
|
|
"-Wno-unused-parameter",
|
2017-10-03 22:28:32 +02:00
|
|
|
"-Wno-unused-variable",
|
2017-04-14 10:19:25 +02:00
|
|
|
"-Wno-gnu-designator",
|
|
|
|
],
|
|
|
|
|
|
|
|
header_libs: [
|
2019-10-04 18:31:08 +02:00
|
|
|
"libaudioclient_headers",
|
2017-04-14 10:19:25 +02:00
|
|
|
"libbase_headers",
|
|
|
|
"libhardware_legacy_headers",
|
|
|
|
],
|
|
|
|
export_header_lib_headers: ["libhardware_legacy_headers"],
|
|
|
|
}
|