Export TARGET_SCREEN_DENSITY to Soong

Test: m nothing
Bug: 381888358
Change-Id: Ie356aedb82859b816635776d546dfde88f156eaa
diff --git a/core/soong_config.mk b/core/soong_config.mk
index 06a88a3..91819fa 100644
--- a/core/soong_config.mk
+++ b/core/soong_config.mk
@@ -502,6 +502,9 @@
   # Used to generate fsv meta
   $(call add_json_bool, ProductFsverityGenerateMetadata,               $(PRODUCT_FSVERITY_GENERATE_METADATA))
 
+  # Used to generate recovery partition
+  $(call add_json_str, TargetScreenDensity, $(TARGET_SCREEN_DENSITY))
+
 $(call end_json_map)
 
 # For converting vintf_data