tegu: Move libspeechenhancer to vendor

Change-Id: I7b254dd9ecc64e5535011a9014ac541ab83e788f
This commit is contained in:
Michael Bestas 2025-06-17 00:13:56 +03:00 committed by Michael Bestas
parent 6f25184f82
commit 1d38605e24
No known key found for this signature in database
6 changed files with 7 additions and 47 deletions

View file

@ -1,43 +0,0 @@
// 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",
"libbinder_ndk",
"liblog",
"libsync",
"libz",
"libnativewindow",
],
}

View file

@ -194,11 +194,8 @@ PRODUCT_PACKAGES += \
endif endif
# HdMic Audio # HdMic Audio
PRODUCT_SOONG_NAMESPACES += device/google/tegu/audio/tegu/prebuilt/libspeechenhancer
PRODUCT_PROPERTY_OVERRIDES += \ PRODUCT_PROPERTY_OVERRIDES += \
persist.vendor.app.audio.gsenet.version=1 persist.vendor.app.audio.gsenet.version=1
PRODUCT_PACKAGES += \
libspeechenhancer
# Bluetooth LE Audio # Bluetooth LE Audio
PRODUCT_PRODUCT_PROPERTIES += \ PRODUCT_PRODUCT_PROPERTIES += \

View file

@ -52,6 +52,12 @@ blob_fixups: blob_fixups_user_type = {
.patch_file('osaifu-keitai.patch'), .patch_file('osaifu-keitai.patch'),
'vendor/etc/init/init.modem_logging_control.rc': blob_fixup() 'vendor/etc/init/init.modem_logging_control.rc': blob_fixup()
.regex_replace(' && property:ro.debuggable=0', ''), .regex_replace(' && property:ro.debuggable=0', ''),
'vendor/lib64/libspeechenhancer.so': blob_fixup()
.clear_symbol_version('AHardwareBuffer_allocate')
.clear_symbol_version('AHardwareBuffer_describe')
.clear_symbol_version('AHardwareBuffer_lock')
.clear_symbol_version('AHardwareBuffer_release')
.clear_symbol_version('AHardwareBuffer_unlock'),
} # fmt: skip } # fmt: skip
extract_fns: extract_fns_user_type = { extract_fns: extract_fns_user_type = {

View file

@ -1943,6 +1943,7 @@ vendor/lib64/libsitril-client.so
vendor/lib64/libsitril-gps.so vendor/lib64/libsitril-gps.so
vendor/lib64/libsitril-ims.so vendor/lib64/libsitril-ims.so
vendor/lib64/libsitril.so vendor/lib64/libsitril.so
vendor/lib64/libspeechenhancer.so
vendor/lib64/libstreset24.so vendor/lib64/libstreset24.so
vendor/lib64/libsueznanoappclients.so vendor/lib64/libsueznanoappclients.so
vendor/lib64/libtachyon_core.so vendor/lib64/libtachyon_core.so

View file

@ -688,7 +688,6 @@ lib64/libregex_syntax.dylib.so
lib64/libril.so lib64/libril.so
lib64/librilutils.so lib64/librilutils.so
lib64/libsparse.so lib64/libsparse.so
lib64/libspeechenhancer.so
lib64/libspeexresampler.so lib64/libspeexresampler.so
lib64/libssl.so lib64/libssl.so
lib64/libstagefright_foundation.so lib64/libstagefright_foundation.so