aospa: products: Introduce realme GT master edition

Change-Id: Ifb6eb1df0e8a426b6606592c91983d22b87cad52
Signed-off-by: rk134 <me@rk134.cf>
This commit is contained in:
rk134 2023-02-26 15:32:26 +01:00 committed by Jake Weinstein
parent dd8bdd4387
commit 051eaa5176
3 changed files with 108 additions and 0 deletions

View File

@ -27,6 +27,7 @@ PRODUCT_MAKEFILES += \
$(LOCAL_DIR)/juice/aospa_juice.mk \
$(LOCAL_DIR)/lisa/aospa_lisa.mk \
$(LOCAL_DIR)/lmi/aospa_lmi.mk \
$(LOCAL_DIR)/lunaa/aospa_lunaa.mk \
$(LOCAL_DIR)/mi439/aospa_mi439.mk \
$(LOCAL_DIR)/miatoll/aospa_miatoll.mk \
$(LOCAL_DIR)/mini5g/aospa_mini5g.mk \
@ -62,6 +63,7 @@ COMMON_LUNCH_CHOICES += \
aospa_juice-userdebug \
aospa_lisa-userdebug \
aospa_lmi-userdebug \
aospa_lunaa-userdebug \
aospa_mi439-userdebug \
aospa_miatoll-userdebug \
aospa_mini5g-userdebug \

View File

@ -0,0 +1,64 @@
[
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_audio",
"target_path": "vendor/qcom/opensource/audio-hal/primary-hal",
"revision": "topaz-888"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_display",
"target_path": "hardware/qcom/display",
"revision": "topaz-888"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_gps",
"target_path": "hardware/qcom/gps",
"revision": "topaz-888"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_media",
"target_path": "hardware/qcom/media",
"revision": "topaz-888"
},
{
"remote": "aospa",
"repository": "AOSPA/android_device_realme_lunaa",
"target_path": "device/realme/lunaa",
"revision": "topaz"
},
{
"remote": "aospa",
"repository": "AOSPA/android_kernel_realme_sm7325",
"target_path": "kernel/msm-5.4",
"revision": "topaz"
},
{
"remote": "blobs",
"repository": "proprietary_vendor_realme",
"target_path": "vendor/realme",
"revision": "topaz"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_oplus",
"target_path": "hardware/oplus",
"revision": "topaz"
},
{
"remote": "blobs-gitlab",
"repository": "proprietary_vendor_oplus_camera",
"target_path": "vendor/oplus/camera",
"revision": "topaz-lunaa",
"clone-depth": "1"
},
{
"remote": "blobs-gitlab",
"repository": "android_prebuilts_clang-standalone",
"target_path": "prebuilts/clang-standalone",
"revision": "17",
"clone-depth": "1"
}
]

View File

@ -0,0 +1,42 @@
# Copyright (C) 2023 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.
ifeq (aospa_lunaa,$(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)
# Inherit from the custom device configuration.
$(call inherit-product, device/realme/lunaa/device.mk)
# Inherit from the AOSPA configuration.
$(call inherit-product, vendor/aospa/target/product/aospa-target.mk)
PRODUCT_BRAND := realme
PRODUCT_DEVICE := lunaa
PRODUCT_MANUFACTURER := realme
PRODUCT_MODEL := RMX3360
PRODUCT_NAME := aospa_lunaa
PRODUCT_SYSTEM_DEVICE := RE54ABL1
PRODUCT_SYSTEM_NAME := RMX3360
PRODUCT_GMS_CLIENTID_BASE := android-oppo
PRODUCT_BUILD_PROP_OVERRIDES += \
TARGET_DEVICE=$(PRODUCT_SYSTEM_DEVICE) \
TARGET_PRODUCT=$(PRODUCT_SYSTEM_NAME)
endif