Merge "Export TARGET_SCREEN_DENSITY to Soong" into main am: fd562721fd

Original change: https://android-review.googlesource.com/c/platform/build/+/3391000

Change-Id: I5c99d4966c2bec7c860c3873677141bdf3480148
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
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