-
Notifications
You must be signed in to change notification settings - Fork 0
/
device.mk
53 lines (41 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
#
# Copyright (C) 2018 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Get non-open-source device specific aspects
$(call inherit-product, vendor/sony/kugo/kugo-vendor.mk)
# Screen density
PRODUCT_AAPT_CONFIG := normal
PRODUCT_AAPT_PREBUILT_DPI := xhdpi hdpi
PRODUCT_AAPT_PREF_CONFIG := xhdpi
# Device specific overlays
DEVICE_PACKAGE_OVERLAYS += $(LOCAL_PATH)/overlay
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/mixer_paths.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tasha.xml
# Camera Augmented Sensing Helper
PRODUCT_PACKAGES += \
cashsvr
# Camera configuration
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/camera/camera_config.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/camera_config.xml \
$(LOCAL_PATH)/configs/camera/imx241_chromatix.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/imx241_chromatix.xml \
$(LOCAL_PATH)/configs/camera/imx300_chromatix.xml:$(TARGET_COPY_OUT_VENDOR)/etc/camera/imx300_chromatix.xml
# Focus calibration
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/camera/tof_focus_calibration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/tof_focus_calibration.xml
# Init
PRODUCT_PACKAGES += \
init.device.rc
# NFC
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/libnfc-nxp.conf:$(TARGET_COPY_OUT_VENDOR)/etc/libnfc-nxp.conf
# Sensors
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/sensor_def_qcomdev.conf:$(TARGET_COPY_OUT_VENDOR)/etc/sensors/sensor_def_qcomdev.conf
# Touch IDC
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/idc/clearpad.idc:$(TARGET_COPY_OUT_VENDOR)/usr/idc/clearpad.idc
# Inherit from loire-common
$(call inherit-product, device/sony/loire-common/platform.mk)