android_device_samsung_a20/device.mk
2025-09-18 17:21:57 +00:00

32 lines
925 B
Makefile

# Copyright (C) 2025 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
# Target Info
TARGET_SOC := exynos7884B
TARGET_DEVICE := a20
# Inherit common device configuration
$(call inherit-product, device/samsung/exynos7885-common/exynos7885-common.mk)
# Inherit proprietary files setup
$(call inherit-product, vendor/samsung/a20/a20-vendor.mk)
# Inherit dalvik config
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
# Display resolution
TARGET_SCREEN_HEIGHT := 1560
TARGET_SCREEN_WIDTH := 720
# Fingerprint
PRODUCT_PACKAGES += \
android.hardware.biometrics.fingerprint@2.3-service.samsung
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.fingerprint.xml
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(LOCAL_PATH)
# Overlay
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay