-
Notifications
You must be signed in to change notification settings - Fork 1
/
device.mk
118 lines (96 loc) · 3.61 KB
/
device.mk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#
# Copyright (C) 2019 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/ulefone/bretzel/bretzel-vendor.mk)
# Vendor properties
-include $(LOCAL_PATH)/vendor_props.mk
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay
# Product characteristics
PRODUCT_AAPT_CONFIG := xxhdpi
PRODUCT_AAPT_PREF_CONFIG := xxhdpi
# Boot animation
TARGET_SCREEN_HEIGHT := 1440
TARGET_SCREEN_WIDTH := 720
# A/B
AB_OTA_UPDATER := false
# Audio
PRODUCT_PACKAGES += \
audio.a2dp.default \
libaacwrapper
# Camera
PRODUCT_PACKAGES += \
Snap
# HIDL
PRODUCT_PACKAGES += \
[email protected]_system \
[email protected]_system \
libhidltransport \
libhidltransport.vendor \
libhwbinder \
libhwbinder.vendor
# Display
PRODUCT_PACKAGES += \
libvulkan \
libRSDriver_mtk
# Dex
PRODUCT_DEXPREOPT_SPEED_APPS += \
SystemUI
# Init cripts
PRODUCT_PACKAGES += \
fstab.enableswap \
init.mt6763.rc \
fstab.mt6763 \
init.safailnet.rc \
fstab.mt6763_ramdisk
# Keylayouts
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/idc/mtk-kpd.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-kpd.idc \
$(LOCAL_PATH)/idc/mtk-pad.idc:$(TARGET_COPY_OUT_SYSTEM)/usr/idc/mtk-pad.idc \
$(LOCAL_PATH)/keylayout/ACCDET.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/ACCDET.kl \
$(LOCAL_PATH)/keylayout/mtk-kpd.kl:$(TARGET_COPY_OUT_SYSTEM)/usr/keylayout/mtk-kpd.kl
# KPOC
PRODUCT_PACKAGES += \
libsuspend
# NFC
PRODUCT_PACKAGES += \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
[email protected]:64 \
com.android.nfc_extras \
NfcNci \
Tag
PRODUCT_BOOT_JARS += \
com.st.android.nfc_extensions \
com.st.android.nfc_dta_extensions
# Permissions
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.software.secure_lock_screen.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.software.secure_lock_screen.xml \
frameworks/native/data/etc/android.hardware.fingerprint.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.fingerprint.xml \
frameworks/native/data/etc/android.hardware.faketouch.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.faketouch.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.distinct.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.multitouch.distinct.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.jazzhand.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.touchscreen.multitouch.jazzhand.xml \
frameworks/native/data/etc/android.hardware.touchscreen.multitouch.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.touchscreen.multitouch.xml \
frameworks/native/data/etc/android.hardware.usb.host.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.usb.host.xml \
frameworks/native/data/etc/handheld_core_hardware.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/handheld_core_hardware.xml \
frameworks/native/data/etc/android.hardware.camera.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.camera.xml
# LiveDisplay
PRODUCT_PACKAGES += \
# Shims
PRODUCT_PACKAGES += \
libshim_showlogo
# Flipendo
PRODUCT_PACKAGES += \
Flipendo
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/Flipendo/pixel_experience_2020.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/sysconfig/pixel_experience_2020.xml
# VNDK
PRODUCT_TARGET_VNDK_VERSION := 28
PRODUCT_EXTRA_VNDK_VERSIONS := 28