456 lines
20 KiB
Makefile
456 lines
20 KiB
Makefile
#
|
|
# SPDX-FileCopyrightText: The LineageOS Project
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Partitions
|
|
PRODUCT_PACKAGES += \
|
|
vendor_bt_firmware_mountpoint \
|
|
vendor_dsp_mountpoint \
|
|
vendor_firmware_mnt_mountpoint \
|
|
vendor_fsg_mountpoint \
|
|
vendor_super_fsg_mountpoint \
|
|
vendor_super_modem_mountpoint
|
|
|
|
PRODUCT_BUILD_SUPER_PARTITION := false
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
# Enable project quotas and casefolding for emulated storage without sdcardfs
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
|
|
|
# Installs gsi keys into ramdisk, to boot a GSI with verified boot.
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk)
|
|
|
|
# Overlays
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
$(LOCAL_PATH)/overlay-lineage
|
|
|
|
PRODUCT_ENFORCE_RRO_TARGETS := *
|
|
|
|
PRODUCT_PACKAGES += \
|
|
FrameworksResCommon_Sys \
|
|
SystemUIResCommon_Sys \
|
|
TelephonyResCommon_Sys \
|
|
WifiResCommon_Sys \
|
|
FrameworksResTarget \
|
|
WifiResTarget
|
|
|
|
# Add common definitions for Qualcomm
|
|
$(call inherit-product, hardware/qcom-caf/common/common.mk)
|
|
|
|
# A/B
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
RUN_POSTINSTALL_system=true \
|
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
|
FILESYSTEM_TYPE_system=ext4 \
|
|
POSTINSTALL_OPTIONAL_system=true
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
RUN_POSTINSTALL_vendor=true \
|
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
|
FILESYSTEM_TYPE_vendor=ext4 \
|
|
POSTINSTALL_OPTIONAL_vendor=true
|
|
|
|
PRODUCT_PACKAGES += \
|
|
checkpoint_gc \
|
|
otapreopt_script
|
|
|
|
# Additional native libraries
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt \
|
|
$(LOCAL_PATH)/configs/public.libraries-qti.txt:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/public.libraries-qti.txt
|
|
|
|
# Audio
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.audio@7.1-impl \
|
|
android.hardware.audio.effect@7.0-impl \
|
|
android.hardware.audio.service \
|
|
android.hardware.bluetooth.audio-impl \
|
|
android.hardware.soundtrigger@2.3-impl \
|
|
audio.bluetooth.default \
|
|
audio.r_submix.default \
|
|
audio.usb.default \
|
|
audioadsprpcd \
|
|
libagm_compress_plugin \
|
|
libagm_mixer_plugin \
|
|
libagm_pcm_plugin \
|
|
libats \
|
|
libaudiochargerlistener \
|
|
libbatterylistener \
|
|
libfmpal \
|
|
libhapticgenerator \
|
|
libhfp_pal \
|
|
libqcompostprocbundle \
|
|
libqcomvisualizer \
|
|
libqcomvoiceprocessing \
|
|
libtinycompress \
|
|
vendor.qti.hardware.AGMIPC@1.0-impl
|
|
|
|
AUDIO_HAL_DIR := hardware/qcom-caf/sm8550/audio/primary-hal
|
|
CONFIG_HAL_SRC_DIR := $(AUDIO_HAL_DIR)/configs/kalama
|
|
CONFIG_PAL_SRC_DIR := $(AUDIO_HAL_DIR)/../pal/configs/kalama
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(CONFIG_HAL_SRC_DIR)/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_kalama/audio_effects.xml \
|
|
$(CONFIG_PAL_SRC_DIR)/card-defs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/card-defs.xml
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration_7_0.xml \
|
|
frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration_7_0.xml \
|
|
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
|
|
frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml \
|
|
frameworks/native/data/etc/android.hardware.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
|
|
frameworks/native/data/etc/android.hardware.audio.pro.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.pro.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.dynamic.head_tracker.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.dynamic.head_tracker.xml \
|
|
frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
|
|
|
|
# Bluetooth
|
|
PRODUCT_PACKAGES += \
|
|
lib_bt_aptx \
|
|
lib_bt_ble \
|
|
lib_bt_bundle
|
|
|
|
# Boot control
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.boot-service.qti \
|
|
android.hardware.boot-service.qti.recovery
|
|
|
|
# Charger
|
|
WITH_LINEAGE_CHARGER := false
|
|
|
|
# Display
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.graphics.mapper@4.0-impl-qti-display \
|
|
init.qti.display_boot.rc \
|
|
init.qti.display_boot.sh \
|
|
vendor.qti.hardware.display.composer-service.rc \
|
|
vendor.qti.hardware.display.composer-service.xml \
|
|
vendor.qti.hardware.display.allocator-service \
|
|
vendor.qti.hardware.display.composer-service \
|
|
vendor.qti.hardware.display.demura-service
|
|
|
|
# DRM
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.drm-service.clearkey
|
|
|
|
# Enforce generic ramdisk allow list
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
|
|
|
|
# Fastboot
|
|
PRODUCT_PACKAGES += \
|
|
fastbootd
|
|
|
|
# GPS
|
|
PRODUCT_PACKAGES += \
|
|
gnss@2.0-base.policy \
|
|
gnss@2.0-edgnss-daemon.policy \
|
|
gnss@2.0-qsap-location.policy \
|
|
gnss@2.0-xtra-daemon.policy
|
|
|
|
PRODUCT_PACKAGES += \
|
|
batching.conf \
|
|
gnss_antenna_info.conf \
|
|
gps.conf \
|
|
izat.conf \
|
|
lowi.conf \
|
|
sap.conf \
|
|
xtwifi.conf
|
|
|
|
# Health
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.health-service.qti \
|
|
android.hardware.health-service.qti_recovery
|
|
|
|
# Init
|
|
PRODUCT_PACKAGES += \
|
|
fstab.qcom \
|
|
fstab.qcom.vendor_ramdisk \
|
|
fstab.qcom.zram \
|
|
init.mmi.charge_only.rc \
|
|
init.mmi.chipset.rc \
|
|
init.mmi.rc \
|
|
init.qcom.rc \
|
|
init.qcom.recovery.rc \
|
|
init.qti.kernel.rc \
|
|
init.qti.qcv.rc \
|
|
init.system.qcom.rc \
|
|
init.target.rc \
|
|
ueventd.qcom.rc \
|
|
copy_qc_cert.sh \
|
|
init.class_main.sh \
|
|
init.kernel.post_boot-kalama_3_2_1.sh \
|
|
init.kernel.post_boot-kalama_3_4_0.sh \
|
|
init.kernel.post_boot-kalama_default_3_4_1.sh \
|
|
init.kernel.post_boot-kalama.sh \
|
|
init.kernel.post_boot.sh \
|
|
init.mmi.bootanim.sh \
|
|
init.mmi.boot.sh \
|
|
init.mmi.cap.sh \
|
|
init.mmi.touch.sh \
|
|
init.oem.hw.sh \
|
|
init.qcom.class_core.sh \
|
|
init.qcom.early_boot.sh \
|
|
init.qcom.post_boot.sh \
|
|
init.qcom.sensors.sh \
|
|
init.qcom.sh \
|
|
init.qti.kernel.sh \
|
|
init.qti.qcv.sh \
|
|
init.qti.write.sh \
|
|
system_dlkm_modprobe.sh \
|
|
vendor_modprobe.sh
|
|
|
|
# IPACM
|
|
PRODUCT_PACKAGES += \
|
|
ipacm \
|
|
IPACM_cfg.xml \
|
|
IPACM_Filter_cfg.xml
|
|
|
|
# Keymint
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.hardware_keystore.xml
|
|
|
|
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 \
|
|
frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml
|
|
|
|
# Lineage Health
|
|
PRODUCT_PACKAGES += \
|
|
vendor.lineage.health-service.default
|
|
|
|
$(call soong_config_set,lineage_health,charging_control_charging_disabled,1)
|
|
$(call soong_config_set,lineage_health,charging_control_charging_enabled,0)
|
|
$(call soong_config_set,lineage_health,charging_control_charging_path,/sys/class/power_supply/battery/device/force_charging_disable)
|
|
$(call soong_config_set,lineage_health,charging_control_supports_bypass,false)
|
|
|
|
# LiveDisplay
|
|
PRODUCT_PACKAGES += \
|
|
vendor.lineage.livedisplay-service.sdm \
|
|
vendor.lineage.livedisplay-service.sysfs
|
|
|
|
$(call soong_config_set,livedisplay_sdm,enable_dm,false)
|
|
$(call soong_config_set,livedisplay_sysfs,enable_af,true)
|
|
$(call soong_config_set,livedisplay_sysfs,enable_se,true)
|
|
|
|
# Media
|
|
PRODUCT_COPY_FILES += \
|
|
$(AUDIO_HAL_DIR)/configs/common/codec2/media_codecs_c2_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_c2_audio.xml \
|
|
$(AUDIO_HAL_DIR)/configs/common/codec2/service/1.0/c2audio.vendor.base-arm64.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/c2audio.vendor.base-arm64.policy \
|
|
$(AUDIO_HAL_DIR)/configs/common/codec2/service/1.0/c2audio.vendor.ext-arm64.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/c2audio.vendor.ext-arm64.policy
|
|
|
|
PRODUCT_PACKAGES += \
|
|
libavservices_minijail \
|
|
libpalclient
|
|
|
|
# Memtrack
|
|
PRODUCT_PACKAGES += \
|
|
vendor.qti.hardware.memtrack-service
|
|
|
|
# MotoActions
|
|
PRODUCT_PACKAGES += \
|
|
MotoActions \
|
|
MotoCommonOverlay
|
|
|
|
# Permissions
|
|
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_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth_le.xml \
|
|
frameworks/native/data/etc/android.hardware.camera.concurrent.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.concurrent.xml \
|
|
frameworks/native/data/etc/android.hardware.camera.external.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.external.xml \
|
|
frameworks/native/data/etc/android.hardware.camera.flash-autofocus.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.flash-autofocus.xml \
|
|
frameworks/native/data/etc/android.hardware.camera.front.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.front.xml \
|
|
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 \
|
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml \
|
|
frameworks/native/data/etc/android.hardware.location.gps.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.location.gps.xml \
|
|
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
|
|
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
|
|
frameworks/native/data/etc/android.hardware.nfc.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.uicc.xml \
|
|
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
|
|
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.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.xml \
|
|
frameworks/native/data/etc/android.hardware.telephony.cdma.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.cdma.xml \
|
|
frameworks/native/data/etc/android.hardware.telephony.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.xml \
|
|
frameworks/native/data/etc/android.hardware.telephony.ims.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.ims.xml \
|
|
frameworks/native/data/etc/android.hardware.telephony.mbms.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.mbms.xml \
|
|
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
|
|
frameworks/native/data/etc/android.hardware.usb.accessory.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.accessory.xml \
|
|
frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.usb.host.xml \
|
|
frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute-0.xml \
|
|
frameworks/native/data/etc/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-1.xml \
|
|
frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_1.xml \
|
|
frameworks/native/data/etc/android.hardware.vulkan.version-1_3.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version-1_3.xml \
|
|
frameworks/native/data/etc/android.hardware.wifi.direct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.direct.xml \
|
|
frameworks/native/data/etc/android.hardware.wifi.passpoint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.passpoint.xml \
|
|
frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.xml \
|
|
frameworks/native/data/etc/android.software.device_id_attestation.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.device_id_attestation.xml \
|
|
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_tunnel_migration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnel_migration.xml \
|
|
frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
|
|
frameworks/native/data/etc/android.software.opengles.deqp.level-2022-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \
|
|
frameworks/native/data/etc/android.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml \
|
|
frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml \
|
|
frameworks/native/data/etc/android.software.vulkan.deqp.level-2022-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_kalama/android.hardware.sensor.accelerometer.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_kalama/android.hardware.sensor.barometer.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_kalama/android.hardware.sensor.compass.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_kalama/android.hardware.sensor.gyroscope.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_kalama/android.hardware.sensor.light.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_kalama/android.hardware.sensor.proximity.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_kalama/android.hardware.sensor.stepcounter.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_kalama/android.hardware.sensor.stepdetector.xml \
|
|
frameworks/native/data/etc/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
|
|
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/android.hardware.strongbox_keystore_v4.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.strongbox_keystore.xml
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/product_privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/hotword-hiddenapi-package-whitelist.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/sysconfig/hotword-hiddenapi-package-whitelist.xml
|
|
|
|
# Power
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.power-service-qti
|
|
|
|
# Protobuf
|
|
PRODUCT_PACKAGES += \
|
|
libprotobuf-cpp-full-3.9.1-vendorcompat \
|
|
libprotobuf-cpp-lite-3.9.1-vendorcompat
|
|
|
|
# QSPA
|
|
PRODUCT_PACKAGES += \
|
|
vendor.qti.qspa-service
|
|
|
|
# QTI fwk-detect
|
|
PRODUCT_PACKAGES += \
|
|
libvndfwk_detect_jni.qti_vendor # Needed by CNE app
|
|
|
|
# RFS MSM MPSS symlinks
|
|
PRODUCT_PACKAGES += \
|
|
rfs_msm_mpss_readonly_vendor_fsg_symlink
|
|
|
|
# Sensors
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.sensors-service.multihal \
|
|
sensors.dynamic_sensor_hal \
|
|
sensors.moto_sm8550
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(LOCAL_PATH) \
|
|
hardware/motorola
|
|
|
|
# Telephony
|
|
PRODUCT_PACKAGES += \
|
|
extphonelib \
|
|
extphonelib-product \
|
|
extphonelib.xml \
|
|
extphonelib_product.xml \
|
|
MotoNrEnabler \
|
|
ims-ext-common \
|
|
ims_ext_common.xml \
|
|
qti-telephony-hidl-wrapper \
|
|
qti-telephony-hidl-wrapper-prd \
|
|
qti_telephony_hidl_wrapper.xml \
|
|
qti_telephony_hidl_wrapper_prd.xml \
|
|
qti-telephony-utils \
|
|
qti-telephony-utils-prd \
|
|
qti_telephony_utils.xml \
|
|
qti_telephony_utils_prd.xml \
|
|
telephony-ext
|
|
|
|
PRODUCT_PACKAGES += \
|
|
qcrilNrDb_vendor
|
|
|
|
PRODUCT_BOOT_JARS += \
|
|
telephony-ext
|
|
|
|
# Thermal
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.thermal-service.qti
|
|
|
|
# Touch
|
|
PRODUCT_PACKAGES += \
|
|
vendor.lineage.touch-service.motorola \
|
|
vendor.lineage.touch-service.moto_sm8550
|
|
|
|
$(call soong_config_set, MOTOROLA_TOUCH, HIGH_TOUCH_POLLING_PATH, /sys/class/touchscreen/primary/interpolation)
|
|
|
|
# Update engine
|
|
PRODUCT_PACKAGES += \
|
|
update_engine \
|
|
update_engine_sideload \
|
|
update_verifier
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
update_engine_client
|
|
|
|
# USB
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.usb-service.qti \
|
|
android.hardware.usb.gadget-service.qti \
|
|
init.qcom.usb.rc \
|
|
init.qcom.usb.sh
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
vendor/qcom/opensource/usb/etc
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/usb_compositions.conf:$(TARGET_COPY_OUT_ODM)/etc/usb_compositions.conf
|
|
|
|
# Vendor service manager
|
|
PRODUCT_PACKAGES += \
|
|
vndservicemanager
|
|
|
|
# Vibrator
|
|
PRODUCT_PACKAGES += \
|
|
vendor.qti.hardware.vibrator.service
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
vendor/qcom/opensource/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
|
|
|
|
# VINTF
|
|
DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE := \
|
|
device/motorola/sm8550-common/device_framework_matrix.xml \
|
|
hardware/qcom-caf/common/vendor_framework_compatibility_matrix.xml \
|
|
vendor/lineage/config/device_framework_matrix.xml
|
|
DEVICE_FRAMEWORK_MANIFEST_FILE += device/motorola/sm8550-common/framework_manifest.xml
|
|
DEVICE_MATRIX_FILE := hardware/qcom-caf/common/compatibility_matrix.xml
|
|
DEVICE_MANIFEST_SKUS := kalama
|
|
DEVICE_MANIFEST_KALAMA_FILES += \
|
|
$(COMMON_PATH)/manifest_kalama.xml \
|
|
hardware/qcom-caf/sm8550/audio/primary-hal/configs/common/manifest_non_qmaa.xml \
|
|
hardware/qcom-caf/sm8550/audio/primary-hal/configs/common/manifest_non_qmaa_extn.xml
|
|
|
|
# VNDK
|
|
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := strict
|
|
|
|
# WiFi
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.wifi-service \
|
|
hostapd \
|
|
libwifi-hal-ctrl \
|
|
libwifi-hal-qcom \
|
|
wpa_supplicant \
|
|
wpa_supplicant.conf
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/kiwi_v2/WCNSS_qcom_cfg.ini \
|
|
$(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
|
$(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf
|
|
|
|
# WiFi firmware symlinks
|
|
PRODUCT_PACKAGES += \
|
|
firmware_wlanmdsp.otaupdate_symlink \
|
|
firmware_wlan_mac.bin_symlink \
|
|
firmware_WCNSS_qcom_cfg.ini_symlink
|
|
|
|
# Inherit from vendor blobs
|
|
$(call inherit-product, vendor/motorola/sm8550-common/sm8550-common-vendor.mk)
|