633 lines
24 KiB
Makefile
633 lines
24 KiB
Makefile
#
|
|
# Copyright (C) 2021 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/full_base_telephony.mk)
|
|
|
|
# Inherit proprietary targets
|
|
$(call inherit-product-if-exists, vendor/realme/sm7125-common/sm7125-common-vendor.mk)
|
|
|
|
# Enable updating of APEXes
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
# Setup dalvik vm configs
|
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
|
|
|
# Partitions
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
PRODUCT_BOARD_PLATFORM := atoll
|
|
PRODUCT_USES_QCOM_HARDWARE := true
|
|
|
|
# AID/fs configs
|
|
PRODUCT_PACKAGES += \
|
|
fs_config_files
|
|
|
|
# API
|
|
PRODUCT_SHIPPING_API_LEVEL := 29
|
|
|
|
# Audio
|
|
PRODUCT_PACKAGES += \
|
|
libvolumelistener
|
|
|
|
PRODUCT_PACKAGES += \
|
|
audio.usb.default \
|
|
audio.r_submix.default \
|
|
libaudio-resampler
|
|
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.audio@6.0-impl \
|
|
android.hardware.audio.effect@6.0-impl \
|
|
android.hardware.soundtrigger@2.2-impl \
|
|
android.hardware.audio@2.0-service
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
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.audio.low_latency.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.audio.low_latency.xml \
|
|
frameworks/native/data/etc/android.software.midi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.midi.xml
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration.xml:/$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.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/av/services/audiopolicy/config/bluetooth_audio_policy_configuration.xml:/$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/audio/odm/,$(TARGET_COPY_OUT_ODM)/etc) \
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/audio/vendor/,$(TARGET_COPY_OUT_VENDOR)/etc)
|
|
|
|
# AVB
|
|
#PRODUCT_PACKAGES += \
|
|
# q-gsi.avbpubkey \
|
|
# r-gsi.avbpubkey \
|
|
# s-gsi.avbpubkey
|
|
|
|
# Bluetooth
|
|
PRODUCT_PACKAGES += \
|
|
audio.bluetooth.default
|
|
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.bluetooth.audio-impl \
|
|
android.hardware.bluetooth@1.0.vendor \
|
|
vendor.qti.hardware.btconfigstore@1.0.vendor \
|
|
vendor.qti.hardware.btconfigstore@2.0.vendor \
|
|
android.hardware.bluetooth.a2dp@1.0 \
|
|
android.hardware.bluetooth.a2dp@1.0.vendor
|
|
|
|
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
|
|
|
|
# Boot animation
|
|
TARGET_SCREEN_HEIGHT := 2400
|
|
TARGET_SCREEN_WIDTH := 1080
|
|
|
|
# Call recording
|
|
#PRODUCT_PACKAGES += \
|
|
# com.google.android.apps.dialer.call_recording_audio.features.xml
|
|
|
|
# Camera
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.camera.provider@2.4-impl \
|
|
android.hardware.camera.provider@2.4-service_64 \
|
|
libcamera_metadata_shim
|
|
|
|
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 \
|
|
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
|
|
|
|
#CertifiedProps
|
|
$(call inherit-product-if-exists, vendor/certprops/Android.mk)
|
|
|
|
# Display
|
|
PRODUCT_PACKAGES += \
|
|
disable_configstore \
|
|
gralloc.atoll \
|
|
hwcomposer.atoll \
|
|
libdisplayconfig.qti \
|
|
libqdMetaData \
|
|
libgui_vendor \
|
|
memtrack.atoll \
|
|
libsdmcore \
|
|
libsdmutils \
|
|
libvulkan
|
|
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.graphics.composer@2.4-service \
|
|
android.hardware.graphics.mapper@3.0-impl-qti-display \
|
|
android.hardware.graphics.mapper@4.0-impl-qti-display \
|
|
android.hardware.memtrack@1.0-impl \
|
|
android.hardware.memtrack@1.0-service \
|
|
vendor.qti.hardware.display.allocator-service \
|
|
vendor.qti.hardware.display.mapper@1.1.vendor \
|
|
vendor.qti.hardware.display.mapper@2.0.vendor \
|
|
vendor.qti.hardware.display.mapper@3.0.vendor \
|
|
vendor.qti.hardware.display.mapper@4.0.vendor \
|
|
vendor.display.config@1.5 \
|
|
vendor.display.config@1.11.vendor \
|
|
vendor.display.config@2.0 \
|
|
vendor.display.config@2.0.vendor
|
|
|
|
# DRM
|
|
#PRODUCT_PACKAGES += \
|
|
# android.hardware.drm@1.4-service.clearkey
|
|
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.drm@1.0.vendor \
|
|
android.hardware.drm@1.1.vendor \
|
|
android.hardware.drm@1.2.vendor \
|
|
android.hardware.drm@1.3.vendor \
|
|
android.hardware.drm@1.4.vendor
|
|
|
|
# Enable project quotas and casefolding for emulated storage without sdcardfs
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
|
|
|
# Fastbootd
|
|
PRODUCT_PACKAGES += \
|
|
fastbootd
|
|
|
|
# Fingerprint
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.biometrics.fingerprint@2.3-service.realme_sm7125
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
|
|
|
|
#FM
|
|
PRODUCT_PACKAGES += \
|
|
FM2 \
|
|
qcom.fmradio
|
|
|
|
# Freeform Multiwindow
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.software.freeform_window_management.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.freeform_window_management.xml
|
|
|
|
# GPS
|
|
PRODUCT_PACKAGES += \
|
|
libsensorndkbridge
|
|
|
|
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_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.opengles.aep.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.opengles.aep.xml
|
|
|
|
# Health
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.health@2.1-impl-qti \
|
|
android.hardware.health@2.1-service
|
|
|
|
# HIDL
|
|
PRODUCT_PACKAGES += \
|
|
android.hidl.base@1.0 \
|
|
android.hidl.base@1.0.vendor \
|
|
android.hidl.manager@1.0 \
|
|
android.hidl.manager@1.0.vendor
|
|
|
|
PRODUCT_PACKAGES += \
|
|
libhidltransport \
|
|
libhidltransport.vendor \
|
|
libhwbinder \
|
|
libhwbinder.vendor
|
|
|
|
# Init scripts
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/rootdir/etc/fstab.default:$(TARGET_COPY_OUT_RAMDISK)/fstab.default \
|
|
$(LOCAL_PATH)/rootdir/etc/fstab.default:$(TARGET_COPY_OUT_VENDOR)/etc/fstab.default
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/rootdir/etc/odm/,$(TARGET_COPY_OUT_ODM)/etc/init/hw) \
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/rootdir/etc/vendor/,$(TARGET_COPY_OUT_VENDOR)/etc/init/hw)
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/rootdir/bin/,$(TARGET_COPY_OUT_VENDOR)/bin)
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/rootdir/ueventd.rc:$(TARGET_COPY_OUT_VENDOR)/ueventd.rc \
|
|
$(LOCAL_PATH)/recovery/root/init.recovery.qcom.rc:recovery/root/init.recovery.qcom.rc \
|
|
$(LOCAL_PATH)/recovery/root/init.recovery.usb.rc:recovery/root/init.recovery.usb.rc
|
|
|
|
# IPACM
|
|
PRODUCT_PACKAGES += \
|
|
ipacm \
|
|
IPACM_cfg.xml
|
|
|
|
# Keylayout
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl
|
|
|
|
# Lights
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.light@2.0-service.realme_sm7125
|
|
|
|
#Lawnchair
|
|
$(call inherit-product-if-exists, vendor/lawnchair/lawnchair.mk)
|
|
|
|
# LiveDisplay
|
|
PRODUCT_PACKAGES += \
|
|
vendor.lineage.livedisplay@2.0-service-sdm
|
|
|
|
# Media
|
|
PRODUCT_PACKAGES += \
|
|
libmm-omxcore \
|
|
libOmxAacEnc \
|
|
libOmxAmrEnc \
|
|
libOmxCore \
|
|
libOmxEvrcEnc \
|
|
libOmxG711Enc \
|
|
libOmxQcelp13Enc \
|
|
libOmxVdec \
|
|
libOmxVenc \
|
|
libstagefrighthw
|
|
|
|
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
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/configs/media/vendor,$(TARGET_COPY_OUT_VENDOR)/etc) \
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/configs/media/odm/,$(TARGET_COPY_OUT_ODM)/etc)
|
|
|
|
# Minijail
|
|
PRODUCT_PACKAGES += \
|
|
libminijail \
|
|
libavservices_minijail \
|
|
libavservices_minijail.vendor
|
|
|
|
# Network
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.software.ipsec_tunnels.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.ipsec_tunnels.xml
|
|
|
|
# NFC
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.nfc@1.2-service \
|
|
com.android.nfc_extras \
|
|
NfcNci \
|
|
android.hardware.secure_element@1.0-service-disabled \
|
|
SecureElement \
|
|
Tag
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/nfc/libese-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libese-nxp.conf \
|
|
$(LOCAL_PATH)/configs/nfc/nfc_features.xml:$(TARGET_COPY_OUT_ODM)/etc/permissions/sku_nfc/nfc_features.xml
|
|
|
|
#NotchBar Killer
|
|
PRODUCT_PACKAGES += \
|
|
NotchBarKiller \
|
|
NoCutoutOverlay
|
|
|
|
# Overlays
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
$(LOCAL_PATH)/overlay \
|
|
$(LOCAL_PATH)/overlay-lineage
|
|
|
|
# Perf
|
|
PRODUCT_PACKAGES += \
|
|
vendor.qti.hardware.perf@2.2.vendor
|
|
|
|
#Product Properties (CAF)
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.soc.manufacturer=QTI
|
|
|
|
PRODUCT_PROPERTY_OVERRIDES += \
|
|
ro.soc.model=SM7125
|
|
|
|
# Power
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.power-service.lineage-libperfmgr \
|
|
android.hardware.power@1.2.vendor \
|
|
libqti-perfd-client
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/configs/powerhint.json:$(TARGET_COPY_OUT_VENDOR)/etc/powerhint.json
|
|
|
|
#performance critical applications
|
|
PRODUCT_DEXPREOPT_SPEED_APPS += \
|
|
Settings \
|
|
SystemUI
|
|
|
|
#Protobuf
|
|
PRODUCT_PACKAGES += \
|
|
libprotobuf-cpp-full-3.9.1-vendorcompat \
|
|
libprotobuf-cpp-lite-3.9.1
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
prebuilts/vndk/v29/arm/arch-arm-armv7-a-neon/shared/vndk-core/libprotobuf-cpp-full.so:$(TARGET_COPY_OUT_VENDOR)/lib/libprotobuf-cpp-full.so \
|
|
prebuilts/vndk/v29/arm64/arch-arm64-armv8-a/shared/vndk-core/libprotobuf-cpp-full.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libprotobuf-cpp-full.so
|
|
|
|
# QTI FWK Detect
|
|
PRODUCT_PACKAGES += \
|
|
libqti_vndfwk_detect.vendor \
|
|
libvndfwk_detect_jni.qti.vendor
|
|
|
|
# RCS
|
|
PRODUCT_PACKAGES += \
|
|
com.android.ims.rcsmanager \
|
|
PresencePolling \
|
|
RcsService
|
|
|
|
# RealmeParts
|
|
PRODUCT_PACKAGES += \
|
|
RealmeParts
|
|
|
|
# RIL
|
|
PRODUCT_PACKAGES += \
|
|
libjson \
|
|
librmnetctl
|
|
|
|
# Sensors
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.sensors@2.0-service.multihal_realme_sm7125
|
|
|
|
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.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.sensor.barometer.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.barometer.xml \
|
|
frameworks/native/data/etc/android.hardware.sensor.hifi_sensors.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.sensor.hifi_sensors.xml
|
|
|
|
# Servicetracker
|
|
PRODUCT_PACKAGES += \
|
|
vendor.qti.hardware.servicetracker@1.0.vendor \
|
|
vendor.qti.hardware.servicetracker@1.1.vendor \
|
|
vendor.qti.hardware.servicetracker@1.2.vendor
|
|
|
|
# Soong namespaces
|
|
PRODUCT_SOONG_NAMESPACES += \
|
|
$(LOCAL_PATH) \
|
|
kernel/realme/sm7125 \
|
|
hardware/google/interfaces \
|
|
hardware/google/pixel \
|
|
hardware/lineage/interfaces/power-libperfmgr \
|
|
hardware/oplus \
|
|
hardware/qcom-caf/common/libqti-perfd-client
|
|
|
|
|
|
# Speed profile services and wifi-service to reduce RAM and storage
|
|
PRODUCT_SYSTEM_SERVER_COMPILER_FILTER := speed-profile
|
|
PRODUCT_ALWAYS_PREOPT_EXTRACTED_APK := true
|
|
|
|
# Telephony
|
|
PRODUCT_PACKAGES += \
|
|
extphonelib \
|
|
extphonelib-product \
|
|
extphonelib.xml \
|
|
extphonelib_product.xml \
|
|
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_BOOT_JARS += \
|
|
telephony-ext
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
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.gsm.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.telephony.gsm.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.software.sip.voip.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.sip.voip.xml
|
|
|
|
# Tethering
|
|
PRODUCT_PACKAGES += \
|
|
TetheringConfigOverlay
|
|
|
|
# TextClassifier
|
|
#PRODUCT_PACKAGES += \
|
|
# textclassifier.bundle1
|
|
|
|
# Touchscreen
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml
|
|
|
|
# USB
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.usb@1.0-service
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
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
|
|
|
|
# Vibrator
|
|
PRODUCT_PACKAGES += \
|
|
vendor.qti.hardware.vibrator.service
|
|
|
|
# VNDK
|
|
PRODUCT_PACKAGES += \
|
|
vndk_package
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
prebuilts/vndk/v30/arm64/arch-arm64-armv8-a/shared/vndk-core/libgui.so:$(TARGET_COPY_OUT_SYSTEM)/lib64/libxxx.so \
|
|
prebuilts/vndk/v30/arm64/arch-arm-armv8-a/shared/vndk-core/libgui.so:$(TARGET_COPY_OUT_SYSTEM)/lib6/libxxx.so \
|
|
|
|
# Vulkan
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.vulkan.compute-0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.compute.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/android.hardware.vulkan.level-1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.level.xml \
|
|
frameworks/native/data/etc/android.hardware.vulkan.version-1_1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.vulkan.version.xml
|
|
|
|
# WiFi
|
|
PRODUCT_PACKAGES += \
|
|
android.hardware.wifi-service \
|
|
hostapd \
|
|
libwifi-hal-qcom \
|
|
libwpa_client \
|
|
WifiOverlay \
|
|
wpa_cli \
|
|
wpa_supplicant \
|
|
wpa_supplicant.conf
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/wifi/wpa_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/wpa_supplicant_overlay.conf \
|
|
$(LOCAL_PATH)/wifi/p2p_supplicant_overlay.conf:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/p2p_supplicant_overlay.conf \
|
|
$(LOCAL_PATH)/wifi/WCNSS_qcom_cfg.ini:$(TARGET_COPY_OUT_VENDOR)/etc/wifi/WCNSS_qcom_cfg.ini
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
frameworks/native/data/etc/android.hardware.wifi.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.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.rtt.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.rtt.xml \
|
|
frameworks/native/data/etc/android.hardware.wifi.aware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.wifi.aware.xml
|
|
|
|
# WiFi Display
|
|
PRODUCT_PACKAGES += \
|
|
libnl \
|
|
libwfdaac_vendor
|
|
|
|
#PRODUCT_BOOT_JARS += \
|
|
WfdCommon
|
|
|
|
# Build Specific VNDK 30 Libs for Android 12+
|
|
PRODUCT_PACKAGES += \
|
|
android.frameworks.automotive.display@1.0.vendor \
|
|
android.frameworks.cameraservice.common@2.0.vendor \
|
|
android.frameworks.cameraservice.device@2.0.vendor \
|
|
android.frameworks.cameraservice.service@2.0.vendor \
|
|
android.frameworks.cameraservice.service@2.1.vendor \
|
|
android.frameworks.displayservice@1.0.vendor \
|
|
android.frameworks.schedulerservice@1.0.vendor \
|
|
android.frameworks.stats@1.0.vendor \
|
|
android.hardware.atrace@1.0.vendor \
|
|
android.frameworks.sensorservice@1.0.vendor \
|
|
android.hardware.audio.common@4.0.vendor \
|
|
android.hardware.audio.common@5.0.vendor \
|
|
android.hardware.audio.common@6.0.vendor \
|
|
android.hardware.audio.effect@2.0.vendor \
|
|
android.hardware.audio.effect@4.0.vendor \
|
|
android.hardware.audio.effect@5.0.vendor \
|
|
android.hardware.audio.effect@6.0.vendor \
|
|
android.hardware.audio@2.0.vendor \
|
|
android.hardware.audio@4.0.vendor \
|
|
android.hardware.audio@5.0.vendor \
|
|
android.hardware.audio@6.0.vendor \
|
|
android.hardware.authsecret@1.0.vendor \
|
|
android.hardware.automotive.audiocontrol@1.0.vendor \
|
|
android.hardware.automotive.audiocontrol@2.0.vendor \
|
|
android.hardware.automotive.can@1.0.vendor \
|
|
android.hardware.automotive.evs@1.0.vendor \
|
|
android.hardware.automotive.evs@1.1.vendor \
|
|
android.hardware.automotive.sv@1.0.vendor \
|
|
android.hardware.automotive.vehicle@2.0.vendor \
|
|
android.hardware.biometrics.face@1.0.vendor \
|
|
android.hardware.biometrics.fingerprint@2.1.vendor \
|
|
android.hardware.biometrics.fingerprint@2.2.vendor \
|
|
android.hardware.biometrics.fingerprint@2.3.vendor \
|
|
android.hardware.bluetooth.audio@2.0.vendor \
|
|
android.hardware.bluetooth@1.0.vendor \
|
|
android.hardware.bluetooth@1.1.vendor \
|
|
android.hardware.boot@1.0.vendor \
|
|
android.hardware.boot@1.1.vendor \
|
|
android.hardware.broadcastradio@1.0.vendor \
|
|
android.hardware.broadcastradio@1.1.vendor \
|
|
android.hardware.broadcastradio@2.0.vendor \
|
|
android.hardware.camera.common@1.0.vendor \
|
|
android.hardware.camera.device@1.0.vendor \
|
|
android.hardware.camera.device@3.2.vendor \
|
|
android.hardware.camera.device@3.3.vendor \
|
|
android.hardware.camera.device@3.4.vendor \
|
|
android.hardware.camera.device@3.5.vendor \
|
|
android.hardware.camera.device@3.6.vendor \
|
|
android.hardware.camera.metadata@3.2.vendor \
|
|
android.hardware.camera.metadata@3.3.vendor \
|
|
android.hardware.camera.metadata@3.4.vendor \
|
|
android.hardware.camera.metadata@3.5.vendor \
|
|
android.hardware.camera.provider@2.4.vendor \
|
|
android.hardware.camera.provider@2.5.vendor \
|
|
android.hardware.camera.provider@2.6.vendor \
|
|
android.hardware.cas.native@1.0.vendor \
|
|
android.hardware.cas@1.0.vendor \
|
|
android.hardware.cas@1.1.vendor \
|
|
android.hardware.cas@1.2.vendor \
|
|
android.hardware.common-V1-ndk_platform.vendor \
|
|
android.hardware.confirmationui@1.0.vendor \
|
|
android.hardware.contexthub@1.0.vendor \
|
|
android.hardware.contexthub@1.1.vendor \
|
|
android.hardware.dumpstate@1.0.vendor \
|
|
android.hardware.dumpstate@1.1.vendor \
|
|
android.hardware.fastboot@1.0.vendor \
|
|
android.hardware.gatekeeper@1.0.vendor \
|
|
android.hardware.gnss.measurement_corrections@1.0.vendor \
|
|
android.hardware.gnss.measurement_corrections@1.1.vendor \
|
|
android.hardware.gnss.visibility_control@1.0.vendor \
|
|
android.hardware.gnss@1.0.vendor \
|
|
android.hardware.gnss@1.1.vendor \
|
|
android.hardware.gnss@2.0.vendor \
|
|
android.hardware.gnss@2.1.vendor \
|
|
android.hardware.graphics.common-V1-ndk_platform.vendor \
|
|
android.hardware.graphics.composer@2.1.vendor \
|
|
android.hardware.graphics.composer@2.2.vendor \
|
|
android.hardware.graphics.composer@2.3.vendor \
|
|
android.hardware.graphics.composer@2.4.vendor \
|
|
android.hardware.input.classifier@1.0.vendor \
|
|
android.hardware.input.common@1.0.vendor \
|
|
android.hardware.ir@1.0.vendor \
|
|
android.hardware.keymaster@3.0.vendor \
|
|
android.hardware.keymaster@4.0.vendor \
|
|
android.hardware.keymaster@4.1.vendor \
|
|
android.hardware.light@2.0.vendor \
|
|
android.hardware.media.bufferpool@1.0.vendor \
|
|
android.hardware.media.c2@1.0.vendor \
|
|
android.hardware.media.c2@1.1.vendor \
|
|
android.hardware.neuralnetworks@1.0.vendor \
|
|
android.hardware.neuralnetworks@1.1.vendor \
|
|
android.hardware.neuralnetworks@1.2.vendor \
|
|
android.hardware.neuralnetworks@1.3.vendor \
|
|
android.hardware.nfc@1.0.vendor \
|
|
android.hardware.nfc@1.1.vendor \
|
|
android.hardware.nfc@1.2.vendor \
|
|
android.hardware.oemlock@1.0.vendor \
|
|
android.hardware.radio.config@1.0.vendor \
|
|
android.hardware.radio.config@1.1.vendor \
|
|
android.hardware.radio.config@1.2.vendor \
|
|
android.hardware.radio.deprecated@1.0.vendor \
|
|
android.hardware.radio@1.0.vendor \
|
|
android.hardware.radio@1.1.vendor \
|
|
android.hardware.radio@1.2.vendor \
|
|
android.hardware.radio@1.3.vendor \
|
|
android.hardware.radio@1.4.vendor \
|
|
android.hardware.radio@1.5.vendor \
|
|
android.hardware.secure_element@1.0.vendor \
|
|
android.hardware.secure_element@1.1.vendor \
|
|
android.hardware.secure_element@1.2.vendor \
|
|
android.hardware.tetheroffload.config@1.0.vendor \
|
|
android.hardware.tetheroffload.control@1.0.vendor \
|
|
android.hardware.thermal@1.0.vendor \
|
|
android.hardware.thermal@1.1.vendor \
|
|
android.hardware.thermal@2.0.vendor \
|
|
android.hardware.tv.cec@1.0.vendor \
|
|
android.hardware.tv.input@1.0.vendor \
|
|
android.hardware.tv.tuner@1.0.vendor \
|
|
android.hardware.usb.gadget@1.0.vendor \
|
|
android.hardware.usb.gadget@1.1.vendor \
|
|
android.hardware.usb@1.0.vendor \
|
|
android.hardware.usb@1.1.vendor \
|
|
android.hardware.usb@1.2.vendor \
|
|
android.hardware.vibrator@1.0.vendor \
|
|
android.hardware.vibrator@1.1.vendor \
|
|
android.hardware.vibrator@1.2.vendor \
|
|
android.hardware.vibrator@1.3.vendor \
|
|
android.hardware.vr@1.0.vendor \
|
|
android.hardware.weaver@1.0.vendor \
|
|
android.hardware.wifi.hostapd@1.0.vendor \
|
|
android.hardware.wifi.hostapd@1.1.vendor \
|
|
android.hardware.wifi.hostapd@1.2.vendor \
|
|
android.hardware.wifi.supplicant@1.0.vendor \
|
|
android.hardware.wifi.supplicant@1.1.vendor \
|
|
android.hardware.wifi.supplicant@1.2.vendor \
|
|
android.hardware.wifi.supplicant@1.3.vendor \
|
|
android.hardware.wifi@1.0.vendor \
|
|
android.hardware.wifi@1.1.vendor \
|
|
android.hardware.wifi@1.2.vendor \
|
|
android.hardware.wifi@1.3.vendor \
|
|
android.hardware.wifi@1.4.vendor \
|
|
android.hidl.allocator@1.0.vendor \
|
|
android.hidl.memory.block@1.0.vendor \
|
|
android.system.net.netd@1.0.vendor \
|
|
android.system.net.netd@1.1.vendor \
|
|
android.system.wifi.keystore@1.0.vendor \
|
|
libstdc++_vendor \
|
|
vendor.qti.hardware.camera.device@1.0.vendor \
|
|
android.hardware.health.storage@1.0.vendor \
|
|
android.hardware.health@1.0.vendor \
|
|
android.hardware.health@2.0.vendor \
|
|
android.hardware.health@2.1.vendor \
|
|
android.hardware.power.stats@1.0.vendor
|