sm8350-common: do not manually build dependencies

Change-Id: I4046d8eeabfc70842898b7034f75cdd6bcfc441b
This commit is contained in:
Cosmin Tanislav 2024-08-17 04:59:30 +03:00 committed by FlowerSea0208
parent 02cbb9f2ae
commit b4a1eb3456

104
common.mk
View File

@ -34,9 +34,6 @@ PRODUCT_PACKAGES += \
libtinycompress \ libtinycompress \
libvolumelistener libvolumelistener
PRODUCT_PACKAGES += \
libaudioroute.vendor
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
audioadsprpcd \ audioadsprpcd \
audio.r_submix.default \ audio.r_submix.default \
@ -98,13 +95,7 @@ PRODUCT_PACKAGES += \
audio.bluetooth.default audio.bluetooth.default
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.0.vendor \ android.hardware.bluetooth.audio-impl
android.hardware.bluetooth.audio-impl \
com.dsi.ant@1.0.vendor \
vendor.qti.hardware.bluetooth_audio@2.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 += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \ frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
@ -126,16 +117,7 @@ PRODUCT_PACKAGES_DEBUG += \
# Camera # Camera
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.4-impl \ android.hardware.camera.provider@2.4-impl \
android.hardware.camera.provider@2.4-service_64 \ android.hardware.camera.provider@2.4-service_64
vendor.qti.hardware.camera.device@1.0.vendor \
vendor.qti.hardware.camera.postproc@1.0.vendor
PRODUCT_PACKAGES += \
libMegviiFacepp-0.5.2 \
libmegface
PRODUCT_PACKAGES += \
liblz4.vendor
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/camera_cnf.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camera_cnf.txt $(LOCAL_PATH)/configs/camera_cnf.txt:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camera_cnf.txt
@ -156,18 +138,9 @@ PRODUCT_PACKAGES += \
android.hardware.memtrack@1.0-impl \ android.hardware.memtrack@1.0-impl \
android.hardware.memtrack@1.0-service \ android.hardware.memtrack@1.0-service \
vendor.qti.hardware.display.allocator-service \ vendor.qti.hardware.display.allocator-service \
vendor.qti.hardware.display.composer-service \ vendor.qti.hardware.display.composer-service
vendor.qti.hardware.display.mapper@2.0.vendor \
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.graphics.allocator@3.0.vendor \
vendor.display.config@1.15.vendor \
vendor.display.config@2.0.vendor
PRODUCT_PACKAGES += \
libdisplayconfig.qti \
libdisplayconfig.system.qti \
libqdMetaData \
libqdMetaData.system \ libqdMetaData.system \
memtrack.default memtrack.default
@ -176,7 +149,6 @@ PRODUCT_COPY_FILES += \
# DRM # DRM
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.drm@1.3.vendor \
android.hardware.drm-service.clearkey android.hardware.drm-service.clearkey
# Fastbootd # Fastbootd
@ -199,10 +171,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.default \ $(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.default \
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.default $(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.default
# Gatekeeper
PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0.vendor
# GPS # GPS
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.gnss@2.1-impl-qti \ android.hardware.gnss@2.1-impl-qti \
@ -240,10 +208,6 @@ PRODUCT_COPY_FILES += \
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.health-service.qti android.hardware.health-service.qti
PRODUCT_PACKAGES += \
libhidltransport.vendor \
libhwbinder.vendor
# HotwordEnrollement # HotwordEnrollement
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml $(LOCAL_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
@ -284,17 +248,12 @@ PRODUCT_COPY_FILES += \
# Kernel # Kernel
PRODUCT_ENABLE_UFFD_GC := false PRODUCT_ENABLE_UFFD_GC := false
# Keymaster
PRODUCT_PACKAGES += \
android.hardware.keymaster@4.1.vendor
# Lineage Health # Lineage Health
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
vendor.lineage.health-service.default vendor.lineage.health-service.default
# Media # Media
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libcodec2_hidl@1.0.vendor \
libmm-omxcore \ libmm-omxcore \
libOmxAacEnc \ libOmxAacEnc \
libOmxAmrEnc \ libOmxAmrEnc \
@ -323,16 +282,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/media/yupik/media_codecs_yupik_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_yupik_v1.xml \ $(LOCAL_PATH)/media/yupik/media_codecs_yupik_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_yupik_v1.xml \
$(LOCAL_PATH)/media/yupik/media_profiles_yupik_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_yupik_v1.xml $(LOCAL_PATH)/media/yupik/media_profiles_yupik_v1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_yupik_v1.xml
# Mlipay
PRODUCT_PACKAGES += \
vendor.xiaomi.hardware.mlipay@1.1.vendor \
vendor.xiaomi.hardware.mtdservice@1.0.vendor
# Minijail
PRODUCT_PACKAGES += \
libavservices_minijail \
libavservices_minijail.vendor
# Native libraries whitelist # Native libraries whitelist
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt $(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
@ -341,23 +290,13 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
# Net
PRODUCT_PACKAGES += \
android.system.net.netd@1.1.vendor
# Neural Network
PRODUCT_PACKAGES += \
android.hardware.neuralnetworks@1.3.vendor
# NFC # NFC
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
com.android.nfc_extras \ com.android.nfc_extras \
Tag Tag
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.nfc-service.nxp \ android.hardware.nfc-service.nxp
android.hardware.secure_element@1.2.vendor \
libchrome.vendor
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \ frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
@ -383,12 +322,7 @@ PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Power # Power
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.power-service-qti \ android.hardware.power-service-qti
android.hardware.power@1.2.vendor \
vendor.qti.hardware.perf@2.2.vendor
PRODUCT_PACKAGES += \
libssl.vendor
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json $(LOCAL_PATH)/configs/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json
@ -396,14 +330,7 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
vendor/qcom/opensource/power/config/lahaina/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml vendor/qcom/opensource/power/config/lahaina/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
# Protobuf
PRODUCT_PACKAGES += \
libprotobuf-cpp-full-3.9.1-vendorcompat
# QTI # QTI
PRODUCT_PACKAGES += \
libqti_vndfwk_detect.vendor
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \ $(LOCAL_PATH)/configs/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \
$(LOCAL_PATH)/configs/telephony_system-ext_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/telephony_system-ext-privapp-permissions-qti.xml $(LOCAL_PATH)/configs/telephony_system-ext_privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/telephony_system-ext-privapp-permissions-qti.xml
@ -418,24 +345,11 @@ PRODUCT_PACKAGES += \
# RIL # RIL
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.hardware.radio@1.6.vendor \ CarrierConfigOverlay
android.hardware.radio.config@1.3.vendor \
android.hardware.radio.deprecated@1.0.vendor \
CarrierConfigOverlay \
libjson \
libprotobuf-cpp-lite-3.9.1-vendorcompat \
librmnetctl
PRODUCT_PACKAGES += \
libcurl.vendor \
libjsoncpp.vendor \
libsqlite.vendor
# Sensors # Sensors
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
android.frameworks.sensorservice@1.0.vendor \ android.hardware.sensors-service.xiaomi-multihal
android.hardware.sensors-service.xiaomi-multihal \
vendor.qti.hardware.display.mapper@1.1.vendor
PRODUCT_COPY_FILES += \ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \ frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
@ -557,11 +471,7 @@ PRODUCT_PACKAGES += \
# WiFi Display # WiFi Display
PRODUCT_PACKAGES += \ PRODUCT_PACKAGES += \
libnl \
libwfdaac_vendor libwfdaac_vendor
PRODUCT_PACKAGES += \
libpng.vendor
PRODUCT_BOOT_JARS += \ PRODUCT_BOOT_JARS += \
WfdCommon WfdCommon