forked from LineageOS/android_device_google_wahoo
-
Notifications
You must be signed in to change notification settings - Fork 1
/
device-lineage.mk
62 lines (49 loc) · 1.55 KB
/
device-lineage.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
# Overlays
DEVICE_PACKAGE_OVERLAYS += device/google/wahoo/overlay-lineage
# EUICC feature
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.telephony.euicc.xml:$(TARGET_COPY_OUT_SYSTEM)/etc/permissions/android.hardware.telephony.euicc.xml
# Kernel headers
PRODUCT_VENDOR_KERNEL_HEADERS := device/google/wahoo/kernel-headers
# IMS
PRODUCT_PACKAGES += \
com.android.ims.rcsmanager \
RcsService \
PresencePolling
# Force triple frame buffers
PRODUCT_PROPERTY_OVERRIDES += \
ro.surface_flinger.max_frame_buffer_acquired_buffers=3
# Snap
PRODUCT_PACKAGES += \
Snap
# Build vendor img
AB_OTA_PARTITIONS += \
vendor
# Build necessary packages for vendor
PRODUCT_PACKAGES += \
ese-ls-provision \
ese-replay \
libjson \
libsensorndkbridge:32 \
libtinyxml
# Add missing vendor props
PRODUCT_PROPERTY_OVERRIDES += \
drm.service.enabled=true \
media.mediadrmservice.enable=true \
ro.oem_unlock.pst_offset=6144 \
ro.oem_unlock.pst=/dev/block/platform/soc/1da4000.ufshc/by-name/misc \
ro.hardware.egl=adreno \
ro.gfx.driver.0=com.google.pixel.wahoo.gfxdrv
# Setting vendor SPL
VENDOR_SECURITY_PATCH := "2019-08-01"
# Shared java libs
PRODUCT_PACKAGES += \
com.android.nfc_extras
# MiFare Permissions file
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/com.nxp.mifare.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/com.nxp.mifare.xml
# Google Assistant
PRODUCT_SYSTEM_DEFAULT_PROPERTIES += ro.opa.eligible_device=true
# Trust HAL
PRODUCT_PACKAGES += \