diff options
author | TreeHugger Robot <treehugger-gerrit@google.com> | 2018-02-16 00:22:35 +0000 |
---|---|---|
committer | Android (Google) Code Review <android-gerrit@google.com> | 2018-02-16 00:22:35 +0000 |
commit | 0811aca7ab91c91dba3631ee6b4b1309c173c247 (patch) | |
tree | ecb20beae16758c92107ddf758812a742ac40c4d | |
parent | 3bce223b1efc41c2caf4e582797db4f1dffb924e (diff) | |
parent | 128885111564beb989759ed2ce47a40e191ccc12 (diff) | |
download | atv-0811aca7ab91c91dba3631ee6b4b1309c173c247.tar.gz |
Merge "Revert "Generic System Image for Android TV""
-rw-r--r-- | products/AndroidProducts.mk | 38 | ||||
-rw-r--r-- | products/aosp_atv_arm64_a.mk | 27 | ||||
-rw-r--r-- | products/aosp_atv_arm64_ab.mk | 33 | ||||
-rw-r--r-- | products/aosp_atv_arm_a.mk | 27 | ||||
-rw-r--r-- | products/aosp_atv_arm_ab.mk | 33 | ||||
-rw-r--r-- | products/treble_atv_common.mk | 81 | ||||
-rw-r--r-- | products/treble_atv_common_32.mk | 22 | ||||
-rw-r--r-- | products/treble_atv_common_64.mk | 34 |
8 files changed, 0 insertions, 295 deletions
diff --git a/products/AndroidProducts.mk b/products/AndroidProducts.mk deleted file mode 100644 index 6f7ebdb..0000000 --- a/products/AndroidProducts.mk +++ /dev/null @@ -1,38 +0,0 @@ -# -# Copyright (C) 2018 The Android Open Source 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. -# - -# -# This file should set PRODUCT_MAKEFILES to a list of product makefiles -# to expose to the build system. LOCAL_DIR will already be set to -# the directory containing this file. -# PRODUCT_MAKEFILES is set up in AndroidProducts.mks. -# Format of PRODUCT_MAKEFILES: -# <product_name>:<path_to_the_product_makefile> -# If the <product_name> is the same as the base file name (without dir -# and the .mk suffix) of the product makefile, "<product_name>:" can be -# omitted. -# -# This file may not rely on the value of any variable other than -# LOCAL_DIR; do not use any conditionals, and do not look up the -# value of any variable that isn't set in this file or in a file that -# it includes. -# - -PRODUCT_MAKEFILES := \ - $(LOCAL_DIR)/aosp_atv_arm_a.mk \ - $(LOCAL_DIR)/aosp_atv_arm_ab.mk \ - $(LOCAL_DIR)/aosp_atv_arm64_a.mk \ - $(LOCAL_DIR)/aosp_atv_arm64_ab.mk diff --git a/products/aosp_atv_arm64_a.mk b/products/aosp_atv_arm64_a.mk deleted file mode 100644 index 0fc76c2..0000000 --- a/products/aosp_atv_arm64_a.mk +++ /dev/null @@ -1,27 +0,0 @@ -# -# Copyright (C) 2018 The Android Open-Source 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. -# - -# PRODUCT_PROPERTY_OVERRIDES cannot be used here because sysprops will be at -# /vendor/[build|default].prop when build split is on. In order to have sysprops -# on the generic system image, place them in build/make/target/board/ -# treble_system.prop. - -include device/google/atv/products/treble_atv_common_64.mk - -PRODUCT_NAME := aosp_atv_arm64_a -PRODUCT_DEVICE := generic_arm64_a -PRODUCT_BRAND := Android -PRODUCT_MODEL := AOSP ATV on ARM64 diff --git a/products/aosp_atv_arm64_ab.mk b/products/aosp_atv_arm64_ab.mk deleted file mode 100644 index 56b0cf1..0000000 --- a/products/aosp_atv_arm64_ab.mk +++ /dev/null @@ -1,33 +0,0 @@ -# -# Copyright (C) 2018 The Android Open-Source 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. -# - -# PRODUCT_PROPERTY_OVERRIDES cannot be used here because sysprops will be at -# /vendor/[build|default].prop when build split is on. In order to have sysprops -# on the generic system image, place them in build/make/target/board/ -# treble_system.prop. - -include device/google/atv/products/treble_atv_common_64.mk - -AB_OTA_UPDATER := true -AB_OTA_PARTITIONS := system -PRODUCT_PACKAGES += \ - update_engine \ - update_verifier - -PRODUCT_NAME := aosp_atv_arm64_ab -PRODUCT_DEVICE := generic_arm64_ab -PRODUCT_BRAND := Android -PRODUCT_MODEL := AOSP ATV on ARM64 diff --git a/products/aosp_atv_arm_a.mk b/products/aosp_atv_arm_a.mk deleted file mode 100644 index 83af0e9..0000000 --- a/products/aosp_atv_arm_a.mk +++ /dev/null @@ -1,27 +0,0 @@ -# -# Copyright (C) 2018 The Android Open-Source 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. -# - -# PRODUCT_PROPERTY_OVERRIDES cannot be used here because sysprops will be at -# /vendor/[build|default].prop when build split is on. In order to have sysprops -# on the generic system image, place them in build/make/target/board/ -# treble_system.prop. - -include device/google/atv/products/treble_atv_common_32.mk - -PRODUCT_NAME := aosp_atv_arm_a -PRODUCT_DEVICE := generic_arm_a -PRODUCT_BRAND := Android -PRODUCT_MODEL := AOSP ATV on ARM32 diff --git a/products/aosp_atv_arm_ab.mk b/products/aosp_atv_arm_ab.mk deleted file mode 100644 index d359582..0000000 --- a/products/aosp_atv_arm_ab.mk +++ /dev/null @@ -1,33 +0,0 @@ -# -# Copyright (C) 2018 The Android Open-Source 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. -# - -# PRODUCT_PROPERTY_OVERRIDES cannot be used here because sysprops will be at -# /vendor/[build|default].prop when build split is on. In order to have sysprops -# on the generic system image, place them in build/make/target/board/ -# treble_system.prop. - -include device/google/atv/products/treble_atv_common_32.mk - -AB_OTA_UPDATER := true -AB_OTA_PARTITIONS := system -PRODUCT_PACKAGES += \ - update_engine \ - update_verifier - -PRODUCT_NAME := aosp_atv_arm_ab -PRODUCT_DEVICE := generic_arm_ab -PRODUCT_BRAND := Android -PRODUCT_MODEL := AOSP ATV on ARM32 diff --git a/products/treble_atv_common.mk b/products/treble_atv_common.mk deleted file mode 100644 index d0540d4..0000000 --- a/products/treble_atv_common.mk +++ /dev/null @@ -1,81 +0,0 @@ -# -# Copyright (C) 2018 The Android Open-Source 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. -# - -# PRODUCT_PROPERTY_OVERRIDES cannot be used here because sysprops will be at -# /vendor/[build|default].prop when build split is on. In order to have sysprops -# on the generic system image, place them in build/make/target/board/ -# treble_system.prop. - -# Generic system image inherits from AOSP -$(call inherit-product, device/google/atv/products/atv_base.mk) - -# Split selinux policy -PRODUCT_FULL_TREBLE_OVERRIDE := true - -# Packages required for ATV GSI -PRODUCT_PACKAGES += \ - FrameworkPackageStubs \ - LatinIMEGoogleTvPrebuilt \ - TvProvision \ - TvSampleLeanbackLauncher - -# All VNDK libraries (HAL interfaces, VNDK, VNDK-SP, LL-NDK) -PRODUCT_PACKAGES += vndk_package - -# SP-NDK: -PRODUCT_PACKAGES += \ - libvulkan \ - -# The following policy XML files are used as fallback for -# vendors/devices not using XML to configure audio policy. -PRODUCT_COPY_FILES += \ - frameworks/av/services/audiopolicy/config/audio_policy_configuration_generic.xml:system/etc/audio_policy_configuration.xml \ - frameworks/av/services/audiopolicy/config/primary_audio_policy_configuration.xml:system/etc/primary_audio_policy_configuration.xml \ - frameworks/av/services/audiopolicy/config/r_submix_audio_policy_configuration.xml:system/etc/r_submix_audio_policy_configuration.xml \ - frameworks/av/services/audiopolicy/config/audio_policy_volumes.xml:system/etc/audio_policy_volumes.xml \ - frameworks/av/services/audiopolicy/config/default_volume_tables.xml:system/etc/default_volume_tables.xml \ - -# Bluetooth: -# audio.a2dp.default is a system module. Generic system image includes -# audio.a2dp.default to support A2DP if board has the capability. -PRODUCT_PACKAGES += \ - audio.a2dp.default - -# Net: -# Vendors can use the platform-provided network configuration utilities (ip, -# iptable, etc.) to configure the Linux networking stack, but these utilities -# do not yet include a HIDL interface wrapper. This is a solution on -# Android O. -PRODUCT_PACKAGES += \ - netutils-wrapper-1.0 - -# Support for the devices with no VNDK enforcing -PRODUCT_COPY_FILES += \ - build/make/target/product/vndk/init.gsi.rc:system/etc/init/init.gsi.rc \ - build/make/target/product/vndk/init.noenforce.rc:system/etc/init/gsi/init.noenforce.rc - -# Name space configuration file for non-enforcing VNDK -PRODUCT_PACKAGES += \ - ld.config.noenforce.txt - -# Set current VNDK version for GSI -PRODUCT_SYSTEM_DEFAULT_PROPERTIES += \ - ro.gsi.vndk.version=$(PLATFORM_VNDK_VERSION) - -# privapp-permissions whitelisting -PRODUCT_COPY_FILES += \ - vendor/google/data/etc/permissions/privapp-permissions-google.xml:system/etc/permissions/privapp-permissions-google.xml \ - vendor/google/data/etc/permissions/privapp-permissions-atv.xml:system/etc/permissions/privapp-permissions-atv.xml diff --git a/products/treble_atv_common_32.mk b/products/treble_atv_common_32.mk deleted file mode 100644 index 8609052..0000000 --- a/products/treble_atv_common_32.mk +++ /dev/null @@ -1,22 +0,0 @@ -# -# Copyright (C) 2018 The Android Open-Source 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. -# - -# PRODUCT_PROPERTY_OVERRIDES cannot be used here because sysprops will be at -# /vendor/[build|default].prop when build split is on. In order to have sysprops -# on the generic system image, place them in build/make/target/board/ -# treble_system.prop. - -include device/google/atv/products/treble_atv_common.mk diff --git a/products/treble_atv_common_64.mk b/products/treble_atv_common_64.mk deleted file mode 100644 index 43ebc0b..0000000 --- a/products/treble_atv_common_64.mk +++ /dev/null @@ -1,34 +0,0 @@ -# -# Copyright (C) 2018 The Android Open-Source 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. -# - -# PRODUCT_PROPERTY_OVERRIDES cannot be used here because sysprops will be at -# /vendor/[build|default].prop when build split is on. In order to have sysprops -# on the generic system image, place them in build/make/target/board/ -# treble_system.prop. - -include device/google/atv/products/treble_atv_common.mk - -# For now this will allow 64-bit apps, but still compile all apps with JNI -# for 32-bit only. - -# Copy different zygote settings for vendor.img to select by setting property -# ro.zygote=zygote64_32 or ro.zygote=zygote32_64: -# 1. 64-bit primary, 32-bit secondary OR -# 2. 32-bit primary, 64-bit secondary -# 3. 64-bit only is currently forbidden (b/64280459#comment6) -PRODUCT_COPY_FILES += \ - system/core/rootdir/init.zygote64_32.rc:root/init.zygote64_32.rc \ - system/core/rootdir/init.zygote32_64.rc:root/init.zygote32_64.rc |