mondrianlte: add libshim_ril
This commit is contained in:
parent
843732921e
commit
e85ba3517a
5 changed files with 47 additions and 1 deletions
|
@ -19,6 +19,10 @@ include device/samsung/mondrianwifi/BoardConfig.mk
|
||||||
# HIDL
|
# HIDL
|
||||||
DEVICE_MANIFEST_FILE += device/samsung/mondrianlte/manifest.xml
|
DEVICE_MANIFEST_FILE += device/samsung/mondrianlte/manifest.xml
|
||||||
|
|
||||||
|
# Legacy BLOB Support
|
||||||
|
TARGET_LD_SHIM_LIBS += \
|
||||||
|
/system/vendor/lib/libril-qc-qmi-1.so|libshim_ril.so
|
||||||
|
|
||||||
# Properties
|
# Properties
|
||||||
TARGET_SYSTEM_PROP += device/samsung/mondrianlte/system.prop
|
TARGET_SYSTEM_PROP += device/samsung/mondrianlte/system.prop
|
||||||
|
|
||||||
|
|
|
@ -38,7 +38,8 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libsecnativefeature \
|
libsecnativefeature \
|
||||||
libcnefeatureconfig \
|
libcnefeatureconfig \
|
||||||
librmnetctl
|
librmnetctl \
|
||||||
|
libshim_ril
|
||||||
|
|
||||||
# Get non-open-source specific aspects
|
# Get non-open-source specific aspects
|
||||||
$(call inherit-product, vendor/samsung/mondrianlte/mondrianlte-vendor.mk)
|
$(call inherit-product, vendor/samsung/mondrianlte/mondrianlte-vendor.mk)
|
||||||
|
|
17
libshims/Android.mk
Normal file
17
libshims/Android.mk
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
#
|
||||||
|
# Copyright (C) 2017 The LineageOS 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.
|
||||||
|
#
|
||||||
|
|
||||||
|
include $(call first-makefiles-under,$(call my-dir))
|
14
libshims/libshim_ril/Android.bp
Normal file
14
libshims/libshim_ril/Android.bp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2022 The LineageOS Project
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
cc_library_shared {
|
||||||
|
srcs: ["libshim_ril.c"],
|
||||||
|
shared_libs: [
|
||||||
|
"libaudioclient",
|
||||||
|
],
|
||||||
|
name: "libshim_ril",
|
||||||
|
compile_multilib: "32",
|
||||||
|
vendor: true,
|
||||||
|
}
|
10
libshims/libshim_ril/libshim_ril.c
Normal file
10
libshims/libshim_ril/libshim_ril.c
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
//
|
||||||
|
// Copyright (C) 2022 The LineageOS Project
|
||||||
|
// SPDX-License-Identifier: Apache-2.0
|
||||||
|
//
|
||||||
|
|
||||||
|
void* _ZN7android11AudioSystem16addErrorCallbackEPFviE(void *cb);
|
||||||
|
|
||||||
|
void _ZN7android11AudioSystem16setErrorCallbackEPFviE(void *cb) {
|
||||||
|
_ZN7android11AudioSystem16addErrorCallbackEPFviE(cb);
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue