Merge "Disable OMX for 64b_only devices."

This commit is contained in:
Treehugger Robot 2022-08-04 01:25:36 +00:00 committed by Gerrit Code Review
commit ffa1f0fff0
2 changed files with 8 additions and 1 deletions

View file

@ -42,7 +42,6 @@ PRODUCT_HOST_PACKAGES += \
# Base modules and settings for the vendor partition.
PRODUCT_PACKAGES += \
android.hardware.cas@1.2-service \
android.hardware.media.omx@1.0-service \
boringssl_self_test_vendor \
dumpsys_vendor \
fs_config_files_nonsystem \
@ -69,6 +68,13 @@ PRODUCT_PACKAGES += \
selinux_policy_nonsystem \
shell_and_utilities_vendor \
# OMX not supported for 64bit_only builds
ifneq ($(TARGET_SUPPORTS_OMX_SERVICE),false)
PRODUCT_PACKAGES += \
android.hardware.media.omx@1.0-service \
endif
# Base module when shipping api level is less than or equal to 29
PRODUCT_PACKAGES_SHIPPING_API_LEVEL_29 += \
android.hardware.configstore@1.1-service \

View file

@ -31,3 +31,4 @@ PRODUCT_VENDOR_PROPERTIES += dalvik.vm.dex2oat64.enabled=true
TARGET_SUPPORTS_32_BIT_APPS := false
TARGET_SUPPORTS_64_BIT_APPS := true
TARGET_SUPPORTS_OMX_SERVICE := false