diff --git a/build/target/product/AndroidProducts.mk b/build/target/product/AndroidProducts.mk index f9945ed0..01bd9288 100644 --- a/build/target/product/AndroidProducts.mk +++ b/build/target/product/AndroidProducts.mk @@ -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 diff --git a/build/target/product/lineage_sdk_tv_arm.mk b/build/target/product/lineage_sdk_tv_arm.mk new file mode 100644 index 00000000..1199e011 --- /dev/null +++ b/build/target/product/lineage_sdk_tv_arm.mk @@ -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 diff --git a/build/target/product/lineage_sdk_tv_x86.mk b/build/target/product/lineage_sdk_tv_x86.mk new file mode 100644 index 00000000..dac1a910 --- /dev/null +++ b/build/target/product/lineage_sdk_tv_x86.mk @@ -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