lineage: products: Bring back lineage_sdk_phone_arm64 emulator target

Change-Id: I0578608bd78e1a03f90b17de4ee558646ce9ef2f
This commit is contained in:
DroidFreak32
2024-02-12 11:28:40 +05:30
committed by Bruno Martins
parent f0d0f194d0
commit 9fe4bc8a60
3 changed files with 55 additions and 0 deletions

View File

@@ -27,6 +27,7 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_gsi_tv_x86_64.mk \ $(LOCAL_DIR)/lineage_gsi_tv_x86_64.mk \
$(LOCAL_DIR)/lineage_sdk_car_arm64.mk \ $(LOCAL_DIR)/lineage_sdk_car_arm64.mk \
$(LOCAL_DIR)/lineage_sdk_car_x86_64.mk \ $(LOCAL_DIR)/lineage_sdk_car_x86_64.mk \
$(LOCAL_DIR)/lineage_sdk_phone_arm64.mk \
$(LOCAL_DIR)/lineage_sdk_phone_x86.mk \ $(LOCAL_DIR)/lineage_sdk_phone_x86.mk \
$(LOCAL_DIR)/lineage_sdk_phone_x86_64.mk \ $(LOCAL_DIR)/lineage_sdk_phone_x86_64.mk \
$(LOCAL_DIR)/lineage_sdk_tv_arm.mk \ $(LOCAL_DIR)/lineage_sdk_tv_arm.mk \
@@ -45,6 +46,7 @@ COMMON_LUNCH_CHOICES := \
lineage_gsi_tv_x86_64-userdebug \ lineage_gsi_tv_x86_64-userdebug \
lineage_sdk_car_arm64-userdebug \ lineage_sdk_car_arm64-userdebug \
lineage_sdk_car_x86_64-userdebug \ lineage_sdk_car_x86_64-userdebug \
lineage_sdk_phone_arm64-userdebug \
lineage_sdk_phone_x86-userdebug \ lineage_sdk_phone_x86-userdebug \
lineage_sdk_phone_x86_64-userdebug \ lineage_sdk_phone_x86_64-userdebug \
lineage_sdk_tv_arm-userdebug \ lineage_sdk_tv_arm-userdebug \

View File

@@ -0,0 +1,31 @@
# Copyright (C) 2021-2024 The LineageOS 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.
$(call inherit-product, device/generic/goldfish/64bitonly/product/sdk_phone64_arm64.mk)
$(call inherit-product, vendor/lineage/build/target/product/lineage_sdk_phone_arm64_board.mk)
include vendor/lineage/build/target/product/lineage_generic_target.mk
# Always build modules from source
PRODUCT_MODULE_BUILD_FROM_SOURCE := true
# Enable mainline checking
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
# Overrides
PRODUCT_NAME := lineage_sdk_phone_arm64
PRODUCT_MODEL := LineageOS Android SDK built for arm64
PRODUCT_SDK_ADDON_NAME := lineage
PRODUCT_SDK_ADDON_SYS_IMG_SOURCE_PROP := vendor/lineage/build/target/product/source.properties

View File

@@ -0,0 +1,22 @@
# Copyright (C) 2021-2024 The LineageOS 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.
# 2.0G + 8M
BOARD_SUPER_PARTITION_SIZE := 2155872256
BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE := 2147483648
PRODUCT_SDK_ADDON_COPY_FILES += \
device/generic/goldfish/data/etc/advancedFeatures.ini.arm:images/arm64-v8a/advancedFeatures.ini \
device/generic/goldfish/data/etc/encryptionkey.img:images/arm64-v8a/encryptionkey.img \
$(EMULATOR_KERNEL_FILE):images/arm64-v8a/kernel-ranchu