-
Notifications
You must be signed in to change notification settings - Fork 0
/
device.mk
59 lines (46 loc) · 1.31 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
#
# Copyright (C) 2023 The Android Open Source Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Configure base.mk
$(call inherit-product, $(SRC_TARGET_DIR)/product/base.mk)
# Configure core_64_bit_only.mk
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit_only.mk)
# Configure Virtual A/B
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota.mk)
# Configure virtual_ab compression.mk
$(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/compression.mk)
# Configure emulated_storage.mk
$(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk)
# Configure twrp common.mk
$(call inherit-product, vendor/twrp/config/common.mk)
# A/B
BOARD_EXCLUDE_KERNEL_FROM_RECOVERY_IMAGE := true
BOARD_BUILD_SYSTEM_ROOT_IMAGE := false
AB_OTA_UPDATER := true
AB_OTA_PARTITIONS += \
boot \
init_boot \
vendor_boot \
dtbo \
vbmeta \
vbmeta_system \
odm \
product \
system \
system_ext \
system_dlkm \
vendor \
vendor_dlkm
PRODUCT_PACKAGES += \
bootctrl.realme_sm8550.recovery \
android.hardware.boot@1.2-impl-qti.recovery
# SHIPPING API
PRODUCT_SHIPPING_API_LEVEL := 31
# VNDK API
PRODUCT_TARGET_VNDK_VERSION := 34
# Dynamic partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(DEVICE_PATH)