aospa: products: Add support for Xiaomi Poco F1 (beryllium).

Change-Id: I36beffa0d6382c928209124bb37c187fdb83e245
This commit is contained in:
PainKiller3 2022-05-04 22:19:43 +05:30 committed by Jake Weinstein
parent 3d0175fb61
commit 1898e890b2
3 changed files with 100 additions and 0 deletions

View File

@ -16,6 +16,7 @@
PRODUCT_MAKEFILES += \
$(LOCAL_DIR)/alioth/aospa_alioth.mk \
$(LOCAL_DIR)/apollo/aospa_apollo.mk \
$(LOCAL_DIR)/beryllium/aospa_beryllium.mk \
$(LOCAL_DIR)/bluejay/aospa_bluejay.mk \
$(LOCAL_DIR)/cheetah/aospa_cheetah.mk \
$(LOCAL_DIR)/lmi/aospa_lmi.mk \
@ -33,6 +34,7 @@ PRODUCT_MAKEFILES += \
COMMON_LUNCH_CHOICES += \
aospa_alioth-userdebug \
aospa_apollo-userdebug \
aospa_beryllium-userdebug \
aospa_bluejay-userdebug \
aospa_cheetah-userdebug \
aospa_lmi-userdebug \

View File

@ -0,0 +1,58 @@
[
{
"remote": "aospa",
"repository": "AOSPA/android_device_xiaomi_beryllium",
"target_path": "device/xiaomi/beryllium",
"revision": "topaz"
},
{
"remote": "aospa",
"repository": "AOSPA/android_kernel_xiaomi_sdm845",
"target_path": "kernel/msm-4.9",
"revision": "topaz"
},
{
"remote": "blobs",
"repository": "proprietary_vendor_xiaomi",
"target_path": "vendor/xiaomi",
"revision": "topaz",
"clone-depth": "1"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_audio",
"target_path": "vendor/qcom/opensource/audio-hal/primary-hal",
"revision": "topaz-845"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_display",
"target_path": "hardware/qcom/display",
"revision": "topaz-845"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_gps",
"target_path": "hardware/qcom/gps",
"revision": "topaz-845"
},
{
"remote": "aospa",
"repository": "AOSPA/android_hardware_qcom_media",
"target_path": "hardware/qcom/media",
"revision": "topaz-845"
},
{
"remote": "aospa",
"repository": "AOSPA/android_packages_resources_devicesettings",
"target_path": "packages/resources/devicesettings",
"revision": "topaz"
},
{
"remote": "blobs-gitlab",
"repository": "android_prebuilts_clang-standalone",
"target_path": "prebuilts/clang-standalone",
"revision": "15",
"clone-depth": "1"
}
]

View File

@ -0,0 +1,40 @@
# Copyright (C) 2022 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 (aospa_beryllium,$(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/xiaomi/beryllium/device.mk)
# Inherit from the AOSPA configuration.
$(call inherit-product, vendor/aospa/target/product/aospa-target.mk)
# Device identifier. This must come after all inclusions.
PRODUCT_NAME := aospa_beryllium
PRODUCT_BRAND := Xiaomi
PRODUCT_DEVICE := beryllium
PRODUCT_MANUFACTURER := Xiaomi
PRODUCT_MODEL := Poco F1
PRODUCT_GMS_CLIENTID_BASE := android-xiaomi
# Boot animation resolution.
TARGET_BOOT_ANIMATION_RES := 1080
endif