lineage: products: Add ATV emulator targets

* device/google/atv only supports armv7 and x86, so
  for emulator at least, we will too.

Change-Id: I5c7f00f8dd34d9d95747d05b6c091376451cc986
This commit is contained in:
Nolen Johnson
2022-02-14 16:59:29 -05:00
parent 2cf8a6ad0a
commit d0b3a4af0f
3 changed files with 60 additions and 2 deletions

View File

@@ -26,7 +26,9 @@ PRODUCT_MAKEFILES := \
$(LOCAL_DIR)/lineage_sdk_car_arm64.mk \
$(LOCAL_DIR)/lineage_sdk_car_x86_64.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_x86.mk
COMMON_LUNCH_CHOICES := \
lineage_arm-userdebug \
@@ -40,4 +42,6 @@ COMMON_LUNCH_CHOICES := \
lineage_sdk_car_arm64-userdebug \
lineage_sdk_car_x86_64-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_x86-userdebug

View File

@@ -0,0 +1,27 @@
# 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.
include vendor/lineage/build/target/product/lineage_generic_tv_target.mk
$(call inherit-product, device/google/atv/products/sdk_atv_armv7.mk)
TARGET_USES_64_BIT_BINDER := true
TARGET_NO_KERNEL_OVERRIDE := true
# Enable mainline checking
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
# Overrides
PRODUCT_NAME := lineage_sdk_tv_arm
PRODUCT_MODEL := LineageOS Android TV SDK built for ARM

View File

@@ -0,0 +1,27 @@
# 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.
include vendor/lineage/build/target/product/lineage_generic_tv_target.mk
$(call inherit-product, device/google/atv/products/sdk_atv_x86.mk)
TARGET_USES_64_BIT_BINDER := true
TARGET_NO_KERNEL_OVERRIDE := true
# Enable mainline checking
PRODUCT_ENFORCE_ARTIFACT_PATH_REQUIREMENTS := relaxed
# Overrides
PRODUCT_NAME := lineage_sdk_tv_x86
PRODUCT_MODEL := LineageOS Android TV SDK built for x86