mirror of
https://github.com/Evolution-X-Devices/device_xiaomi_polaris
synced 2026-02-01 10:38:35 +00:00
* Stock vendor manifest from MIUI 8.9.20 Change-Id: Ie073fd4d71180f7e9c0b05b78018cb03fbf1ccb5
58 lines
1.4 KiB
Makefile
58 lines
1.4 KiB
Makefile
#
|
|
# Copyright (C) 2018 The LineageOS Project
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
#
|
|
|
|
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o.mk)
|
|
|
|
# Get non-open-source specific aspects
|
|
$(call inherit-product-if-exists, vendor/xiaomi/polaris/polaris-vendor.mk)
|
|
|
|
# Boot animation
|
|
TARGET_SCREEN_HEIGHT := 2160
|
|
TARGET_SCREEN_WIDTH := 1080
|
|
|
|
# Overlays
|
|
DEVICE_PACKAGE_OVERLAYS += \
|
|
$(LOCAL_PATH)/overlay \
|
|
$(LOCAL_PATH)/overlay-lineage
|
|
|
|
# Properties
|
|
-include $(LOCAL_PATH)/device-props.mk
|
|
|
|
# Screen density
|
|
PRODUCT_AAPT_CONFIG := normal
|
|
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
|
|
|
|
# Inherit from sdm845-common
|
|
$(call inherit-product, device/xiaomi/sdm845-common/sdm845.mk)
|
|
|
|
# Device init scripts
|
|
PRODUCT_PACKAGES += \
|
|
init.target.rc
|
|
|
|
# HIDL
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/manifest.xml:system/etc/manifest.xml
|
|
|
|
# Input
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/idc/uinput-fpc.idc:system/usr/idc/uinput-fpc.idc \
|
|
$(LOCAL_PATH)/idc/uinput-goodix.idc:system/usr/idc/uinput-goodix.idc
|
|
|
|
PRODUCT_COPY_FILES += \
|
|
$(LOCAL_PATH)/keylayout/gpio-keys.kl:system/usr/keylayout/gpio-keys.kl \
|
|
$(LOCAL_PATH)/keylayout/uinput-fpc.kl:system/usr/keylayout/uinput-fpc.kl \
|
|
$(LOCAL_PATH)/keylayout/uinput-goodix.kl:system/usr/keylayout/uinput-goodix.kl
|
|
|
|
# NFC
|
|
PRODUCT_PACKAGES += \
|
|
com.android.nfc_extras \
|
|
com.nxp.nfc.nq \
|
|
nqnfcee_access.xml \
|
|
nqnfcse_access.xml \
|
|
NQNfcNci \
|
|
SecureElement \
|
|
Tag
|