-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
53 lines (39 loc) · 1.44 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
#
# 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)
PRODUCT_PACKAGES += \
bootctrl.xiaomi_sm6225.recovery \
# SHIPPING API
PRODUCT_SHIPPING_API_LEVEL := 31
# VNDK API
PRODUCT_TARGET_VNDK_VERSION := 33
# Dynamic partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += $(DEVICE_PATH)
# Vibrator
TARGET_RECOVERY_DEVICE_MODULES += \
vendor.qti.hardware.vibrator.service \
vendor.qti.hardware.vibrator.impl \
libqtivibratoreffect
RECOVERY_LIBRARY_SOURCE_FILES += \
$(TARGET_OUT_VENDOR_EXECUTABLES)/hw/vendor.qti.hardware.vibrator.service \
$(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/vendor.qti.hardware.vibrator.impl.so \
$(TARGET_OUT_VENDOR_SHARED_LIBRARIES)/libqtivibratoreffect.so
TWRP_REQUIRED_MODULES += \
miui_prebuilt