-
Notifications
You must be signed in to change notification settings - Fork 2
/
device.mk
45 lines (37 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
#
# Copyright (C) 2018-2019 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
$(call inherit-product, device/oneplus/sm8150-common/common.mk)
# Get non-open-source specific aspects
$(call inherit-product, vendor/oneplus/oneplus7t/oneplus7t-vendor.mk)
# Overlays
PRODUCT_PACKAGES += \
AlertSliderOverlay \
FlamingoOnePlus7TSystemUI \
FlamingoOnePlus7TFrameworks \
OnePlus7TFrameworks \
OnePlus7TSettings \
OnePlus7TSettingsProvider \
OnePlus7TSystemUI
# Make it official
OFFICIAL_BUILD := true
# Audio
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/audio/audio_policy_volumes.xml:$(TARGET_COPY_OUT_VENDOR)/etc/audio_policy_volumes.xml \
$(LOCAL_PATH)/audio/default_volume_tables.xml:$(TARGET_COPY_OUT_VENDOR)/etc/default_volume_tables.xml \
$(LOCAL_PATH)/audio/mixer_paths_pahu.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_pahu.xml \
$(LOCAL_PATH)/audio/mixer_paths_tavil.xml:$(TARGET_COPY_OUT_VENDOR)/etc/mixer_paths_tavil.xml
# fstab
PRODUCT_PACKAGES += \
fstab.qcom.ramdisk
# Stock fingerprint for ARCore
PRODUCT_SYSTEM_PROPERTIES += \
ro.stock.build.fingerprint=OnePlus/OnePlus7T_CH/OnePlus7T:11/RKQ1.201022.002/2206241702:user/release-keys
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH)
PRODUCT_BUILD_SUPER_PARTITION := false
PRODUCT_SHIPPING_API_LEVEL := 29
PRODUCT_USE_DYNAMIC_PARTITIONS := true