Export TARGET_USES_VULKAN as string
Make build.prop has three values for ro.hwui.use_vulkan
- true
- false
- (empty string)
In preparation for validating soong built vendor filesystem, export
TARGET_USES_VULKAN as a string. This allows `gen_build_prop.py` to
create empty `ro.hwui.use_vulkan` (currently it will populate it as
false)
Bug: 382295862
Test: compared vendor build.prop for aosp_cf_x86_64_phone
Change-Id: Ib6a37a950a33e7b06c260bb651347b4fb4e36834
diff --git a/core/soong_extra_config.mk b/core/soong_extra_config.mk
index 2ff83a1..8eee50a 100644
--- a/core/soong_extra_config.mk
+++ b/core/soong_extra_config.mk
@@ -80,7 +80,7 @@
$(call add_json_str, ScreenDensity, $(TARGET_SCREEN_DENSITY))
-$(call add_json_bool, UsesVulkan, $(filter true,$(TARGET_USES_VULKAN)))
+$(call add_json_str, UsesVulkan, $(TARGET_USES_VULKAN))
$(call add_json_bool, ZygoteForce64, $(filter true,$(ZYGOTE_FORCE_64)))