sm8250-common: Drop dependencies on android.hidl.base@1.0.so

Change-Id: I4c6803a6f1bfdd3fde7d83f59c0642f3398f531b
This commit is contained in:
dianlujitao 2021-12-27 00:02:00 +08:00 committed by SGCMarkus
parent da8c649a02
commit f43784a236
3 changed files with 3 additions and 50 deletions

View File

@ -60,6 +60,9 @@ fi
function blob_fixup() { function blob_fixup() {
case "${1}" in case "${1}" in
system_ext/lib64/libwfdnative.so)
${PATCHELF} --remove-needed "android.hidl.base@1.0.so" "${2}"
;;
system_ext/etc/permissions/moto-telephony.xml) system_ext/etc/permissions/moto-telephony.xml)
sed -i "s#/system/#/system_ext/#" "${2}" sed -i "s#/system/#/system_ext/#" "${2}"
;; ;;

View File

@ -1,46 +0,0 @@
#
# 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 $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := libhidltransport
LOCAL_MODULE := android.hidl.base@1.0
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_VENDOR_MODULE := true
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := libhidltransport
LOCAL_MODULE := android.hidl.manager@1.0
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_VENDOR_MODULE := true
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := libhidltransport
LOCAL_MODULE := android.hidl.base@1.0_system
LOCAL_INSTALLED_MODULE_STEM := android.hidl.base@1.0.so
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
include $(BUILD_SHARED_LIBRARY)
include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := libhidltransport
LOCAL_MODULE := android.hidl.manager@1.0_system
LOCAL_INSTALLED_MODULE_STEM := android.hidl.manager@1.0.so
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
include $(BUILD_SHARED_LIBRARY)

View File

@ -218,11 +218,7 @@ PRODUCT_PACKAGES += \
# HIDL # HIDL
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hidl.base@1.0 \
android.hidl.base@1.0_system \
libhidltransport \
libhidltransport.vendor \ libhidltransport.vendor \
libhwbinder \
libhwbinder.vendor libhwbinder.vendor
# Init # Init