# # Copyright (C) 2019 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. #
# # The makefile contains the special settings for GSI releasing. # This makefile is used for the build targets which used for releasing GSI. # # For example: # - Released GSI contains skip_mount.cfg to skip mounting prodcut paritition # - Released GSI contains more VNDK packages to support old version vendors # - etc. # # See device/generic/common/README.md for more details. #
# GSI should always support up-to-date platform features. # Keep this value at the latest API level to ensure latest build system # default configs are applied.
PRODUCT_SHIPPING_API_LEVEL := $(PLATFORM_SDK_VERSION)
# Force-set 16KB page size configuration to be explicit, # also because shipping API level on the GSI sometimes gets # updated late.
PRODUCT_NO_BIONIC_PAGE_SIZE_MACRO := true
PRODUCT_MAX_PAGE_SIZE_SUPPORTED := 16384
# GSI specific tasks on boot
PRODUCT_PACKAGES += \
gsi_skip_mount.cfg \
init.gsi.rc \
init.vndk-nodef.rc \
# Add all system_ext packages used to support older/upgrading devices that have # PRODUCT_SHIPPING_API_LEVEL 34 or older. # These can be removed as we drop support for the older API levels.
PRODUCT_PACKAGES += \
hwservicemanager \
android.hidl.allocator@1.0-service \
android.hidl.memory@1.0-impl \
# PRODUCT_SHIPPING_API_LEVEL 33 or older. # These can be removed as we drop support for the older API levels.
PRODUCT_PACKAGES += \
wificond \
# Overlay the GSI specific setting for framework and SystemUI ifneq ($(PRODUCT_IS_AUTOMOTIVE),true)
PRODUCT_PACKAGES += \
gsi_overlay_framework \
gsi_overlay_systemui \
PRODUCT_COPY_FILES += \
device/generic/common/overlays/overlay-config.xml:$(TARGET_COPY_OUT_SYSTEM_EXT)/overlay/config/config.xml endif
# Build pvmfw with GSI: b/376363989, pvmfw currently only supports AArch64 ifneq (,$(filter %_arm64,$(TARGET_PRODUCT)))
PRODUCT_BUILD_PVMFW_IMAGE := true endif
# Additional settings used in all GSI builds
PRODUCT_PRODUCT_PROPERTIES += \
ro.crypto.metadata_init_delete_all_keys.enabled=false \
debug.codec2.bqpool_dealloc_after_stop=1 \
# A GSI is to be mixed with different boot images. That means we can't determine # the kernel version when building a GSI. # Assume the device supports UFFD. If it doesn't, the ART runtime will fall back # to CC, and odrefresh will regenerate core dexopt artifacts on the first boot, # so this is okay.
PRODUCT_ENABLE_UFFD_GC := true
Messung V0.5 in Prozent
¤ Dauer der Verarbeitung: 0.11 Sekunden
(vorverarbeitet am 2026-06-28)
¤
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.