tree: Rename from xz2c to apollo

Signed-off-by: Sorayukii <sorayukii69@gmail.com>
This commit is contained in:
Sorayukii 2025-12-20 16:44:24 +00:00 • committed by aoitsme
commit 1e67c1e7c0
6 changed files with 13 additions and 13 deletions

View file

@ -15,7 +15,7 @@
LOCAL_PATH := $(call my-dir)
ifeq ($(TARGET_DEVICE),xz2c)
ifeq ($(TARGET_DEVICE),apollo)
subdir_makefiles=$(call first-makefiles-under,$(LOCAL_PATH))
$(foreach mk,$(subdir_makefiles),$(info including $(mk) ...)$(eval include $(mk)))
endif

View file

@ -14,9 +14,9 @@
# limitations under the License.
PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_xz2c.mk
$(LOCAL_DIR)/lineage_apollo.mk
COMMON_LUNCH_CHOICES := \
lineage_xz2c-user \
lineage_xz2c-userdebug \
lineage_xz2c-eng
lineage_apollo-user \
lineage_apollo-userdebug \
lineage_apollo-eng

View file

@ -7,7 +7,7 @@
# Inherit from tama-common
-include device/sony/tama-common/BoardConfigCommon.mk
DEVICE_PATH := device/sony/xz2c
DEVICE_PATH := device/sony/apollo
# Display
TARGET_SCREEN_DENSITY := 480
@ -26,4 +26,4 @@ TARGET_SYSTEM_PROP += $(DEVICE_PATH)/system.prop
TARGET_VENDOR_PROP += $(DEVICE_PATH)/vendor.prop
# Inherit from the proprietary version
-include vendor/sony/xz2c/BoardConfigVendor.mk
-include vendor/sony/apollo/BoardConfigVendor.mk

View file

@ -7,7 +7,7 @@
$(call inherit-product, $(SRC_TARGET_DIR)/product/product_launched_with_o_mr1.mk)
# Get non-open-source specific aspects
$(call inherit-product-if-exists, vendor/sony/xz2c/xz2c-vendor.mk)
$(call inherit-product-if-exists, vendor/sony/apollo/apollo-vendor.mk)
# Boot animation
TARGET_SCREEN_HEIGHT := 2160

View file

@ -15,7 +15,7 @@ namespace_imports = [
]
module = ExtractUtilsModule(
'xz2c',
'apollo',
'sony',
namespace_imports=namespace_imports,
check_elf=True,

23
lineage_apollo.mk Normal file
View file

@ -0,0 +1,23 @@
#
# Copyright (C) 2018-2020 The LineageOS Project
#
# SPDX-License-Identifier: Apache-2.0
#
# Inherit from apollo device
$(call inherit-product, device/sony/apollo/device.mk)
# Inherit some common Lineage stuff.
$(call inherit-product, vendor/lineage/config/common_full_phone.mk)
PRODUCT_NAME := lineage_apollo
PRODUCT_DEVICE := apollo
PRODUCT_MANUFACTURER := Sony
PRODUCT_BRAND := Sony
PRODUCT_MODEL := Xperia XZ2 Compact
PRODUCT_GMS_CLIENTID_BASE := android-sony
PRODUCT_BUILD_PROP_OVERRIDES += \
BuildDesc="H8324-user 10 52.1.A.3.49 052001A003004902006556692 release-keys" \
BuildFingerprint=Sony/H8324/H8324:10/52.1.A.3.49/052001A003004902006556692:user/release-keys