Revert^2 "comet: Add libspeechenhancer for HdMic"
22d1a38d3b
Change-Id: I744f553cb64daa2c06e331ff514817effbd032b9
This commit is contained in:
parent
22d1a38d3b
commit
024539c113
3 changed files with 48 additions and 0 deletions
41
audio/comet/prebuilt/libspeechenhancer/Android.bp
Normal file
41
audio/comet/prebuilt/libspeechenhancer/Android.bp
Normal file
|
@ -0,0 +1,41 @@
|
|||
// Copyright (C) 2024 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: {
|
||||
arm64: {
|
||||
srcs: ["arm64/libspeechenhancer.so"],
|
||||
},
|
||||
},
|
||||
|
||||
shared_libs: [
|
||||
"libcutils",
|
||||
"libEGL",
|
||||
"libGLESv2",
|
||||
"liblog",
|
||||
"libz",
|
||||
"libnativewindow",
|
||||
],
|
||||
}
|
Binary file not shown.
|
@ -254,6 +254,13 @@ endif
|
|||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.vendor.audio.cca.enabled=false
|
||||
|
||||
# HdMic Audio
|
||||
PRODUCT_SOONG_NAMESPACES += device/google/comet/audio/comet/prebuilt/libspeechenhancer
|
||||
PRODUCT_PROPERTY_OVERRIDES += \
|
||||
persist.vendor.audio.hdmic.version=1
|
||||
PRODUCT_PACKAGES += \
|
||||
libspeechenhancer
|
||||
|
||||
# Keymaster HAL
|
||||
#LOCAL_KEYMASTER_PRODUCT_PACKAGE ?= android.hardware.keymaster@4.1-service
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue