forked from moto-sm6225/android_device_motorola_capri
-
Notifications
You must be signed in to change notification settings - Fork 0
/
device.mk
58 lines (46 loc) · 1.62 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
#
# Copyright (C) 2022 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 += \
vbmeta_system \
vendor_boot
# 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
# NFC
PRODUCT_PACKAGES += \
# Overlay
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage
# Permissions
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/permissions/unavail.android.hardware.sensor.compass.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/unavail.android.hardware.sensor.compass.xml
# Rootdir
PRODUCT_PACKAGES += \
fstab.qcom \
init.oem.fingerprint.sh \
init.oem.fingerprint2.sh \
init.mmi.overlay.rc
# Shipping API level
PRODUCT_SHIPPING_API_LEVEL := 30
# Vendor ramdisk
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/fstab.qcom_ramdisk:$(TARGET_COPY_OUT_VENDOR_RAMDISK)/first_stage_ramdisk/fstab.qcom
# Get non-open-source specific aspects
$(call inherit-product, vendor/motorola/capri/capri-vendor.mk)