forked from edward0181/android_device_samsung_a13ve
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
76 lines (57 loc) · 1.71 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
#
# Copyright (C) 2024 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Enable updating of APEXes
$(call inherit-product, $(SRC_TARGET_DIR)/product/updatable_apex.mk)
# Dalvik VM Configuration
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
# Installs gsi keys into ramdisk, to boot a developer GSI with verified boot.
$(call inherit-product, $(SRC_TARGET_DIR)/product/developer_gsi_keys.mk)
# Binder
PRODUCT_PACKAGES += \
PRODUCT_PACKAGES += \
libhidltransport \
libhidltransport.vendor \
libhwbinder.vendor \
libhwbinder
# Display
TARGET_SCREEN_DENSITY := 320
# https://m.gsmarena.com/samsung_galaxy_a13-11402.php
TARGET_SCREEN_HEIGHT := 2408
TARGET_SCREEN_WIDTH := 1080
PRODUCT_PACKAGES += \
disable_configstore
PRODUCT_PACKAGES += \
create_pl_dev \
create_pl_dev.recovery
# Dynamic Partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
PRODUCT_PACKAGES += \
fastbootd
# Init
PRODUCT_PACKAGES += \
fstab.mt6768 \
fstab.mt6768.ramdisk \
init.recovery.mt6768.rc
# Overlays
PRODUCT_ENFORCE_RRO_TARGETS := *
# Shipping API level
PRODUCT_SHIPPING_API_LEVEL := 31
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH) \
hardware/mediatek \
hardware/samsung
# Sensors
PRODUCT_PACKAGES += \
android.hardware.sensors-service.samsung-multihal \
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/sensors/hals.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/hals.conf
# Inherit the proprietary files
$(call inherit-product, vendor/samsung/a13ve/a13ve-vendor.mk)