sm8450-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 Arian
parent 90c39fc849
commit 57362ce255

134
common.mk
View file

@ -43,10 +43,6 @@ PRODUCT_PACKAGES += \
checkpoint_gc \
otapreopt_script
# ANT+
PRODUCT_PACKAGES += \
com.dsi.ant@1.0.vendor:64
# API
PRODUCT_SHIPPING_API_LEVEL := 31
BOARD_SHIPPING_API_LEVEL := 31
@ -80,7 +76,6 @@ PRODUCT_PACKAGES += \
libagm_pcm_plugin:64 \
libagmclient:64 \
libagmmixer:64 \
libaudioroute.vendor:64 \
libbatterylistener:64 \
libfmpal:64 \
libpalclient:64 \
@ -88,7 +83,6 @@ PRODUCT_PACKAGES += \
libqcomvisualizer:64 \
libqcomvoiceprocessing:64 \
libsndcardparser:64 \
libtinycompress:64 \
libvolumelistener:64
$(foreach sku, taro diwali cape ukee parrot, \
@ -111,11 +105,7 @@ PRODUCT_PACKAGES += \
# Bluetooth
PRODUCT_PACKAGES += \
android.hardware.bluetooth@1.0.vendor:64 \
android.hardware.bluetooth.audio-impl:64 \
vendor.qti.hardware.bluetooth_audio@2.1.vendor:64 \
vendor.qti.hardware.btconfigstore@1.0.vendor:64 \
vendor.qti.hardware.btconfigstore@2.0.vendor:64
android.hardware.bluetooth.audio-impl:64
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
@ -132,18 +122,7 @@ PRODUCT_PACKAGES_DEBUG += \
# Camera
PRODUCT_PACKAGES += \
android.hardware.camera.provider@2.7.vendor:64 \
camera.device@1.0-impl:64 \
libcamera2ndk_vendor:64 \
libexif.vendor:64 \
libjpeg.vendor:64 \
liblz4.vendor:64 \
vendor.qti.hardware.camera.aon@1.0.vendor:64 \
vendor.qti.hardware.camera.postproc@1.0.vendor:64
PRODUCT_PACKAGES += \
libMegviiFacepp-0.5.2:64 \
libmegface:64
camera.device@1.0-impl: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 \
@ -151,10 +130,6 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.camera.full.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.full.xml \
frameworks/native/data/etc/android.hardware.camera.raw.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.raw.xml
# Capabilityconfigstore
PRODUCT_PACKAGES += \
vendor.qti.hardware.capabilityconfigstore@1.0.vendor:64
# Display
PRODUCT_PACKAGES += \
android.hardware.graphics.mapper@4.0-impl-qti-display \
@ -165,23 +140,12 @@ PRODUCT_PACKAGES += \
init.qti.display_boot.rc \
init.qti.display_boot.sh
PRODUCT_PACKAGES += \
vendor.display.config@1.11.vendor:64 \
vendor.qti.hardware.display.config-V2-ndk.vendor:64 \
vendor.qti.hardware.display.mapper@2.0.vendor:64
PRODUCT_COPY_FILES += \
hardware/qcom-caf/sm8450/display/config/snapdragon_color_libs_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/snapdragon_color_libs_config.xml
# DRM
PRODUCT_PACKAGES += \
android.hardware.drm@1.4.vendor:64 \
android.hardware.drm-service.clearkey \
libdrm.vendor:64
# Dumpstate
PRODUCT_PACKAGES += \
android.hardware.dumpstate@1.1.vendor:64
android.hardware.drm-service.clearkey
# Fingerprint
PRODUCT_PACKAGES += \
@ -200,10 +164,6 @@ PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_RECOVERY)/root/first_stage_ramdisk/fstab.qcom \
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom
# Gatekeeper
PRODUCT_PACKAGES += \
android.hardware.gatekeeper@1.0.vendor:64
# GPS
PRODUCT_PACKAGES += \
android.hardware.gnss@2.1-impl-qti:64 \
@ -232,9 +192,6 @@ PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml
# Graphics
PRODUCT_PACKAGES += \
libgui_vendor:64
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml \
frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
@ -248,22 +205,10 @@ PRODUCT_PACKAGES += \
android.hardware.health-service.qti \
android.hardware.health-service.qti_recovery
# HIDL
PRODUCT_PACKAGES += \
android.hidl.allocator@1.0.vendor:64 \
android.hidl.memory.block@1.0.vendor:64 \
libhidltransport.vendor:64 \
libhwbinder.vendor:64
# Hotword Enrollement
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
# Identity
PRODUCT_PACKAGES += \
android.hardware.identity-V3-ndk_platform.vendor:64 \
android.hardware.keymaster-V3-ndk_platform.vendor:64
# IPACM
PRODUCT_PACKAGES += \
ipacm \
@ -277,24 +222,12 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.consumerir.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.consumerir.xml
# JSON
PRODUCT_PACKAGES += \
libjson
# Keylayout
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/keylayout/uinput-fpc.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-fpc.kl \
$(LOCAL_PATH)/keylayout/uinput-goodix.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/uinput-goodix.kl
# Keymaster
PRODUCT_PACKAGES += \
android.hardware.keymaster@4.1.vendor:64 \
android.hardware.security.keymint-V1-ndk_platform.vendor:64 \
android.hardware.security.secureclock-V1-ndk_platform.vendor:64 \
android.hardware.security.sharedsecret-V1-ndk_platform.vendor:64 \
android.hardware.security.rkp-V3-ndk.vendor:64 \
libkeymaster_messages.vendor:64
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.keystore.app_attest_key.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.keystore.app_attest_key.xml
@ -303,32 +236,18 @@ PRODUCT_PACKAGES += \
vendor.lineage.health-service.default
# Media
PRODUCT_PACKAGES += \
libcodec2_hidl@1.0.vendor
PRODUCT_PACKAGES += \
init.qti.media.rc \
init.qti.media.sh
# Mlipay
PRODUCT_PACKAGES += \
vendor.xiaomi.hardware.mlipay@1.1.vendor \
vendor.xiaomi.hardware.mtdservice@1.0.vendor
# Network
PRODUCT_PACKAGES += \
android.system.net.netd@1.1.vendor:64
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
# NFC / Secure Element
PRODUCT_PACKAGES += \
android.hardware.nfc-service.nxp \
android.hardware.nfc@1.2.vendor:64 \
android.hardware.secure_element@1.2.vendor:64 \
com.android.nfc_extras \
libchrome.vendor:64
com.android.nfc_extras
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml
@ -375,10 +294,6 @@ PRODUCT_PACKAGES += \
# Partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Perf
PRODUCT_PACKAGES += \
vendor.qti.hardware.perf@2.3.vendor:64
# Power
PRODUCT_PACKAGES += \
android.hardware.power-service-qti
@ -386,24 +301,6 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
vendor/qcom/opensource/power/config/taro/powerhint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.xml
# Protobuf
PRODUCT_PACKAGES += \
libprotobuf-cpp-full-3.9.1-vendorcompat:64 \
libprotobuf-cpp-lite-3.9.1-vendorcompat:64
# QMI
PRODUCT_PACKAGES += \
libcurl.vendor:64 \
libjsoncpp.vendor:64 \
libnetutils.vendor:64 \
libsqlite.vendor:64
# QTI
PRODUCT_PACKAGES += \
libqti_vndfwk_detect.vendor:64 \
libvndfwk_detect_jni.qti_vendor:64 \
vendor.qti.hardware.systemhelper@1.0.vendor:64
# Recovery
PRODUCT_PACKAGES += \
fastbootd
@ -411,22 +308,9 @@ PRODUCT_PACKAGES += \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/init.recovery.qcom.rc:$(TARGET_COPY_OUT_RECOVERY)/root/init.recovery.qcom.rc
# RenderScript
PRODUCT_PACKAGES += \
android.hardware.renderscript@1.0-impl:64
# RIL
PRODUCT_PACKAGES += \
android.hardware.radio.config@1.3.vendor:64 \
android.hardware.radio.deprecated@1.0.vendor:64 \
PRODUCT_PACKAGES += \
librmnetctl
# Sensors
PRODUCT_PACKAGES += \
android.hardware.sensors@2.1-service.xiaomi-multihal \
android.frameworks.sensorservice@1.0.vendor:64
android.hardware.sensors@2.1-service.xiaomi-multihal
PRODUCT_PACKAGES += \
sensors.xiaomi:64
@ -448,10 +332,6 @@ $(foreach sku, taro diwali cape ukee, \
frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_$(sku)/android.hardware.sensor.stepdetector.xml \
))
# Servicetracker
PRODUCT_PACKAGES += \
vendor.qti.hardware.servicetracker@1.2.vendor:64
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH) \
@ -511,8 +391,7 @@ PRODUCT_PACKAGES_DEBUG += \
# USB
PRODUCT_PACKAGES += \
android.hardware.usb@1.3-service-qti \
android.hardware.usb.gadget@1.2-service-qti \
libusbhost.vendor:64
android.hardware.usb.gadget@1.2-service-qti
PRODUCT_PACKAGES += \
init.qcom.usb.rc \
@ -591,7 +470,6 @@ PRODUCT_COPY_FILES += \
# WiFi Display
PRODUCT_PACKAGES += \
libnl:64 \
libwfdaac_vendor:64
# WiFi firmware symlinks