From aaae514afdb2ea3af68fa9741f2cdbe6019ff0db Mon Sep 17 00:00:00 2001 From: Cosmin Tanislav Date: Sat, 17 Aug 2024 04:59:30 +0300 Subject: [PATCH] sm6150-common: do not manually build dependencies Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b --- sm6150.mk | 63 +++++-------------------------------------------------- 1 file changed, 5 insertions(+), 58 deletions(-) diff --git a/sm6150.mk b/sm6150.mk index b4c039b..6461794 100644 --- a/sm6150.mk +++ b/sm6150.mk @@ -38,8 +38,7 @@ PRODUCT_PACKAGES += \ # ANT+ PRODUCT_PACKAGES += \ - AntHalService-Soong \ - com.dsi.ant@1.0.vendor + AntHalService-Soong # Audio PRODUCT_PACKAGES += \ @@ -84,26 +83,14 @@ PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml # Bluetooth -PRODUCT_PACKAGES += \ - android.hardware.bluetooth@1.0.vendor \ - vendor.qti.hardware.bluetooth_audio@2.1.vendor \ - vendor.qti.hardware.btconfigstore@1.0.vendor \ - vendor.qti.hardware.btconfigstore@2.0.vendor - PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.bluetooth_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \ frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml # Camera PRODUCT_PACKAGES += \ - android.frameworks.sensorservice@1.0.vendor \ android.hardware.camera.provider@2.4-impl \ - android.hardware.camera.provider@2.4-service_64 \ - libdng_sdk.vendor - -PRODUCT_PACKAGES += \ - libMegviiFacepp-0.5.2 \ - libmegface + android.hardware.camera.provider@2.4-service_64 PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \ @@ -127,9 +114,6 @@ PRODUCT_PACKAGES += \ gralloc.sm6150 \ hwcomposer.sm6150 -PRODUCT_PACKAGES += \ - vendor.qti.hardware.display.mapper@2.0.vendor - PRODUCT_PACKAGES += \ disable_configstore @@ -138,8 +122,7 @@ PRODUCT_COPY_FILES += \ # DRM PRODUCT_PACKAGES += \ - android.hardware.drm-service.clearkey \ - android.hardware.drm@1.4.vendor + android.hardware.drm-service.clearkey # Fastbootd PRODUCT_PACKAGES += \ @@ -165,10 +148,6 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/rootdir/etc/fstab.emmc:$(TARGET_COPY_OUT_RAMDISK)/fstab.emmc \ $(LOCAL_PATH)/rootdir/etc/fstab.zram:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.zram -# Gatekeeper -PRODUCT_PACKAGES += \ - android.hardware.gatekeeper@1.0.vendor - # GPS PRODUCT_PACKAGES += \ android.hardware.gnss@2.1-impl-qti \ @@ -183,8 +162,7 @@ PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \ libbatching \ libgeofencing \ - libgnss \ - libsensorndkbridge + libgnss PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/gps/apdr.conf:$(TARGET_COPY_OUT_VENDOR)/etc/apdr.conf \ @@ -203,11 +181,6 @@ PRODUCT_PACKAGES += \ android.hardware.health-service.qti \ android.hardware.health-service.qti_recovery -# HIDL -PRODUCT_PACKAGES += \ - libhidltransport.vendor \ - libhwbinder.vendor - # Init scripts PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/rootdir/etc/init.qcom.rc:$(TARGET_COPY_OUT_VENDOR)/etc/init/hw/init.qcom.rc \ @@ -230,10 +203,6 @@ PRODUCT_COPY_FILES += \ # Kernel PRODUCT_SET_DEBUGFS_RESTRICTIONS := true -# Keymaster -PRODUCT_PACKAGES += \ - android.hardware.keymaster@4.1.vendor - # Lineage Health PRODUCT_PACKAGES += \ vendor.lineage.health-service.default @@ -244,9 +213,6 @@ PRODUCT_PACKAGES += \ # Media PRODUCT_PACKAGES += \ - libavservices_minijail.vendor \ - libcodec2_vndk.vendor \ - libcodec2_hidl@1.0.vendor \ libOmxAacEnc \ libOmxAmrEnc \ libOmxCore \ @@ -267,10 +233,6 @@ PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/media/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml # Network -PRODUCT_PACKAGES += \ - android.system.net.netd@1.1.vendor \ - libnetutils.vendor - PRODUCT_COPY_FILES += \ frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml @@ -289,31 +251,16 @@ PRODUCT_PACKAGES += \ android.hardware.power-service.lineage-libperfmgr \ libqti-perfd-client -# Protobuf -PRODUCT_PACKAGES += \ - libprotobuf-cpp-full-3.9.1-vendorcompat \ - libprotobuf-cpp-lite-3.9.1-vendorcompat - # QTI -PRODUCT_PACKAGES += \ - libqti_vndfwk_detect.vendor - PRODUCT_COPY_FILES += \ $(LOCAL_PATH)/configs/permissions/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/sysconfig/qti_whitelist.xml \ $(LOCAL_PATH)/configs/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml # RIL PRODUCT_PACKAGES += \ - android.hardware.radio@1.6.vendor \ - android.hardware.radio.config@1.3.vendor \ - android.hardware.radio.deprecated@1.0.vendor \ - android.hardware.secure_element@1.2.vendor \ CarrierConfigOverlay \ - libjson \ libril \ - librilutils \ - librmnetctl \ - libsqlite.vendor + librilutils # Recovery PRODUCT_PACKAGES += \