Merge "Correct some GSI settings to board makefile"
This commit is contained in:
commit
b2e9b2b34f
2 changed files with 12 additions and 13 deletions
|
@ -53,9 +53,20 @@ TARGET_USES_HWC2 := true
|
||||||
# Set emulator framebuffer display device buffer count to 3
|
# Set emulator framebuffer display device buffer count to 3
|
||||||
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
|
NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
|
||||||
|
|
||||||
BOARD_FLASH_BLOCK_SIZE := 512
|
# Audio
|
||||||
|
USE_XML_AUDIO_POLICY_CONF := 1
|
||||||
|
|
||||||
# b/64700195: add minimum support for odm.img
|
# b/64700195: add minimum support for odm.img
|
||||||
# Currently odm.img can only be built by `make custom_images`.
|
# Currently odm.img can only be built by `make custom_images`.
|
||||||
# Adding /odm mount point under root directory.
|
# Adding /odm mount point under root directory.
|
||||||
BOARD_ROOT_EXTRA_FOLDERS += odm
|
BOARD_ROOT_EXTRA_FOLDERS += odm
|
||||||
|
|
||||||
|
# Android Verified Boot (AVB):
|
||||||
|
# Builds a special vbmeta.img that disables AVB verification.
|
||||||
|
# Otherwise, AVB will prevent the device from booting the generic system.img.
|
||||||
|
# Also checks that BOARD_AVB_ENABLE is not set, to prevent adding verity
|
||||||
|
# metadata into system.img.
|
||||||
|
ifeq ($(BOARD_AVB_ENABLE),true)
|
||||||
|
$(error BOARD_AVB_ENABLE cannot be set for Treble GSI)
|
||||||
|
endif
|
||||||
|
BOARD_BUILD_DISABLED_VBMETAIMAGE := true
|
||||||
|
|
|
@ -42,8 +42,6 @@ PRODUCT_PACKAGES += vndk_package
|
||||||
PRODUCT_PACKAGES += \
|
PRODUCT_PACKAGES += \
|
||||||
libvulkan \
|
libvulkan \
|
||||||
|
|
||||||
# Audio:
|
|
||||||
USE_XML_AUDIO_POLICY_CONF := 1
|
|
||||||
# The following policy XML files are used as fallback for
|
# The following policy XML files are used as fallback for
|
||||||
# vendors/devices not using XML to configure audio policy.
|
# vendors/devices not using XML to configure audio policy.
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
|
@ -72,16 +70,6 @@ PRODUCT_PACKAGES += \
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml
|
device/generic/goldfish/data/etc/apns-conf.xml:system/etc/apns-conf.xml
|
||||||
|
|
||||||
# Android Verified Boot (AVB):
|
|
||||||
# Builds a special vbmeta.img that disables AVB verification.
|
|
||||||
# Otherwise, AVB will prevent the device from booting the generic system.img.
|
|
||||||
# Also checks that BOARD_AVB_ENABLE is not set, to prevent adding verity
|
|
||||||
# metadata into system.img.
|
|
||||||
ifeq ($(BOARD_AVB_ENABLE),true)
|
|
||||||
$(error BOARD_AVB_ENABLE cannot be set for Treble GSI)
|
|
||||||
endif
|
|
||||||
BOARD_BUILD_DISABLED_VBMETAIMAGE := true
|
|
||||||
|
|
||||||
#GSI support for the devices that disable VNDK enforcing
|
#GSI support for the devices that disable VNDK enforcing
|
||||||
PRODUCT_COPY_FILES += \
|
PRODUCT_COPY_FILES += \
|
||||||
system/core/rootdir/etc/ld.config.txt:system/etc/ld.config.noenforce.txt \
|
system/core/rootdir/etc/ld.config.txt:system/etc/ld.config.noenforce.txt \
|
||||||
|
|
Loading…
Reference in a new issue