2023-10-13 11:44:49 -07:00
|
|
|
#
|
|
|
|
# Copyright (C) 2023 The LineageOS Project
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
#
|
|
|
|
|
2023-02-27 06:33:13 -08:00
|
|
|
# A/B
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/launch_with_vendor_ramdisk.mk)
|
|
|
|
|
2023-02-27 10:36:08 -08:00
|
|
|
AB_OTA_UPDATER := true
|
|
|
|
AB_OTA_PARTITIONS := \
|
|
|
|
boot \
|
2023-10-15 06:58:25 -07:00
|
|
|
odm_dlkm \
|
2023-02-27 10:36:08 -08:00
|
|
|
product \
|
|
|
|
system \
|
2023-04-01 02:27:43 -07:00
|
|
|
system_ext \
|
2023-02-27 10:36:08 -08:00
|
|
|
vbmeta \
|
|
|
|
vbmeta_system \
|
|
|
|
vbmeta_vendor \
|
|
|
|
vendor \
|
2023-03-18 08:09:51 -07:00
|
|
|
vendor_boot \
|
|
|
|
vendor_dlkm
|
2023-02-27 10:36:08 -08:00
|
|
|
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
|
RUN_POSTINSTALL_system=true \
|
|
|
|
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
|
2023-05-12 10:25:04 -07:00
|
|
|
FILESYSTEM_TYPE_system=$(BOARD_SYSTEMIMAGE_FILE_SYSTEM_TYPE) \
|
2023-02-27 10:36:08 -08:00
|
|
|
POSTINSTALL_OPTIONAL_system=true
|
|
|
|
|
|
|
|
AB_OTA_POSTINSTALL_CONFIG += \
|
|
|
|
RUN_POSTINSTALL_vendor=true \
|
|
|
|
POSTINSTALL_PATH_vendor=bin/checkpoint_gc \
|
2023-05-12 10:25:04 -07:00
|
|
|
FILESYSTEM_TYPE_vendor=$(BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE) \
|
2023-02-27 10:36:08 -08:00
|
|
|
POSTINSTALL_OPTIONAL_vendor=true
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
update_engine \
|
2023-03-03 02:46:52 -08:00
|
|
|
update_engine_sideload \
|
2023-02-27 10:36:08 -08:00
|
|
|
update_verifier \
|
|
|
|
otapreopt_script \
|
|
|
|
checkpoint_gc
|
|
|
|
|
2023-03-31 09:52:07 -07:00
|
|
|
# Allow userspace reboots
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/userspace_reboot.mk)
|
|
|
|
|
2024-07-16 16:21:01 -07:00
|
|
|
# AAPT
|
|
|
|
PRODUCT_AAPT_CONFIG := normal
|
|
|
|
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
|
|
|
|
2023-12-07 08:17:56 -08:00
|
|
|
# Audio
|
|
|
|
PRODUCT_PACKAGES += \
|
2022-09-24 08:04:25 -07:00
|
|
|
android.hardware.audio.service.mediatek \
|
2023-12-07 08:17:56 -08:00
|
|
|
android.hardware.audio.effect@7.0-impl \
|
2024-07-16 16:06:14 -07:00
|
|
|
android.hardware.audio@7.0-impl \
|
|
|
|
android.hardware.soundtrigger@2.3-impl
|
2023-12-07 08:17:56 -08:00
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2024-07-16 16:06:14 -07:00
|
|
|
audio.primary.default \
|
|
|
|
audio.r_submix.default \
|
|
|
|
audio.usb.default \
|
|
|
|
audio_policy.stub
|
2023-12-07 08:17:56 -08:00
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
2024-07-16 16:06:14 -07:00
|
|
|
libaudiofoundation.vendor \
|
2024-07-16 23:13:09 -07:00
|
|
|
libalsautils \
|
|
|
|
libnbaio_mono \
|
|
|
|
libtinycompress \
|
2023-12-07 08:17:56 -08:00
|
|
|
libdynproc \
|
|
|
|
libhapticgenerator
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/configs/audio/,$(TARGET_COPY_OUT_VENDOR)/etc)
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
2024-07-16 17:08:42 -07:00
|
|
|
frameworks/av/services/audiopolicy/config/a2dp_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_audio_policy_configuration.xml \
|
2023-12-07 08:17:56 -08:00
|
|
|
frameworks/av/services/audiopolicy/config/a2dp_in_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/a2dp_in_audio_policy_configuration.xml \
|
|
|
|
frameworks/av/services/audiopolicy/config/bluetooth_audio_policy_configuration_7_0.xml:$(TARGET_COPY_OUT_VENDOR)/etc/bluetooth_audio_policy_configuration.xml \
|
2024-07-16 17:08:42 -07:00
|
|
|
frameworks/av/services/audiopolicy/config/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
|
2023-12-07 08:17:56 -08:00
|
|
|
frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/r_submix_audio_policy_configuration.xml
|
|
|
|
|
2023-12-09 02:01:31 -08:00
|
|
|
# Bluetooth
|
|
|
|
PRODUCT_PACKAGES += \
|
2024-07-16 16:06:14 -07:00
|
|
|
android.hardware.bluetooth.audio-impl \
|
|
|
|
android.hardware.bluetooth@1.1.vendor \
|
|
|
|
audio.bluetooth.default \
|
|
|
|
libbluetooth_audio_session
|
2023-12-09 02:01:31 -08:00
|
|
|
|
2023-02-28 04:58:05 -08:00
|
|
|
# Boot control HAL
|
|
|
|
PRODUCT_PACKAGES += \
|
2023-03-02 11:57:04 -08:00
|
|
|
android.hardware.boot@1.2-service \
|
2023-07-22 01:15:05 -07:00
|
|
|
android.hardware.boot@1.2-impl:64 \
|
|
|
|
android.hardware.boot@1.2-impl.recovery
|
2023-02-28 04:58:05 -08:00
|
|
|
|
2024-07-16 16:11:32 -07:00
|
|
|
# Camera
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.camera.common@1.0.vendor \
|
|
|
|
android.hardware.camera.device@3.6.vendor \
|
|
|
|
android.hardware.camera.provider@2.6.vendor
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libdng_sdk.vendor
|
|
|
|
|
2024-07-16 16:50:37 -07:00
|
|
|
# CAS
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.cas@1.2-service-lazy
|
|
|
|
|
|
|
|
# Codec2 modules
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
com.android.media.swcodec \
|
|
|
|
libsfplugin_ccodec
|
|
|
|
|
|
|
|
# Disable SF configstore
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
disable_configstore
|
|
|
|
|
2024-01-21 17:28:14 -08:00
|
|
|
# Cgroup
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
system/core/libprocessgroup/profiles/cgroups_30.json:$(TARGET_COPY_OUT_VENDOR)/etc/cgroups.json \
|
|
|
|
$(LOCAL_PATH)/configs/task_profiles.json:$(TARGET_COPY_OUT_VENDOR)/etc/task_profiles.json
|
|
|
|
|
2023-03-08 06:18:05 -08:00
|
|
|
# Dalvik configs
|
|
|
|
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
|
|
|
|
|
2024-07-16 16:50:37 -07:00
|
|
|
# DebugFS
|
|
|
|
PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
|
|
|
|
|
2023-12-06 19:50:54 -08:00
|
|
|
# Display
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.graphics.composer@2.3-service \
|
|
|
|
android.hardware.memtrack-service.mediatek-mali
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.graphics.allocator@4.0.vendor \
|
2024-07-16 23:42:17 -07:00
|
|
|
android.hardware.graphics.mapper@4.0.vendor \
|
|
|
|
libdrm.vendor
|
2023-12-06 19:50:54 -08:00
|
|
|
|
2023-07-19 12:16:11 -07:00
|
|
|
# DRM
|
|
|
|
PRODUCT_PACKAGES += \
|
2024-07-16 23:42:17 -07:00
|
|
|
android.hardware.drm-service.clearkey
|
2023-07-19 12:16:11 -07:00
|
|
|
|
2023-07-25 04:59:56 -07:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.drm@1.4.vendor
|
|
|
|
|
2023-02-27 06:31:40 -08:00
|
|
|
# Dynamic partitions
|
|
|
|
PRODUCT_USE_DYNAMIC_PARTITIONS := true
|
|
|
|
|
2024-07-16 16:50:37 -07:00
|
|
|
# Dex
|
|
|
|
PRODUCT_DEXPREOPT_SPEED_APPS += \
|
|
|
|
Settings \
|
|
|
|
SystemUI \
|
|
|
|
SystemUIGoogle
|
|
|
|
|
2023-03-03 02:48:06 -08:00
|
|
|
# Enforce generic ramdisk allow list
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
|
|
|
|
|
2023-03-02 11:59:57 -08:00
|
|
|
# FastbootD
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.fastboot@1.1-impl-mock \
|
|
|
|
fastbootd
|
|
|
|
|
2023-12-11 08:13:32 -08:00
|
|
|
# Fingerprint
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.biometrics.fingerprint@2.1.vendor:64
|
|
|
|
|
2023-12-07 17:18:11 -08:00
|
|
|
# Gatekeeper
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.gatekeeper@1.0-impl \
|
|
|
|
android.hardware.gatekeeper@1.0-service
|
|
|
|
|
2023-12-13 08:12:47 -08:00
|
|
|
# GNSS
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.gnss.measurement_corrections@1.1.vendor \
|
|
|
|
android.hardware.gnss.visibility_control@1.0.vendor \
|
|
|
|
android.hardware.gnss@1.1.vendor \
|
|
|
|
android.hardware.gnss@2.1.vendor \
|
|
|
|
android.hardware.gnss-V1-ndk.vendor
|
|
|
|
|
2023-03-02 12:01:14 -08:00
|
|
|
# Health
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.health@2.1-service \
|
|
|
|
android.hardware.health@2.1-impl \
|
|
|
|
android.hardware.health@2.1-impl.recovery
|
|
|
|
|
2023-06-13 07:14:40 -07:00
|
|
|
# HIDL
|
|
|
|
PRODUCT_PACKAGES += \
|
2024-07-16 23:13:09 -07:00
|
|
|
android.hidl.base@1.0 \
|
|
|
|
android.hidl.allocator@1.0 \
|
|
|
|
android.hidl.base@1.0.vendor \
|
2023-07-20 06:56:18 -07:00
|
|
|
android.hidl.allocator@1.0.vendor \
|
2023-10-21 00:42:28 -07:00
|
|
|
libhidltransport \
|
2023-06-13 07:14:40 -07:00
|
|
|
libhidltransport.vendor \
|
2024-07-16 23:13:09 -07:00
|
|
|
libhwbinder \
|
2023-06-13 07:14:40 -07:00
|
|
|
libhwbinder.vendor
|
|
|
|
|
2023-07-24 10:27:29 -07:00
|
|
|
# IMS
|
|
|
|
PRODUCT_BOOT_JARS += \
|
|
|
|
mediatek-common \
|
|
|
|
mediatek-framework \
|
|
|
|
mediatek-ims-base \
|
|
|
|
mediatek-ims-common \
|
|
|
|
mediatek-telecom-common \
|
|
|
|
mediatek-telephony-base \
|
|
|
|
mediatek-telephony-common
|
|
|
|
|
2024-07-16 17:27:20 -07:00
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libshim_sink
|
|
|
|
|
2023-07-24 10:27:29 -07:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/privapp-permissions-com.mediatek.ims.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/privapp-permissions-com.mediatek.ims.xml
|
|
|
|
|
2022-09-17 23:41:23 -07:00
|
|
|
# Inherit several Android Go Configurations (Beneficial for everyone, even on non-Go devices)
|
|
|
|
PRODUCT_USE_PROFILE_FOR_BOOT_IMAGE := true
|
|
|
|
PRODUCT_DEX_PREOPT_BOOT_IMAGE_PROFILE_LOCATION := frameworks/base/config/boot-image-profile.txt
|
|
|
|
|
2023-02-27 10:47:19 -08:00
|
|
|
# Init files
|
|
|
|
PRODUCT_PACKAGES += \
|
2023-12-05 18:29:48 -08:00
|
|
|
fstab.mt6789 \
|
|
|
|
fstab.mt6789.vendor_ramdisk \
|
|
|
|
init_connectivity.rc \
|
|
|
|
init.cgroup.rc \
|
|
|
|
init.connectivity.common.rc \
|
|
|
|
init.connectivity.rc \
|
|
|
|
init.insmod.sh \
|
|
|
|
init.insmod.mt6789.cfg \
|
|
|
|
init.modem.rc \
|
|
|
|
init.mt6789.rc \
|
|
|
|
init.mt6789.usb.rc \
|
|
|
|
init.mtkgki.rc \
|
|
|
|
init.project.rc \
|
|
|
|
init.recovery.usb.rc \
|
|
|
|
init.sensor_2_0.rc \
|
|
|
|
ueventd.mt6789.rc
|
2023-02-27 10:47:19 -08:00
|
|
|
|
2023-03-03 02:48:40 -08:00
|
|
|
# Include GSI keys
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk)
|
|
|
|
|
2023-12-10 18:06:56 -08:00
|
|
|
# Keylayout
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/keylayout/mtk-tpd.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/mtk-tpd.kl
|
|
|
|
|
2023-01-23 09:59:15 -08:00
|
|
|
# Enable DM file pre-opting to reduce first boot time
|
|
|
|
PRODUCT_DEX_PREOPT_GENERATE_DM_FILES := true
|
|
|
|
|
2023-12-08 10:05:51 -08:00
|
|
|
# Keymaster
|
|
|
|
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
|
|
|
|
|
2023-12-08 17:31:13 -08:00
|
|
|
# Keymint
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.security.keymint-V1-ndk_platform.vendor \
|
|
|
|
android.hardware.security.secureclock-V1-ndk_platform.vendor \
|
|
|
|
android.hardware.security.sharedsecret-V1-ndk_platform.vendor \
|
|
|
|
libcppbor_external.vendor:64
|
|
|
|
|
2023-12-12 10:01:00 -08:00
|
|
|
# Lights
|
|
|
|
PRODUCT_PACKAGES += \
|
2024-07-16 16:16:56 -07:00
|
|
|
android.hardware.light-V1-ndk.vendor
|
2023-12-12 10:01:00 -08:00
|
|
|
|
2023-12-12 18:42:40 -08:00
|
|
|
# Media
|
|
|
|
PRODUCT_PACKAGES += \
|
2024-07-16 23:43:25 -07:00
|
|
|
android.hardware.media.c2@1.0.vendor:64 \
|
|
|
|
android.hardware.media.c2@1.1.vendor:64 \
|
|
|
|
android.hardware.media.c2@1.2.vendor:64 \
|
|
|
|
libcodec2_hidl@1.2.vendor:64 \
|
|
|
|
libcodec2_hidl_plugin:64 \
|
|
|
|
libcodec2_vndk.vendor:64 \
|
|
|
|
libeffects:64 \
|
|
|
|
libeffectsconfig.vendor:64 \
|
2023-12-12 18:42:40 -08:00
|
|
|
libavservices_minijail_vendor \
|
|
|
|
libstagefright_softomx_plugin.vendor \
|
|
|
|
libsfplugin_ccodec_utils.vendor \
|
2024-07-16 16:21:01 -07:00
|
|
|
libcodec2_soft_common.vendor \
|
|
|
|
libflatbuffers-cpp.vendor
|
2023-12-12 18:42:40 -08:00
|
|
|
|
|
|
|
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_video_le.xml:$(TARGET_COPY_OUT_VENDOR)/etc/media_codecs_google_video_le.xml
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/configs/seccomp,$(TARGET_COPY_OUT_VENDOR)/etc/seccomp_policy) \
|
|
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/configs/media,$(TARGET_COPY_OUT_VENDOR)/etc)
|
|
|
|
|
2024-07-16 16:21:01 -07:00
|
|
|
# Misc
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libchrome.vendor \
|
2024-07-16 23:42:17 -07:00
|
|
|
libruy.vendor \
|
|
|
|
libpcap.vendor \
|
2024-07-16 16:21:01 -07:00
|
|
|
libtextclassifier_hash.vendor
|
|
|
|
|
2022-07-20 11:07:58 -07:00
|
|
|
# MTK In-call service
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
MtkInCallService
|
|
|
|
|
2024-06-08 14:23:09 -07:00
|
|
|
# Neural networks
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.neuralnetworks@1.0.vendor \
|
|
|
|
android.hardware.neuralnetworks@1.3.vendor
|
|
|
|
|
2023-12-10 02:25:33 -08:00
|
|
|
# NFC
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.nfc@1.2.vendor \
|
|
|
|
com.android.nfc_extras \
|
|
|
|
NfcNci \
|
|
|
|
SecureElement \
|
|
|
|
Tag
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/nfc/libnfc-nci.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nci.conf \
|
|
|
|
$(LOCAL_PATH)/configs/nfc/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf \
|
|
|
|
$(LOCAL_PATH)/configs/nfc/libnfc-slm.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-slm.conf \
|
|
|
|
$(LOCAL_PATH)/configs/nfc/libnfc-nxp_RF.conf:$(TARGET_COPY_OUT_VENDOR)/libnfc-nxp_RF.conf
|
|
|
|
|
2023-10-15 08:03:05 -07:00
|
|
|
# Overlays
|
|
|
|
PRODUCT_PACKAGES += \
|
2023-07-25 06:22:20 -07:00
|
|
|
CarrierConfigOverlay \
|
2023-10-15 17:17:49 -07:00
|
|
|
FrameworksResOverlay \
|
2023-07-24 10:27:29 -07:00
|
|
|
SettingsResOverlay \
|
|
|
|
TelephonyOverlay
|
2023-10-15 08:03:05 -07:00
|
|
|
|
2022-10-31 13:59:52 -07:00
|
|
|
# Lineage-Specific Overlays
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
ApertureOverlay
|
|
|
|
|
2023-12-09 05:58:08 -08:00
|
|
|
# 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.bluetooth.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.bluetooth.xml \
|
2024-06-09 08:33:17 -07:00
|
|
|
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.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 \
|
2023-12-09 05:58:08 -08:00
|
|
|
frameworks/native/data/etc/android.hardware.camera.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.camera.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.faketouch.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.faketouch.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 \
|
2024-06-09 08:33:17 -07:00
|
|
|
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
|
2023-12-09 05:58:08 -08:00
|
|
|
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.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.se.omapi.uicc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.uicc.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.distinct.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.distinct.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.touchscreen.multitouch.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.multitouch.xml \
|
|
|
|
frameworks/native/data/etc/android.hardware.touchscreen.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.touchscreen.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.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 \
|
|
|
|
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.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 \
|
2024-07-16 23:10:04 -07:00
|
|
|
frameworks/native/data/etc/android.software.opengles.deqp.level-2021-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.opengles.deqp.level.xml \
|
2023-12-09 05:58:08 -08:00
|
|
|
frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml \
|
2024-07-16 23:10:04 -07:00
|
|
|
frameworks/native/data/etc/android.software.vulkan.deqp.level-2021-03-01.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.vulkan.deqp.level.xml \
|
2023-12-10 02:25:33 -08:00
|
|
|
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml \
|
2023-12-09 05:58:08 -08:00
|
|
|
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/handheld_core_hardware.xml
|
|
|
|
|
2023-12-06 20:11:04 -08:00
|
|
|
# Power
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.power-service-mediatek \
|
2024-04-16 23:12:47 -07:00
|
|
|
android.hardware.power-V2-ndk.vendor \
|
2024-06-12 08:19:03 -07:00
|
|
|
android.hardware.power@1.3.vendor \
|
2023-12-06 20:11:04 -08:00
|
|
|
vendor.mediatek.hardware.mtkpower@1.2.vendor
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/perf/power_app_cfg.xml:$(TARGET_COPY_OUT_VENDOR)/etc/power_app_cfg.xml \
|
|
|
|
$(LOCAL_PATH)/configs/perf/powercontable.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powercontable.xml \
|
|
|
|
$(LOCAL_PATH)/configs/perf/powerscntbl.xml:$(TARGET_COPY_OUT_VENDOR)/etc/powerscntbl.xml
|
|
|
|
|
2022-11-28 08:09:23 -08:00
|
|
|
# Project ID Quota
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
|
|
|
|
|
2023-07-26 04:17:16 -07:00
|
|
|
# PowerOffAlarm
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
PowerOffAlarm
|
|
|
|
|
2023-07-24 02:22:51 -07:00
|
|
|
# Properties
|
|
|
|
include $(LOCAL_PATH)/vendor_logtag.mk
|
|
|
|
|
2024-01-07 02:40:01 -08:00
|
|
|
# Public Libraries
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/public.libraries.txt:$(TARGET_COPY_OUT_VENDOR)/etc/public.libraries.txt
|
|
|
|
|
2023-12-10 17:10:41 -08:00
|
|
|
# Radio
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.radio.config@1.3.vendor \
|
|
|
|
android.hardware.radio@1.6.vendor
|
|
|
|
|
2023-12-10 17:59:29 -08:00
|
|
|
# Secure Element
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.secure_element@1.2.vendor
|
|
|
|
|
2023-12-09 01:54:57 -08:00
|
|
|
# Sensors
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
libsensorndkbridge \
|
|
|
|
android.hardware.sensors@1.0.vendor \
|
|
|
|
android.hardware.sensors@2.1.vendor \
|
|
|
|
android.frameworks.sensorservice@1.0.vendor \
|
|
|
|
android.hardware.sensors@2.1-service.multihal \
|
|
|
|
android.hardware.sensors@2.0-ScopedWakelock.vendor
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(LOCAL_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
|
|
|
|
|
2023-10-13 11:44:49 -07:00
|
|
|
# Shipping API level
|
|
|
|
PRODUCT_SHIPPING_API_LEVEL := 31
|
|
|
|
|
|
|
|
# Soong namespaces
|
|
|
|
PRODUCT_SOONG_NAMESPACES += \
|
2023-02-28 04:58:05 -08:00
|
|
|
$(LOCAL_PATH) \
|
2023-12-12 09:59:21 -08:00
|
|
|
hardware/mediatek \
|
|
|
|
hardware/transsion
|
2023-10-13 11:44:49 -07:00
|
|
|
|
2023-12-12 23:48:37 -08:00
|
|
|
# Thermal
|
|
|
|
PRODUCT_PACKAGES += \
|
2024-07-16 23:42:17 -07:00
|
|
|
android.hardware.thermal@1.0-impl \
|
2023-12-12 23:48:37 -08:00
|
|
|
android.hardware.thermal@2.0.vendor
|
|
|
|
|
2022-09-12 11:04:17 -07:00
|
|
|
# Updatable APEXes
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
|
|
|
|
|
2023-12-12 22:58:42 -08:00
|
|
|
# USB
|
|
|
|
PRODUCT_PACKAGES += \
|
2024-07-16 23:10:04 -07:00
|
|
|
android.hardware.usb@1.3.vendor \
|
|
|
|
android.hardware.usb.gadget@1.1.vendor
|
2023-12-12 22:58:42 -08:00
|
|
|
|
2024-07-16 16:13:34 -07:00
|
|
|
# VNDK
|
2024-07-16 23:42:17 -07:00
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
prebuilts/vndk/v31/arm64/arch-arm-armv8-a/shared/vndk-core/libbinder.so:$(TARGET_COPY_OUT_VENDOR)/lib/libbinder-v31.so \
|
|
|
|
prebuilts/vndk/v31/arm64/arch-arm-armv8-a/shared/vndk-sp/libhidlbase.so:$(TARGET_COPY_OUT_VENDOR)/lib/libhidlbase-v31.so \
|
|
|
|
prebuilts/vndk/v31/arm64/arch-arm-armv8-a/shared/vndk-sp/libutils.so:$(TARGET_COPY_OUT_VENDOR)/lib/libutils-v31.so \
|
|
|
|
prebuilts/vndk/v32/arm64/arch-arm-armv8-a/shared/vndk-sp/libutils.so:$(TARGET_COPY_OUT_VENDOR)/lib/libutils-v32.so \
|
|
|
|
prebuilts/vndk/v31/arm64/arch-arm64-armv8-a/shared/vndk-core/libbinder.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libbinder-v31.so \
|
|
|
|
prebuilts/vndk/v31/arm64/arch-arm64-armv8-a/shared/vndk-sp/libhidlbase.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libhidlbase-v31.so \
|
|
|
|
prebuilts/vndk/v31/arm64/arch-arm64-armv8-a/shared/vndk-sp/libutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libutils-v31.so \
|
|
|
|
prebuilts/vndk/v32/arm64/arch-arm64-armv8-a/shared/vndk-sp/libutils.so:$(TARGET_COPY_OUT_VENDOR)/lib64/libutils-v32.so
|
2024-07-16 16:13:34 -07:00
|
|
|
|
2023-12-09 01:23:01 -08:00
|
|
|
# Wi-Fi
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
wpa_supplicant \
|
|
|
|
hostapd \
|
|
|
|
android.hardware.wifi@1.0-service-lazy
|
|
|
|
|
|
|
|
PRODUCT_PACKAGES += \
|
|
|
|
android.hardware.tetheroffload.config@1.0.vendor \
|
|
|
|
android.hardware.tetheroffload.control@1.0.vendor \
|
|
|
|
android.hardware.tetheroffload.control@1.1.vendor
|
|
|
|
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
|
|
$(call find-copy-subdir-files,*,$(LOCAL_PATH)/configs/wifi/,$(TARGET_COPY_OUT_VENDOR)/etc/wifi)
|
|
|
|
|
2023-10-13 11:44:49 -07:00
|
|
|
# Inherit the proprietary files
|
2024-05-22 05:40:46 -07:00
|
|
|
$(call inherit-product, vendor/tecno/LG8n/LG8n-vendor.mk)
|