android_device_samsung_e1q/device.mk

142 lines
3.5 KiB
Makefile
Raw Normal View History

2024-10-19 16:55:36 +09:00
#
# Copyright (C) 2024 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
2024-10-28 01:49:23 +09:00
# Enable project quotas and casefolding for emulated storage without sdcardfs
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
# Enforce generic ramdisk allow list
$(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)
# Dalvik
$(call inherit-product, frameworks/native/build/phone-xhdpi-6144-dalvik-heap.mk)
2024-10-19 16:55:36 +09:00
# Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
2024-10-28 01:49:23 +09:00
# Add common definitions for Qualcomm
$(call inherit-product, hardware/qcom-caf/common/common.mk)
2024-10-19 16:55:36 +09:00
# API levels
2024-11-03 05:01:48 +09:00
BOARD_SHIPPING_API_LEVEL := 34
PRODUCT_SHIPPING_API_LEVEL := $(BOARD_SHIPPING_API_LEVEL)
# Boot animation
TARGET_SCREEN_HEIGHT := 3120
TARGET_SCREEN_WIDTH := 1440
2024-10-19 16:55:36 +09:00
2024-10-28 01:49:23 +09:00
# DebugFS
PRODUCT_SET_DEBUGFS_RESTRICTIONS := true
2024-10-19 16:55:36 +09:00
# fastbootd
PRODUCT_PACKAGES += \
android.hardware.fastboot@1.1-impl-mock \
fastbootd
2024-11-03 05:01:48 +09:00
# Keymint
PRODUCT_PACKAGES += \
android.hardware.hardware_keystore.xml \
android.hardware.security.sharedsecret-V2-ndk.vendor \
android.hardware.weaver-V2-ndk.vendor
2024-10-19 16:55:36 +09:00
# Overlays
PRODUCT_ENFORCE_RRO_TARGETS := *
# Partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Product characteristics
PRODUCT_CHARACTERISTICS := phone
2024-11-03 05:01:48 +09:00
# Protobuf
PRODUCT_PACKAGES += \
libprotobuf-cpp-full-3.9.1-vendorcompat
# QMI
PRODUCT_PACKAGES += \
libjsoncpp.vendor
2024-10-19 16:55:36 +09:00
# Rootdir
PRODUCT_PACKAGES += \
dcc_extension.sh \
hdm_status.sh \
init.class_main.sh \
init.crda.sh \
init.kernel.post_boot-cliffs.sh \
init.kernel.post_boot-pineapple.sh \
init.kernel.post_boot.sh \
init.mdm.sh \
init.qcom.class_core.sh \
init.qcom.coex.sh \
init.qcom.early_boot.sh \
init.qcom.efs.sync.sh \
init.qcom.post_boot.sh \
init.qcom.sdio.sh \
init.qcom.sensors.sh \
init.qcom.sh \
init.qcom.usb.sh \
init.qti.display_boot.sh \
init.qti.kernel.debug-cliffs.sh \
init.qti.kernel.debug-pineapple.sh \
init.qti.kernel.debug.sh \
init.qti.kernel.early_debug-pineapple.sh \
init.qti.kernel.early_debug.sh \
init.qti.kernel.sh \
init.qti.media.sh \
init.qti.qcv.sh \
init.qti.time.daemon.sh \
init.qti.write.sh \
init.vendor.sensordebug.sh \
init.vendor.sensordebug.ssr_dump.sh \
install-recovery.sh \
qca6234-service.sh \
system_dlkm_modprobe.sh \
vendor_modprobe.sh \
PRODUCT_PACKAGES += \
fstab.qcom \
init.e3q.rc \
init.qcom.factory.rc \
init.qcom.rc \
init.qcom.usb.rc \
init.qti.kernel.rc \
init.qti.ss-ramdump.sh \
init.qti.ufs.rc \
init.samsung.bsp.rc \
init.samsung.display.rc \
init.samsung.dp.rc \
init.samsung.factory.rc \
init.samsung.power.rc \
init.samsung.rc \
init.samsung.user.rc \
init.target.rc \
init.recovery.qcom.rc \
init.recovery.samsung.rc \
PRODUCT_COPY_FILES += \
2024-10-28 01:49:23 +09:00
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/fstab.qcom
2024-10-19 16:55:36 +09:00
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
2024-10-28 01:49:23 +09:00
$(LOCAL_PATH) \
hardware/samsung \
kernel/samsung/sm8650 \
kernel/samsung/sm8650-modules
2024-10-19 16:55:36 +09:00
2024-11-03 05:01:48 +09:00
# Vendor service manager
PRODUCT_PACKAGES += \
vndservicemanager
# Verified Boot
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.verified_boot.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.software.verified_boot.xml
# VNDK
PRODUCT_PACKAGES += \
libcrypto-v33
2024-10-19 16:55:36 +09:00
# Inherit the proprietary files
$(call inherit-product, vendor/samsung/e3q/e3q-vendor.mk)