Add TARGET_SUPPORTS_32_BIT_APPS to soong_config_variable:
Some modules still need to use TARGET_SUPPORTS_32_BIT_APPS to
distinguish whether they support 32-bit and 64-bit (e.g., Chrome).
Bug: 383686128
Test: m -j TrichromeLibrary-Stub
Change-Id: I65dbc20876787f750d84fa9c18b2ad38159e2d35
diff --git a/core/android_soong_config_vars.mk b/core/android_soong_config_vars.mk
index 862fcb2..3da75d3 100644
--- a/core/android_soong_config_vars.mk
+++ b/core/android_soong_config_vars.mk
@@ -39,6 +39,7 @@
$(call add_soong_config_var,ANDROID,TARGET_DYNAMIC_64_32_DRMSERVER)
$(call add_soong_config_var,ANDROID,TARGET_ENABLE_MEDIADRM_64)
$(call add_soong_config_var,ANDROID,TARGET_DYNAMIC_64_32_MEDIASERVER)
+$(call soong_config_set_bool,ANDROID,TARGET_SUPPORTS_32_BIT_APPS,$(if $(TARGET_SUPPORTS_32_BIT_APPS),true,false))
$(call add_soong_config_var,ANDROID,BOARD_GENFS_LABELS_VERSION)
$(call add_soong_config_var,ANDROID,ADDITIONAL_M4DEFS,$(if $(BOARD_SEPOLICY_M4DEFS),$(addprefix -D,$(BOARD_SEPOLICY_M4DEFS))))