device_wephone/duoqin/duoqin_f21pro.mk
2023-11-16 13:32:41 -05:00

72 lines
2.2 KiB
Makefile

#
# All components inherited here go to system image
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system.mk)
# Enable mainline checking
# PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
#
# All components inherited here go to system_ext image
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/handheld_system_ext.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/telephony_system_ext.mk)
#
# All components inherited here go to product image
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_product.mk)
#
# Special settings for GSI releasing
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_release.mk)
PRODUCT_NAME := duoqin_f21pro
PRODUCT_DEVICE := duoqin
PRODUCT_BRAND := wephone
PRODUCT_MODEL := Duoqin F21pro - wePhone
# This is for a device
PRODUCT_CHARACTERISTICS := device
PRODUCT_PACKAGE_OVERLAYS += device/wephone/duoqin/overlay
PRODUCT_COPY_FILES += \
device/wephone/duoqin/wephone.rc:$(TARGET_COPY_OUT_SYSTEM)/etc/init/wephone.rc \
device/wephone/duoqin/wephone-boot.sh:$(TARGET_COPY_OUT_SYSTEM)/bin/wephone_boot.sh
PRODUCT_COPY_FILES += \
device/wephone/duoqin/files/mtk-kpd.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-kpd.idc \
device/wephone/duoqin/files/mtk-kpd.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/mtk-kpd.kcm \
device/wephone/duoqin/files/mtk-kpd.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-kpd.kl \
device/wephone/duoqin/files/mtk-pmic-keys.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-pmic-keys.idc \
device/wephone/duoqin/files/mtk-pmic-keys.kcm:$(TARGET_COPY_OUT_SYSTEM)/usr/keychars/mtk-pmic-keys.kcm \
device/wephone/duoqin/files/mtk-pmic-keys.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-pmic-keys.kl \
device/wephone/duoqin/files/Vendor_0001_Product_0001_Version_0100.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/Vendor_0001_Product_0001_Version_0100.kl
PRODUCT_PACKAGES += \
BromiteSystemWebView \
Conversations \
Davx5 \
DeskClock \
Etar \
ExactCalculator \
FairEmail \
FDroid \
Gallery2 \
K9Mail \
Linphone \
Nextcloud \
NextcloudNotes \
OpenDocumentReader \
Wireguard
PRODUCT_PACKAGES -= \
EasterEgg \
webview \
libwebviewchromium_loader \
libwebviewchromium_plat_support