lemonadep: Move some parts from common

Following adding support for lunaa and martini

Change-Id: Idaab654774f31bf8bfc44d87f3779ea6cc8db94b
This commit is contained in:
pjgowtham
2023-03-02 08:25:21 +05:30
committed by Michael Bestas
parent 9aa14fa755
commit 3ebd863242
6 changed files with 997 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
#
# Copyright (C) 2021-2022 The LineageOS Project
# Copyright (C) 2021-2023 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
@@ -8,6 +8,11 @@
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xxxhdpi
# Alert slider
PRODUCT_PACKAGES += \
KeyHandler \
tri-state-key-calibrate
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_platform_info_intcodec.xml:$(TARGET_COPY_OUT_ODM)/etc/audio_platform_info.xml \
@@ -23,6 +28,23 @@ PRODUCT_COPY_FILES += \
TARGET_SCREEN_HEIGHT := 2376
TARGET_SCREEN_WIDTH := 1080
# NFC
PRODUCT_PACKAGES += \
android.hardware.nfc_snxxx@1.2-service \
android.hardware.secure_element@1.2.vendor \
com.android.nfc_extras \
Tag
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.nfc.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.ese.xml \
frameworks/native/data/etc/android.hardware.nfc.hce.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hce.xml \
frameworks/native/data/etc/android.hardware.nfc.hcef.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.hcef.xml \
frameworks/native/data/etc/android.hardware.nfc.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.nfc.xml \
frameworks/native/data/etc/android.hardware.se.omapi.ese.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/android.hardware.se.omapi.ese.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/com.android.nfc_extras.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.android.nfc_extras.xml \
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay-lineage
@@ -32,6 +54,10 @@ PRODUCT_PACKAGES += \
OPlusSettingsProviderResTarget \
OPlusSystemUIResTarget
# PowerShare
PRODUCT_PACKAGES += \
vendor.lineage.powershare@1.0-service.oplus
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)