lineage: products: Create new Automotive GSI targets

* And split out emulator includes as needed to do so.

Change-Id: I9a9e02dc9ebf4613bf2da6be9985a8565dac93fc
This commit is contained in:
Nolen Johnson
2022-02-14 17:38:30 -05:00
committed by Jan Altensen
parent c6b93b4b4e
commit 4d09aac1ec
6 changed files with 68 additions and 3 deletions

View File

@@ -19,6 +19,8 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_gsi_arm64.mk \ $(LOCAL_DIR)/lineage_gsi_arm64.mk \
$(LOCAL_DIR)/lineage_gsi_x86.mk \ $(LOCAL_DIR)/lineage_gsi_x86.mk \
$(LOCAL_DIR)/lineage_gsi_x86_64.mk \ $(LOCAL_DIR)/lineage_gsi_x86_64.mk \
$(LOCAL_DIR)/lineage_gsi_car_arm64.mk \
$(LOCAL_DIR)/lineage_gsi_car_x86_64.mk \
$(LOCAL_DIR)/lineage_tv_arm.mk \ $(LOCAL_DIR)/lineage_tv_arm.mk \
$(LOCAL_DIR)/lineage_tv_arm64.mk \ $(LOCAL_DIR)/lineage_tv_arm64.mk \
$(LOCAL_DIR)/lineage_tv_x86.mk \ $(LOCAL_DIR)/lineage_tv_x86.mk \
@@ -35,6 +37,8 @@ COMMON_LUNCH_CHOICES := \
lineage_gsi_arm64-userdebug \ lineage_gsi_arm64-userdebug \
lineage_gsi_x86-userdebug \ lineage_gsi_x86-userdebug \
lineage_gsi_x86_64-userdebug \ lineage_gsi_x86_64-userdebug \
lineage_gsi_car_arm64-userdebug \
lineage_gsi_car_x86_64-userdebug \
lineage_tv_arm-userdebug \ lineage_tv_arm-userdebug \
lineage_tv_arm64-userdebug \ lineage_tv_arm64-userdebug \
lineage_tv_x86-userdebug \ lineage_tv_x86-userdebug \

View File

@@ -13,7 +13,6 @@
# limitations under the License. # limitations under the License.
$(call inherit-product, vendor/lineage/config/common_car.mk) $(call inherit-product, vendor/lineage/config/common_car.mk)
$(call inherit-product, device/generic/car/emulator/aosp_car_emulator.mk)
EMULATOR_VENDOR_NO_SENSORS := true EMULATOR_VENDOR_NO_SENSORS := true
EMULATOR_VENDOR_NO_SOUND := true EMULATOR_VENDOR_NO_SOUND := true

View File

@@ -0,0 +1,29 @@
# Copyright (C) 2022 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/car/gsi_car_arm64.mk)
include vendor/lineage/build/target/product/lineage_generic_car_target.mk
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
TARGET_NO_KERNEL_OVERRIDE := true
# Enable mainline checking
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
system/app/Home/Home.apk
PRODUCT_NAME := lineage_gsi_car_arm64

View File

@@ -0,0 +1,29 @@
# Copyright (C) 2022 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/car/gsi_car_x86_64.mk)
include vendor/lineage/build/target/product/lineage_generic_car_target.mk
PRODUCT_USE_DYNAMIC_PARTITION_SIZE := true
TARGET_NO_KERNEL_OVERRIDE := true
# Enable mainline checking
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
PRODUCT_ARTIFACT_PATH_REQUIREMENT_ALLOWED_LIST += \
system/app/Home/Home.apk
PRODUCT_NAME := lineage_gsi_car_x86_64

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2020 The LineageOS Project # Copyright (C) 2018-2022 The LineageOS Project
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
@@ -14,6 +14,8 @@
include vendor/lineage/build/target/product/lineage_generic_car_target.mk include vendor/lineage/build/target/product/lineage_generic_car_target.mk
$(call inherit-product, device/generic/car/emulator/aosp_car_emulator.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_arm64.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_arm64.mk)
TARGET_NO_KERNEL_OVERRIDE := true TARGET_NO_KERNEL_OVERRIDE := true

View File

@@ -1,4 +1,4 @@
# Copyright (C) 2018-2020 The LineageOS Project # Copyright (C) 2018-2022 The LineageOS Project
# #
# Licensed under the Apache License, Version 2.0 (the "License"); # Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License. # you may not use this file except in compliance with the License.
@@ -14,6 +14,8 @@
include vendor/lineage/build/target/product/lineage_generic_car_target.mk include vendor/lineage/build/target/product/lineage_generic_car_target.mk
$(call inherit-product, device/generic/car/emulator/aosp_car_emulator.mk)
$(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_x86_64.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/sdk_x86_64.mk)
PRODUCT_NAME := lineage_sdk_car_x86_64 PRODUCT_NAME := lineage_sdk_car_x86_64