-
Notifications
You must be signed in to change notification settings - Fork 0
/
device.mk
49 lines (39 loc) · 1.11 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
#
# Copyright (C) 2018-2019 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
$(call inherit-product, $(SRC_TARGET_DIR)/product/gsi_keys.mk)
$(call inherit-product, device/oneplus/sm8150-common/common.mk)
# Get non-open-source specific aspects
$(call inherit-product, vendor/oneplus/hotdog/hotdog-vendor.mk)
# Vendor properties
-include $(LOCAL_PATH)/vendor_props.mk
# Overlays
DEVICE_PACKAGE_OVERLAYS += \
$(LOCAL_PATH)/overlay
PRODUCT_ENFORCE_RRO_EXCLUDED_OVERLAYS += \
$(LOCAL_PATH)/overlay-lineage/lineage-sdk
# A/B
AB_OTA_PARTITIONS += \
odm \
product \
recovery \
vbmeta_system
# Camera
PRODUCT_PACKAGES += \
[email protected]_msmnile \
OnePlusCameraHelper
# Device init scripts
PRODUCT_PACKAGES += \
fstab.qcom \
init.display.hotdog.rc
# fastbootd
PRODUCT_PACKAGES += \
fastbootd
PRODUCT_COPY_FILES += \
$(LOCAL_PATH)/rootdir/etc/fstab.qcom:$(TARGET_COPY_OUT_RAMDISK)/fstab.qcom
PRODUCT_BUILD_SUPER_PARTITION := false
PRODUCT_SHIPPING_API_LEVEL := 29
PRODUCT_USE_DYNAMIC_PARTITIONS := true