Add ProductDirectory variable to soong_config.mk

Bug: 297269187
Test: m nothing
Change-Id: Ib14ce9d911c86afb5bb770c4b05977021e771c0f
This commit is contained in:
Cole Faust 2023-09-14 15:16:45 -07:00
parent b25e443bc5
commit c7dcd2629a

View file

@ -319,6 +319,10 @@ $(call add_json_bool, KeepVndk, $(filter true,$(KEEP_VNDK)))
$(call add_json_bool, CheckVendorSeappViolations, $(filter true,$(CHECK_VENDOR_SEAPP_VIOLATIONS)))
$(call add_json_map, PartitionVars)
$(call add_json_str, ProductDirectory, $(dir $(INTERNAL_PRODUCT)))
$(call end_json_map)
$(call json_end)
$(file >$(SOONG_VARIABLES).tmp,$(json_contents))