454 lines
19 KiB
Makefile
454 lines
19 KiB
Makefile
#
|
|
# Copyright (C) 2018-2023 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
# Inherit from those products. Most specific first.
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
|
|
|
# Enable updating of APEXes
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
OVERRIDE_PRODUCT_COMPRESSED_APEX := false
|
|
|
|
# Get non-open-source specific aspects
|
|
$(call inherit-product-if-exists, vendor/sony/tama-common/tama-common-vendor.mk)
|
|
|
|
# Setup dalvik vm configs
|
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-4096-dalvik-heap.mk)
|
|
|
|
# Overlays
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
$(LOCAL_PATH)/overlay \
|
|
$(LOCAL_PATH)/overlay-lineage
|
|
|
|
PRODUCT_ENFORCE_RRO_TARGETS := *
|
|
|
|
# A/B
|
|
AB_OTA_UPDATER := true
|
|
|
|
AB_OTA_PARTITIONS += \
|
|
boot \
|
|
dtbo \
|
|
system \
|
|
vbmeta \
|
|
vendor
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
RUN_POSTINSTALL_system=true \
|
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
|
FILESYSTEM_TYPE_system=ext4 \
|
|
POSTINSTALL_OPTIONAL_system=true
|
|
|
|
PRODUCT_PACKAGES += \
|
|
otapreopt_script
|
|
|
|
# Permissions
|
|
PRODUCT_COPY_FILES += \
|
|
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.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 \
|
|
frameworks/native/data/etc/android.hardware.camera.ar.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.ar.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.sensor.accelerometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.accelerometer.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.compass.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.gyroscope.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.gyroscope.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.light.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.light.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.proximity.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.proximity.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.stepcounter.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepcounter.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.stepdetector.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.stepdetector.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.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-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level-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.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.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml \
|
|
frameworks/native/data/etc/android.software.opengles.deqp.level-2020-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.vulkan.deqp.level-2020-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \
|
|
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml
|
|
|
|
# Properties
|
|
PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE := true
|
|
|
|
# AID/fs configs
|
|
PRODUCT_PACKAGES += \
|
|
fs_config_files
|
|
|
|
# Audio
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.audio@2.0-service \
|
|
android.hardware.audio@6.0-impl \
|
|
android.hardware.audio.effect@6.0-impl \
|
|
android.hardware.soundtrigger@2.2-impl \
|
|
audio.r_submix.default \
|
|
audio.usb.default \
|
|
libqcompostprocbundle \
|
|
libqcomvisualizer \
|
|
libqcomvoiceprocessing \
|
|
libtinycompress \
|
|
libvolumelistener \
|
|
tinymix
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/audio/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/audio_policy_configuration.xml \
|
|
$(LOCAL_PATH)/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_effects.xml \
|
|
$(LOCAL_PATH)/audio/audio_output_policy.conf:$(TARGET_COPY_OUT_VENDOR)/etc/audio_output_policy.conf \
|
|
$(LOCAL_PATH)/audio/audio_platform_info_i2s.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info_i2s.xml \
|
|
$(LOCAL_PATH)/audio/audio_policy_configuration_a2dp_offload_disabled.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration_a2dp_offload_disabled.xml \
|
|
$(LOCAL_PATH)/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_configuration.xml \
|
|
$(LOCAL_PATH)/audio/audio_tuning_mixer_tavil.txt:$(TARGET_COPY_OUT_VENDOR)/etc/audio_tuning_mixer_tavil.txt \
|
|
$(LOCAL_PATH)/audio/graphite_ipc_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/graphite_ipc_platform_info.xml \
|
|
$(LOCAL_PATH)/audio/listen_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/listen_platform_info.xml \
|
|
$(LOCAL_PATH)/audio/mixer_paths_i2s.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_i2s.xml \
|
|
$(LOCAL_PATH)/audio/mixer_paths_qvr.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_qvr.xml \
|
|
$(LOCAL_PATH)/audio/mixer_paths_skuk.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_skuk.xml \
|
|
$(LOCAL_PATH)/audio/sound_trigger_platform_info_no_SVA.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_platform_info_no_SVA.xml
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/audio/bluetooth_hearing_aid_audio_policy_configuration.xml:/$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_hearing_aid_audio_policy_configuration.xml \
|
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration.xml:/$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
|
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
|
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml \
|
|
$(TOPDIR)frameworks/av/services/audiopolicy/config/usb_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/usb_audio_policy_configuration.xml
|
|
|
|
# Bluetooth
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.bluetooth@1.0.vendor \
|
|
android.hardware.bluetooth.audio@2.1-impl \
|
|
audio.bluetooth.default \
|
|
vendor.qti.hardware.bluetooth_audio@2.0.vendor \
|
|
vendor.qti.hardware.btconfigstore@1.0.vendor
|
|
|
|
# Boot control
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.boot@1.0-impl:64 \
|
|
android.hardware.boot@1.0-service \
|
|
android.hardware.boot@1.0-impl.recovery \
|
|
bootctrl.sdm845 \
|
|
bootctrl.sdm845.recovery
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
bootctl
|
|
|
|
# Camera
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.camera.common@1.0.vendor \
|
|
android.hardware.camera.device@3.4.vendor \
|
|
android.hardware.camera.provider@2.4.vendor \
|
|
libgui_shim
|
|
|
|
# Component overrides
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/component-overrides.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sysconfig/component-overrides.xml
|
|
|
|
# Common init scripts
|
|
PRODUCT_PACKAGES += \
|
|
fstab.qcom \
|
|
idd.fstab \
|
|
init.class_main.sh \
|
|
init.msm.usb.configfs.rc \
|
|
init.qcom.early_boot.sh \
|
|
init.qcom.factory.rc \
|
|
init.qcom.msim.sh \
|
|
init.qcom.post_boot.sh \
|
|
init.qcom.power.rc \
|
|
init.qcom.rc \
|
|
init.qcom.sensors.sh \
|
|
init.qcom.sh \
|
|
init.qcom.usb.rc \
|
|
init.qcom.usb.sh \
|
|
init.recovery.qcom.rc \
|
|
init.target.rc \
|
|
qns.fstab \
|
|
sensor_json_transfer.sh \
|
|
ueventd.qcom.rc \
|
|
ueventd.tama.rc
|
|
|
|
# Display
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.graphics.composer@2.3-service \
|
|
android.hardware.graphics.mapper@2.0-impl-qti-display \
|
|
android.hardware.memtrack@1.0-impl \
|
|
android.hardware.memtrack@1.0-service \
|
|
gralloc.sdm845 \
|
|
hwcomposer.sdm845 \
|
|
libdisplayconfig.qti \
|
|
libdisplayconfig.system.qti \
|
|
libqdMetaData \
|
|
libqdMetaData.system \
|
|
libtinyxml \
|
|
memtrack.sdm845 \
|
|
vendor.display.config@1.0.vendor \
|
|
vendor.display.config@2.0 \
|
|
vendor.qti.hardware.display.allocator@1.0-service
|
|
|
|
# DRM
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.drm@1.0-impl \
|
|
android.hardware.drm@1.0-service \
|
|
android.hardware.drm-service.clearkey \
|
|
android.hardware.drm@1.3.vendor
|
|
|
|
# Fingerprint
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.biometrics.fingerprint@2.1.vendor
|
|
|
|
#Gatekeeper
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.gatekeeper@1.0.vendor
|
|
|
|
# GPS
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/gps/flp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/flp.conf \
|
|
$(LOCAL_PATH)/gps/gps.conf:$(TARGET_COPY_OUT_VENDOR)/etc/gps.conf \
|
|
$(LOCAL_PATH)/gps/izat.conf:$(TARGET_COPY_OUT_VENDOR)/etc/izat.conf \
|
|
$(LOCAL_PATH)/gps/lowi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/lowi.conf \
|
|
$(LOCAL_PATH)/gps/sap.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sap.conf \
|
|
$(LOCAL_PATH)/gps/xtwifi.conf:$(TARGET_COPY_OUT_VENDOR)/etc/xtwifi.conf
|
|
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.gnss@2.0.vendor
|
|
|
|
# Health
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.health@2.0-impl \
|
|
android.hardware.health@2.0-service
|
|
|
|
# HIDL
|
|
PRODUCT_PACKAGES += \
|
|
android.hidl.base@1.0 \
|
|
android.hidl.base@1.0.vendor \
|
|
libhidltransport \
|
|
libhidltransport.vendor \
|
|
libhwbinder \
|
|
libhwbinder.vendor
|
|
|
|
# HotwordEnrollement app permissions
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/permissions/privapp-permissions-hotword.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/permissions/privapp-permissions-hotword.xml
|
|
|
|
# IPA
|
|
PRODUCT_PACKAGES += \
|
|
ipacm \
|
|
IPACM_cfg.xml
|
|
|
|
# Keymaster
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.keymaster@4.1.vendor
|
|
|
|
# Lineage Health
|
|
PRODUCT_PACKAGES += \
|
|
vendor.lineage.health-service.default
|
|
|
|
# LiveDisplay
|
|
PRODUCT_PACKAGES += \
|
|
vendor.lineage.livedisplay@2.0-service-sdm
|
|
|
|
# Lights
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.light@2.0-service.sony_sdm845 \
|
|
android.hardware.light@2.0.vendor
|
|
|
|
# Media
|
|
PRODUCT_PACKAGES += \
|
|
libc2dcolorconvert \
|
|
libOmxAacEnc \
|
|
libOmxAmrEnc \
|
|
libOmxCore \
|
|
libOmxEvrcEnc \
|
|
libOmxG711Enc \
|
|
libOmxQcelp13Enc \
|
|
libOmxVdec \
|
|
libOmxVenc \
|
|
libstagefrighthw
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/media_codecs.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs.xml \
|
|
$(LOCAL_PATH)/configs/media_codecs_performance.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_performance.xml \
|
|
$(LOCAL_PATH)/configs/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles.xml \
|
|
$(LOCAL_PATH)/configs/media_profiles.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_V1_0.xml \
|
|
$(LOCAL_PATH)/configs/media_profiles_vendor.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_profiles_vendor.xml \
|
|
$(LOCAL_PATH)/configs/system_properties.xml:$(TARGET_COPY_OUT_VENDOR)/etc/system_properties.xml
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_audio.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_audio.xml \
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_telephony.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_telephony.xml \
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_video.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video.xml \
|
|
frameworks/av/media/libstagefright/data/media_codecs_google_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml
|
|
|
|
# Native libraries whitelist
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
|
|
|
|
# Modem switcher
|
|
PRODUCT_PACKAGES += \
|
|
ModemConfig
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(shell find $(LOCAL_PATH)/modem-config -type f -printf '%p:$(TARGET_COPY_OUT_VENDOR)/modemconf/%P\n')
|
|
|
|
# Net
|
|
PRODUCT_PACKAGES += \
|
|
android.system.net.netd@1.1.vendor \
|
|
netutils-wrapper-1.0
|
|
|
|
# Neural networks
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.neuralnetworks@1.2.vendor
|
|
|
|
# NFC
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.nfc@1.2-service \
|
|
com.android.nfc_extras \
|
|
NfcNci \
|
|
SecureElement \
|
|
Tag
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf
|
|
|
|
# Perfd (dummy)
|
|
PRODUCT_PACKAGES += \
|
|
libqti-perfd-client
|
|
|
|
# Power
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.power@1.3-service.sony_sdm845-libperfmgr \
|
|
android.hardware.power@1.3.vendor
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
|
|
|
# Protobuf
|
|
PRODUCT_PACKAGES += \
|
|
libprotobuf-cpp-full-vendorcompat \
|
|
libprotobuf-cpp-lite-vendorcompat
|
|
|
|
# QTI
|
|
PRODUCT_PACKAGES += \
|
|
libqti_vndfwk_detect.vendor
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/qti_whitelist.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/qti_whitelist.xml \
|
|
$(LOCAL_PATH)/permissions/system_ext-privapp-permissions-qti.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/etc/permissions/privapp-permissions-qti.xml
|
|
|
|
# Radio
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.radio.config@1.3.vendor \
|
|
android.hardware.radio.deprecated@1.0.vendor \
|
|
libjson \
|
|
librmnetctl
|
|
|
|
# RCS
|
|
PRODUCT_PACKAGES += \
|
|
com.android.ims.rcsmanager \
|
|
PresencePolling \
|
|
RcsService
|
|
|
|
# Seccomp policy
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/seccomp/mediacodec-seccomp.policy:$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy/mediacodec.policy
|
|
|
|
# Sensors
|
|
PRODUCT_PACKAGES += \
|
|
android.frameworks.sensorservice@1.0.vendor \
|
|
android.hardware.sensors@2.0.vendor \
|
|
libsensorndkbridge
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(LOCAL_PATH) \
|
|
hardware/google/pixel
|
|
|
|
# Telephony
|
|
PRODUCT_PACKAGES += \
|
|
ims-ext-common \
|
|
ims_ext_common.xml \
|
|
qti-telephony-hidl-wrapper \
|
|
qti_telephony_hidl_wrapper.xml \
|
|
qti-telephony-utils \
|
|
qti_telephony_utils.xml \
|
|
telephony-ext
|
|
|
|
PRODUCT_BOOT_JARS += \
|
|
telephony-ext
|
|
|
|
# Tethering
|
|
PRODUCT_PACKAGES += \
|
|
TetheringConfigOverlay
|
|
|
|
# USB
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.usb@1.3-service.dual_role_usb
|
|
|
|
# Update engine
|
|
PRODUCT_PACKAGES += \
|
|
update_engine \
|
|
update_engine_sideload \
|
|
update_verifier
|
|
|
|
PRODUCT_PACKAGES_DEBUG += \
|
|
update_engine_client
|
|
|
|
# Vibrator
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.vibrator@1.0-impl \
|
|
android.hardware.vibrator@1.0-service
|
|
|
|
# VNDK
|
|
PRODUCT_COPY_FILES += \
|
|
prebuilts/vndk/v33/arm64/arch-arm64-armv8-a/shared/vndk-sp/libutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libutils-v33.so
|
|
|
|
# WiFi
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.wifi-service \
|
|
hostapd \
|
|
libwifi-hal-qcom \
|
|
libwpa_client \
|
|
WifiOverlay \
|
|
wpa_supplicant \
|
|
wpa_supplicant.conf
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(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 \
|
|
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini
|
|
|
|
# WiFi Display
|
|
PRODUCT_PACKAGES += \
|
|
libnl \
|
|
libwfdaac_vendor \
|
|
libavservices_minijail \
|
|
libavservices_minijail_vendor \
|
|
libavservices_minijail.vendor
|
|
|
|
PRODUCT_BOOT_JARS += \
|
|
WfdCommon
|
|
|
|
PRODUCT_DEFAULT_PROPERTY_OVERRIDES += \
|
|
ro.surface_flinger.force_hwc_copy_for_virtual_displays=true \
|
|
ro.surface_flinger.max_virtual_display_dimension=4096
|