-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdevice.mk
executable file
·49 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
#
# Copyright 2018 The Android Open Source Project
# Copyright 2014-2022 The Team Win LLC
#
# SPDX-License-Identifier: Apache-2.0
#
# Define hardware platform
PRODUCT_PLATFORM := sm6150
# Inherit from those products. Most specific first.
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base.mk)
# Fastbootd
PRODUCT_PACKAGES += \
# API
PRODUCT_SHIPPING_API_LEVEL := 29
# Soong namespaces
PRODUCT_SOONG_NAMESPACES += \
$(LOCAL_PATH) \
vendor/qcom/opensource/commonsys-intf/display
# Dynamic partitions
PRODUCT_USE_DYNAMIC_PARTITIONS := true
# Additional binaries & libraries needed for recovery
TARGET_RECOVERY_DEVICE_MODULES += \
libion \
libdisplayconfig.qti
TW_RECOVERY_ADDITIONAL_RELINK_LIBRARY_FILES += \
$(TARGET_OUT_SHARED_LIBRARIES)/libion.so \
$(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/[email protected] \
$(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/[email protected] \
$(TARGET_OUT_SYSTEM_EXT_SHARED_LIBRARIES)/libdisplayconfig.qti.so
# Overrides
PRODUCT_BUILD_PROP_OVERRIDES += \
PRODUCT_NAME=$(PRODUCT_RELEASE_NAME) \
TARGET_DEVICE=$(PRODUCT_RELEASE_NAME)
PRODUCT_PROPERTY_OVERRIDES += \
ro.product.device=$(PRODUCT_RELEASE_NAME)