forked from Albinoman887/android_device_oneplus_oneplus7pro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathomni_oneplus7pro.mk
87 lines (66 loc) · 2.99 KB
/
omni_oneplus7pro.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
# Copyright (C) 2010 The Android Open Source Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# This file is the build configuration for a full Android
# build for grouper hardware. This cleanly combines a set of
# device-specific aspects (drivers) with a device-agnostic
# product configuration (apps).
#
VENDOR_EXCEPTION_PATHS += oneplus \
omni
# Sample: This is where we'd set a backup provider if we had one
# $(call inherit-product, device/sample/products/backup_overlay.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/core_64_bit.mk)
# Get the prebuilt list of APNs
$(call inherit-product, vendor/omni/config/gsm.mk)
# Inherit from the common Open Source product configuration
$(call inherit-product, $(SRC_TARGET_DIR)/product/aosp_base_telephony.mk)
# must be before including omni part
TARGET_BOOTANIMATION_SIZE := 1080p
AB_OTA_UPDATER := true
DEVICE_PACKAGE_OVERLAYS += device/oneplus/oneplus7pro/overlay/common
DEVICE_PACKAGE_OVERLAYS += device/oneplus/oneplus7pro/overlay/device
DEVICE_PACKAGE_OVERLAYS += vendor/omni/overlay/CarrierConfig
#BOARD_AVB_ALGORITHM := SHA256_RSA2048
#BOARD_AVB_KEY_PATH := build/target/product/security/verity.pem
# Inherit from our custom product configuration
$(call inherit-product, vendor/omni/config/common.mk)
# Inherit from hardware-specific part of the product configuration
$(call inherit-product, device/oneplus/oneplus7pro/device.mk)
# get the rest of aosp stuff after ours
$(call inherit-product, $(SRC_TARGET_DIR)/product/mainline_system_arm64.mk)
ALLOW_MISSING_DEPENDENCIES := true
PRODUCT_SHIPPING_API_LEVEL := 29
# Discard inherited values and use our own instead.
PRODUCT_NAME := omni_oneplus7pro
PRODUCT_DEVICE := oneplus7pro
PRODUCT_BRAND := OnePlus
PRODUCT_MANUFACTURER := OnePlus
PRODUCT_MODEL := GM1917
TARGET_DEVICE := OnePlus7Pro
PRODUCT_SYSTEM_NAME := OnePlus7Pro
VENDOR_RELEASE := 10/QKQ1.190716.003/1910071200:user/release-keys
#PLATFORM_SECURITY_PATCH_TIMESTAMP := 1909110008
#BUILD_ID := QKQ1
#BUILD_NUMBER := 1909110008
#BUILD_THUMBPRINT := $(VENDOR_RELEASE)
BUILD_FINGERPRINT := OnePlus/OnePlus7Pro_EEA/OnePlus7Pro:$(VENDOR_RELEASE)
OMNI_BUILD_FINGERPRINT := OnePlus/OnePlus7Pro_EEA/OnePlus7Pro:$(VENDOR_RELEASE)
OMNI_PRIVATE_BUILD_DESC := "'OnePlus7Pro-user 10 QKQ1.190716.003 1910071200 release-keys'"
PLATFORM_SECURITY_PATCH_OVERRIDE := 2019-09-05
TARGET_VENDOR := oneplus
# Fingerprint
PRODUCT_PACKAGES += \
$(call inherit-product, vendor/oneplus/oneplus7pro/oneplus7pro-vendor.mk)