-
Notifications
You must be signed in to change notification settings - Fork 2
/
device.mk
37 lines (29 loc) · 892 Bytes
/
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
#
# Copyright (C) 2022 The Android Open Source Project
# Copyright (C) 2022 SebaUbuntu's TWRP device tree generator
#
# SPDX-License-Identifier: Apache-2.0
#
LOCAL_PATH := device/xiaomi/cannon
# Dynamic Partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Fastbootd
TW_INCLUDE_FASTBOOTD := true
# Keystore
PRODUCT_PACKAGES += \
android.system.keystore2
# API
PRODUCT_TARGET_VNDK_VERSION := 31
PRODUCT_SHIPPING_API_LEVEL := 29
# Vibrator
PRODUCT_PACKAGES += \
# Additional binaries & libraries needed for recovery
TARGET_RECOVERY_DEVICE_MODULES += \
libkeymaster41 \
libkeymaster4 \
libpuresoftkeymasterdevice
RECOVERY_LIBRARY_SOURCE_FILES += \
$(TARGET_OUT_SHARED_LIBRARIES)/libkeymaster41.so \
$(TARGET_OUT_SHARED_LIBRARIES)/libkeymaster4.so \
$(TARGET_OUT_SHARED_LIBRARIES)/libpuresoftkeymasterdevice.so