From 876c1c946646632f6c05b85fcf2cf95a2d03fa2a Mon Sep 17 00:00:00 2001 From: Spandan Das Date: Fri, 6 Dec 2024 20:37:05 +0000 Subject: Use unmodified TARGET_USES_VULKAN in ro.hwui.use_vulkan This will create an empty ro.hwui.use_vulkan if TARGET_USES_VULKAN is empty. This matches the make behavior, and helps with validating the contents of soong vendor filesystem. Bug: 382295862 Test: lunch aosp_cf_x86_64_phone-trunk_staging-userdebug Test: m out/soong/.intermediates/build/soong/fsgen/aosp_cf_x86_64_phone_generated_vendor_image/android_common/aosp_cf_x86_64_phone_generated_vendor_image.img Test: Verified that ro.hwui.use_vulkan is same between make and soong (empty string) Change-Id: I9f80e613f7539dd2e895cfa96bd2ba481ddd6974 --- scripts/gen_build_prop.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/gen_build_prop.py') diff --git a/scripts/gen_build_prop.py b/scripts/gen_build_prop.py index 5f52d6f9e..47bbf590a 100644 --- a/scripts/gen_build_prop.py +++ b/scripts/gen_build_prop.py @@ -450,7 +450,7 @@ def append_additional_vendor_props(args): props.append(f"ro.vendor.build.security_patch={config['VendorSecurityPatch']}") props.append(f"ro.product.board={config['BootloaderBoardName']}") props.append(f"ro.board.platform={config['BoardPlatform']}") - props.append(f"ro.hwui.use_vulkan={'true' if config['UsesVulkan'] else 'false'}") + props.append(f"ro.hwui.use_vulkan={config['UsesVulkan']}") if config["ScreenDensity"]: props.append(f"ro.sf.lcd_density={config['ScreenDensity']}") -- cgit v1.2.3-59-g8ed1b