Merge changes from topics "move-avf-jar-to-bcp", "virt-apex-on-system"

* changes:
  Add framework-virtualization to PRODUCT_APEX_BOOT_JARS
  Unconditionally install com.android.virt APEX
This commit is contained in:
Nikita Ioffe
2022-11-16 08:49:36 +00:00
committed by Gerrit Code Review
4 changed files with 9 additions and 0 deletions

View File

@@ -102,6 +102,10 @@ endif
# SystemUI.
$(call add_soong_config_var,ANDROID,SYSTEMUI_OPTIMIZE_JAVA)
ifdef PRODUCT_AVF_ENABLED
$(call add_soong_config_var_value,ANDROID,avf_enabled,$(PRODUCT_AVF_ENABLED))
endif
# Enable system_server optimizations by default unless explicitly set or if
# there may be dependent runtime jars.
# TODO(b/240588226): Remove the off-by-default exceptions after handling

View File

@@ -367,6 +367,9 @@ _product_single_value_vars += PRODUCT_FSVERITY_GENERATE_METADATA
# BRANCH_DEFAULT_MODULE_BUILD_FROM_SOURCE but not an explicitly set value.
_product_single_value_vars += PRODUCT_MODULE_BUILD_FROM_SOURCE
# If true, installs a full version of com.android.virt APEX.
_product_single_value_vars += PRODUCT_AVF_ENABLED
.KATI_READONLY := _product_single_value_vars _product_list_vars
_product_var_list :=$= $(_product_single_value_vars) $(_product_list_vars)

View File

@@ -72,6 +72,7 @@ PRODUCT_PACKAGES += \
com.android.tethering \
com.android.tzdata \
com.android.uwb \
com.android.virt \
com.android.wifi \
ContactsProvider \
content \

View File

@@ -70,6 +70,7 @@ PRODUCT_APEX_BOOT_JARS := \
com.android.tethering:framework-connectivity-t \
com.android.tethering:framework-tethering \
com.android.uwb:framework-uwb \
com.android.virt:framework-virtualization \
com.android.wifi:framework-wifi \
# List of system_server classpath jars delivered via apex.