Files
device_xiaomi_polaris/device.mk
Bruno Martins cd70d7844e polaris: Switch to NQ NFC stack
* So that it matches prebuilt vendor. On a sidenote, this was
   moved from the common tree to the individual device trees,
   because not all the targets support NFC.

Change-Id: Ic600594bc073ef3883225fb01039b1953a880807
2018-10-02 10:48:08 +01:00

50 lines
1.3 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)
# 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