-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
34 lines (28 loc) · 1.09 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
#
# Copyright (C) 2024 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from xiaomi sm8450-common
$(call inherit-product, device/xiaomi/sm8450-common/common.mk)
# Inherit from the proprietary version
$(call inherit-product, vendor/xiaomi/zizhan/zizhan-vendor.mk)
# Display configurations
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/display/display_id_4630946220589295746.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/displayconfig/display_id_4630946220589295746.xml \
$(LOCAL_PATH)/configs/display/display_id_4630946220589295747.xml:$(TARGET_COPY_OUT_PRODUCT)/etc/displayconfig/display_id_4630946220589295747.xml
# Hinge angle sensor
PRODUCT_COPY_FILES += \
frameworks/native/data/etc/android.hardware.sensor.hinge_angle.xml:$(TARGET_COPY_OUT_VENDOR)/etc/permissions/sku_cape/android.hardware.sensor.hinge_angle.xml
# Overlay
PRODUCT_PACKAGES += \
ApertureResZizhan \
FrameworksResZizhan \
NfcResZizhan \
SettingsProviderResZizhan \
SettingsResZizhan \
SystemUIResZizhan \
WifiResZizhan
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)