pa: products: Add Xiaomi Redmi 7/Y3
Signed-off-by: Jyotiraditya <jyotiraditya@aospa.co> Change-Id: I7eb7aff5288b328aeeae28f8bdc8171764943c0e
This commit is contained in:
parent
d5708a8049
commit
38de1fb272
|
@ -32,6 +32,7 @@ PRODUCT_MAKEFILES += \
|
|||
$(LOCAL_DIR)/land/pa_land.mk \
|
||||
$(LOCAL_DIR)/lavender/pa_lavender.mk \
|
||||
$(LOCAL_DIR)/mata/pa_mata.mk \
|
||||
$(LOCAL_DIR)/onc/pa_onc.mk \
|
||||
$(LOCAL_DIR)/oneplus3/pa_oneplus3.mk \
|
||||
$(LOCAL_DIR)/oneplus5/pa_oneplus5.mk \
|
||||
$(LOCAL_DIR)/oneplus6/pa_oneplus6.mk \
|
||||
|
@ -65,9 +66,10 @@ COMMON_LUNCH_CHOICES += \
|
|||
pa_hltekor-userdebug \
|
||||
pa_hltetmo-userdebug \
|
||||
pa_jasmine_sprout-userdebug \
|
||||
pa_mata-userdebug \
|
||||
pa_land-userdebug \
|
||||
pa_lavender-userdebug \
|
||||
pa_mata-userdebug \
|
||||
pa_onc-userdebug \
|
||||
pa_oneplus3-userdebug \
|
||||
pa_oneplus6-userdebug \
|
||||
pa_oneplus7-userdebug \
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
[
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_device_xiaomi_onc",
|
||||
"target_path": "device/xiaomi/onc",
|
||||
"revision": "quartz"
|
||||
},
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_device_qcom_common",
|
||||
"target_path": "device/qcom/common",
|
||||
"revision": "quartz"
|
||||
},
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_hardware_qcom_audio",
|
||||
"target_path": "hardware/qcom/audio",
|
||||
"revision": "quartz-89xx"
|
||||
},
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_hardware_qcom_display",
|
||||
"target_path": "hardware/qcom/display",
|
||||
"revision": "quartz-89xx"
|
||||
},
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_hardware_qcom_gps",
|
||||
"target_path": "hardware/qcom/gps",
|
||||
"revision": "quartz-89xx"
|
||||
},
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_hardware_qcom_media",
|
||||
"target_path": "hardware/qcom/media",
|
||||
"revision": "quartz-89xx"
|
||||
},
|
||||
{
|
||||
"remote": "aospa",
|
||||
"repository": "AOSPA/android_kernel_xiaomi_onc",
|
||||
"target_path": "kernel/xiaomi/onc",
|
||||
"revision": "quartz"
|
||||
},
|
||||
{
|
||||
"remote": "github",
|
||||
"repository": "kdrag0n/proton-clang",
|
||||
"target_path": "prebuilts/clang/host/linux-x86/clang-11.0",
|
||||
"revision": "master"
|
||||
},
|
||||
{
|
||||
"remote": "blobs",
|
||||
"repository": "proprietary_vendor_qcom_common",
|
||||
"target_path": "vendor/qcom/common",
|
||||
"revision": "quartz"
|
||||
},
|
||||
{
|
||||
"remote": "blobs",
|
||||
"repository": "proprietary_vendor_xiaomi",
|
||||
"target_path": "vendor/xiaomi",
|
||||
"revision": "quartz"
|
||||
}
|
||||
]
|
|
@ -0,0 +1,43 @@
|
|||
# Copyright (C) 2020 Paranoid Android
|
||||
#
|
||||
# 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.
|
||||
|
||||
# Check for target product
|
||||
ifeq (pa_onc,$(TARGET_PRODUCT))
|
||||
|
||||
# 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_telephony.mk)
|
||||
|
||||
# Include Paranoid Android common configuration
|
||||
TARGET_BOOT_ANIMATION_RES := 1080
|
||||
|
||||
# Inherit device configuration
|
||||
$(call inherit-product, device/xiaomi/onc/device.mk)
|
||||
|
||||
# Inherit common PA configuration
|
||||
$(call inherit-product, vendor/pa/config/common_full_phone.mk)
|
||||
|
||||
# Override AOSP build properties
|
||||
PRODUCT_NAME := pa_onc
|
||||
PRODUCT_DEVICE := onc
|
||||
PRODUCT_BRAND := Xiaomi
|
||||
PRODUCT_MODEL := Redmi Y3
|
||||
PRODUCT_MANUFACTURER := Xiaomi
|
||||
|
||||
PRODUCT_BUILD_PROP_OVERRIDES += \
|
||||
PRIVATE_BUILD_DESC="onc-user 9 PKQ1.181021.001 V11.0.8.0.PFFINXM release-keys"
|
||||
|
||||
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
|
||||
|
||||
endif
|
Loading…
Reference in New Issue