audio: adding libspeechenhancer for T6 Pro

Bug: 318592138
Test: build pass
Change-Id: I84915e1af2f4e3fddeea467c931bef09a09ba7da
Signed-off-by: Carter Hsu <carterhsu@google.com>
This commit is contained in:
Carter Hsu 2023-12-21 16:26:48 +08:00
parent 1c04ca0cc5
commit b07c51b381
4 changed files with 46 additions and 0 deletions

View file

@ -0,0 +1,44 @@
// Copyright (C) 2023 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.
soong_namespace {
}
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
cc_prebuilt_library_shared {
name: "libspeechenhancer",
vendor: true,
owner: "google",
proprietary: true,
allow_undefined_symbols: true,
arch: {
arm: {
srcs: ["arm32/libspeechenhancer.so"],
},
arm64: {
srcs: ["arm64/libspeechenhancer.so"],
},
},
shared_libs: [
"libcutils",
"libEGL",
"libGLESv2",
"liblog",
"libz",
"libnativewindow",
],
}

View file

@ -288,6 +288,8 @@ PRODUCT_PROPERTY_OVERRIDES += \
PRODUCT_PACKAGES += \
audio_apmg3_aoc
PRODUCT_SOONG_NAMESPACES += device/google/tangorpro/audio/tangorpro/prebuilt/libspeechenhancer
# AudioProxy
PRODUCT_PACKAGES += \
libaudio_proxy.google \