-
Notifications
You must be signed in to change notification settings - Fork 2
/
device.mk
50 lines (40 loc) · 1.38 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
#
# SPDX-FileCopyrightText: 2022-2024 The LineageOS Project
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from sm6225-common
$(call inherit-product, device/motorola/sm6225-common/bengal.mk)
# A/B
AB_OTA_PARTITIONS += \
recovery
# Audio - Configs
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
$(LOCAL_PATH)/audio/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
$(LOCAL_PATH)/audio/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths.xml
# Boot animation
TARGET_SCREEN_HEIGHT := 1600
TARGET_SCREEN_WIDTH := 720
# Lights
PRODUCT_PACKAGES += \
android.hardware.lights-service.bengal
# Overlay
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage
# Rootdir
PRODUCT_PACKAGES += \
fstab.qcom \
init.oem.fingerprint.sh \
init.oem.fingerprint2.sh \
init.mmi.overlay.rc \
init.recovery.touch.rc
# Shipping API level
BOARD_SHIPPING_API_LEVEL := 29
PRODUCT_SHIPPING_API_LEVEL := 29
# Ramdisk
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/fstab.qcom_ramdisk:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom
# Get non-open-source specific aspects
$(call inherit-product, vendor/motorola/guam/guam-vendor.mk)