-
Notifications
You must be signed in to change notification settings - Fork 7
/
device.mk
77 lines (61 loc) · 1.84 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
#
# Copyright (C) 2022 Team Win Recovery Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(DEVICE_PATH)
# Casefolding
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
# Props for a Successful Casefold Format
PRODUCT_PROPERTY_OVERRIDES += \
ro.crypto.dm_default_key.options_format.version=2 \
ro.crypto.volume.metadata.method=dm-default-key \
ro.crypto.volume.options=::v2
# Display
TARGET_SCREEN_HEIGHT := 2340
TARGET_SCREEN_WIDTH := 1080
PRODUCT_SOONG_NAMESPACES += \
vendor/qcom/opensource/commonsys-intf/display
# SHIPPING API
PRODUCT_SHIPPING_API_LEVEL := 30
# Assert
TARGET_OTA_ASSERT_DEVICE := raphael
# BootHal
PRODUCT_PACKAGES += \
# Default FS type
BOARD_USERDATAIMAGE_FILE_SYSTEM_TYPE := f2fs
# Crypto
PRODUCT_PACKAGES += \
qcom_decrypt \
qcom_decrypt_fbe
# Dynamic Partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# EROFS-utils
PRODUCT_PACKAGES += \
erofs-utils
# Fastbootd
TW_INCLUDE_FASTBOOTD := true
PRODUCT_PACKAGES += \
fastbootd
# Recovery
TARGET_RECOVERY_DEVICE_MODULES += \
libion \
libxml2 \
libdisplayconfig.qti
TW_RECOVERY_ADDITIONAL_RELINK_LIBRARY_FILES += \
$(TARGET_OUT_SHARED_LIBRARIES)/libion.so \
$(TARGET_OUT_SHARED_LIBRARIES)/libxml2.so \
$(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/[email protected] \
$(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/[email protected] \
$(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/libdisplayconfig.qti.so
# Vibrator
TW_SUPPORT_INPUT_AIDL_HAPTICS := true