# # Copyright (C) 2020 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 makefile contains the system partition contents for # a generic TV device.
# PRODUCT_SUPPORTS_TUNER: Whether the product hardware tuner. When 'false', # we drop mediatuner, which saves ~4 MiB of RAM. When 'true', the tuner HAL # should be implemented in vendor partition and android.hardware.tv.tuner # permission should be installed. # # Defaults to true to mimic legacy behaviour.
PRODUCT_SUPPORTS_TUNER ?= true ifeq ($(PRODUCT_SUPPORTS_TUNER),true)
PRODUCT_PACKAGES += libmedia_tv_tuner endif
# PRODUCT_SUPPORTS_CAMERA: Whether the product supports cameras at all # (built-in or external USB camera). When 'false', we drop cameraserver, which # saves ~3 MiB of RAM. When 'true', additional settings are required for # external webcams to work, see "External USB Cameras" documentation. # # Aussme 'true' if no one sets 'false'. ifneq ($(PRODUCT_SUPPORTS_CAMERA),false)
PRODUCT_PACKAGES += cameraserver
PRODUCT_PACKAGES += CameraExtensionsProxy else # When cameraserver is not included, we need to configure Camera API to not # connect to it.
PRODUCT_PROPERTY_OVERRIDES += config.disable_cameraservice=true endif
# SDK builds needs to build layoutlib-legacy that depends on debug info ifneq ($(PRODUCT_IS_ATV_SDK),true) # Strip the local variable table and the local variable type table to reduce # the size of the system image. This has no bearing on stack traces, but will # leave less information available via JDWP. # From //build/make/target/product/go_defaults_common.mk
PRODUCT_MINIMIZE_JAVA_DEBUG_INFO := true
# Do not generate libartd. # From //build/make/target/product/go_defaults_common.mk
PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD := false endif
# Enable frame-exact AV sync
PRODUCT_PROPERTY_OVERRIDES += \
persist.sys.media.avsync=true
# Update Display.getDeviceProductInfo() on hotplug
PRODUCT_PROPERTY_OVERRIDES += \
ro.surface_flinger.update_device_product_info_on_hotplug_reconnect=1
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.