davinci: Remove android.hidl.base@1.0 shims
* Patch the 2 remaining blobs that depend on it. * They already need libhidltransport.so so there's no real need for the shims anymore. Change-Id: I00f185fd4d1d8798893cf82abf9d64fcb68c3301
This commit is contained in:
parent
f31e4ef583
commit
9313cc0a61
@ -170,13 +170,6 @@ PRODUCT_COPY_FILES += \
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hardware.health@2.0-service
|
||||
|
||||
# HIDL
|
||||
PRODUCT_PACKAGES += \
|
||||
android.hidl.base@1.0 \
|
||||
android.hidl.base@1.0_system \
|
||||
android.hidl.manager@1.0 \
|
||||
android.hidl.manager@1.0_system
|
||||
|
||||
# Init scripts
|
||||
PRODUCT_COPY_FILES += \
|
||||
$(LOCAL_PATH)/rootdir/etc/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qcom.rc \
|
||||
|
@ -61,6 +61,12 @@ fi
|
||||
|
||||
function blob_fixup() {
|
||||
case "${1}" in
|
||||
lib64/libwfdnative.so)
|
||||
patchelf --remove-needed "android.hidl.base@1.0.so" "${2}"
|
||||
;;
|
||||
lib64/libfm-hci.so)
|
||||
patchelf --remove-needed "android.hidl.base@1.0.so" "${2}"
|
||||
;;
|
||||
esac
|
||||
}
|
||||
|
||||
|
@ -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)
|
Loading…
Reference in New Issue
Block a user