-
Notifications
You must be signed in to change notification settings - Fork 2
/
device.mk
37 lines (28 loc) · 1.2 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
#
# Copyright (C) 2024 Paranoid Android
#
# SPDX-License-Identifier: Apache-2.0
#
# Get common SoC device configs
$(call inherit-product, device/nubia/sm8650-common/pineapple.mk)
# Get non-open-source specific aspects
$(call inherit-product, vendor/nubia/nx769j/nx769j-vendor.mk)
# Setup DLKM Kernel configs
$(call inherit-product, device/qcom/common/dlkm/kernel-platform.mk)
# Kernel (prebuilt)
KERNEL_PREBUILT_DIR := device/nubia/nx769j-kernel
# Audio configs
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/configs/audio/audio_effects.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_pineapple/audio_effects.xml \
$(LOCAL_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_pineapple/audio_policy_configuration.xml \
$(LOCAL_PATH)/configs/audio/audio_policy_configuration.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio/sku_pineapple/audio_policy_configuration.xml
# Shipping API Level
BOARD_API_LEVEL := 34
BOARD_SHIPPING_API_LEVEL := 34
PRODUCT_SHIPPING_API_LEVEL := 34
# Vibrator configs
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/vibrator/excluded-input-devices.xml:$(TARGET_COPY_OUT_VENDOR)/etc/excluded-input-devices.xml
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)