Change BOARD_USES_RECOVERY_AS_BOOT to a Boolean type

Set `BOARD_USES_RECOVERY_AS_BOOT` to a Boolean type and use the
`select` syntax in Android.bp.
This usage is more concise and easier to understand compared to
`soong_config_module_type`.

Bug: 347605145
Test: m init_vendor
Change-Id: I551b560688c9bd792e3b9cadcdfc01b4e0215823
This commit is contained in:
Nelson Li
2024-06-21 03:00:37 +00:00
parent 78d6964fa0
commit ab9e6521c2

View File

@@ -27,7 +27,7 @@ $(call add_soong_config_namespace,ANDROID)
# Add variables to the namespace below:
$(call add_soong_config_var,ANDROID,BOARD_USES_ODMIMAGE)
$(call add_soong_config_var,ANDROID,BOARD_USES_RECOVERY_AS_BOOT)
$(call soong_config_set_bool,ANDROID,BOARD_USES_RECOVERY_AS_BOOT,$(BOARD_USES_RECOVERY_AS_BOOT))
$(call add_soong_config_var,ANDROID,CHECK_DEV_TYPE_VIOLATIONS)
$(call add_soong_config_var,ANDROID,PLATFORM_SEPOLICY_VERSION)
$(call add_soong_config_var,ANDROID,PLATFORM_SEPOLICY_COMPAT_VERSIONS)