-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevice.mk
More file actions
85 lines (64 loc) · 1.79 KB
/
device.mk
File metadata and controls
85 lines (64 loc) · 1.79 KB
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
78
79
80
81
82
83
84
85
#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from sm6125-common
$(call inherit-product, device/xiaomi/sm6125-common/common.mk)
# EvolutionX flags
TARGET_USES_PICO_GAPPS := true
PRODUCT_PACKAGES += \
RemovePackagesLaurel
DEVICE_PATH := device/xiaomi/laurel_sprout
# AAPT
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xhdpi
# A/B
PRODUCT_PACKAGES += \
android.hardware.boot-service.qti \
android.hardware.boot-service.qti.recovery
$(call soong_config_set,QTI_GPT_UTILS,USE_BSG_FRAMEWORK,false)
PRODUCT_PACKAGES_DEBUG += \
bootctl
AB_OTA_POSTINSTALL_CONFIG += \
RUN_POSTINSTALL_system=true \
POSTINSTALL_PATH_system=system/bin/otapreopt_script \
FILESYSTEM_TYPE_system=ext4 \
POSTINSTALL_OPTIONAL_system=true
PRODUCT_PACKAGES += \
update_engine \
update_engine_sideload \
update_verifier
PRODUCT_PACKAGES += \
checkpoint_gc \
otapreopt_script
# Audio configs
PRODUCT_COPY_FILES += \
$(call find-copy-subdir-files,*,$(DEVICE_PATH)/audio/,$(TARGET_COPY_OUT_VENDOR)/etc)
# Boot animation
TARGET_SCREEN_HEIGHT := 1280
TARGET_SCREEN_WIDTH := 720
# Fingerprint
PRODUCT_PACKAGES += \
libudfpshandler
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(DEVICE_PATH)/overlay \
$(DEVICE_PATH)/overlay-lineage \
$(DEVICE_PATH)/overlay-evolution
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \
$(DEVICE_PATH)/overlay-lineage/packages/apps/Aperture
# Rootdir
PRODUCT_PACKAGES += \
fstab.qcom \
fstab.zram
PRODUCT_PACKAGES += \
init.device.rc \
init.fingerprint.rc
# Shipping API level
PRODUCT_SHIPPING_API_LEVEL := 28
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(DEVICE_PATH)
# Inherit from vendor blobs
$(call inherit-product, vendor/xiaomi/laurel_sprout/laurel_sprout-vendor.mk)