-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdevice.mk
56 lines (45 loc) · 1.45 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
#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Device
DEVICE := landtoni
# Inherit from landtoni-common
$(call inherit-product, device/xiaomi/landtoni-common/landtoni.mk)
$(call inherit-product, frameworks/native/build/phone-xhdpi-2048-dalvik-heap.mk)
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/land_mixer_paths_qrd_sku1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/land_mixer_paths_qrd_sku1.xml \
$(LOCAL_PATH)/audio/santoni_mixer_paths_qrd_sku1.xml:$(TARGET_COPY_OUT_VENDOR)/etc/santoni_mixer_paths_qrd_sku1.xml
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/blank.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_qrd_sku1.xml
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/blankfile:$(TARGET_COPY_OUT_VENDOR)/etc/acdbdata/.placeholder
# Camera
PRODUCT_PACKAGES += \
camera.land \
camera.santoni \
libLmcamera_interface \
libLmjpeg_interface \
libLmlib2d_interface \
libLomx_core
# Input
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/keylayout/ist30xx_ts_input.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/ist30xx_ts_input.kl
# Rootdir
PRODUCT_PACKAGES += \
init.xiaomi.device.rc \
init.xiaomi.device.sh
# Shims
PRODUCT_PACKAGES += \
fakelogprint \
libshims_android \
libshims_binder \
libshims_c_camera \
libwui
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
# Inherit from vendor blobs
$(call inherit-product, vendor/xiaomi/landtoni/landtoni-vendor.mk)