-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdevice.mk
50 lines (39 loc) · 1.36 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
#
# Copyright (C) 2021 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
DEVICE_PATH := device/nokia/PLE
# Inherit from msm8937-common
$(call inherit-product, device/nokia/msm8937-common/msm8937.mk)
# Get non-open-source specific aspects
$(call inherit-product, vendor/nokia/PLE/PLE-vendor.mk)
# Keylayout
PRODUCT_COPY_FILES += \
$(DEVICE_PATH)/keylayout/gpio-keys.kl:$(TARGET_COPY_OUT_VENDOR)/usr/keylayout/gpio-keys.kl
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay \
$(LOCAL_PATH)/overlay-lineage
# Soong Namespace
PRODUCT_SOONG_NAMESPACES += \
device/nokia/PLE
# Screen density
TARGET_SCREEN_HEIGHT := 1440
TARGET_SCREEN_WIDTH := 720
# Device uses high-density artwork where available
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREF_CONFIG := xhdpi
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_platform_info.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_platform_info.xml \
$(LOCAL_PATH)/audio/mixer_paths_mtp.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_mtp.xml \
$(LOCAL_PATH)/audio/mixer_paths_ple.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_ple.xml \
$(LOCAL_PATH)/audio/sound_trigger_mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/sound_trigger_mixer_paths.xml
# Lights
PRODUCT_PACKAGES += \
# Ramdisk
PRODUCT_PACKAGES += \
fstab.factory \
init.PLE.rc