Pass PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD to Soong

Pass PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD to Soong so it can decide if
ART debug APEX should be used instead of ART APEX

Bug: 351698657
Test: AOSP CF eng build succeeded
Change-Id: I1e0683be5cd66f1a18e7aec5b1d96ac6e5f4588a
This commit is contained in:
Kiyoung Kim 2024-07-18 13:22:07 +09:00 committed by Bartłomiej Rudecki
parent b91b0f1462
commit 92cc83d5f2
Signed by: przekichane
GPG key ID: 751F23C6F014EF76

View file

@ -363,6 +363,12 @@ $(call add_json_bool, BoardUseVbmetaDigestInFingerprint, $(filter true,$(BOARD_U
$(call add_json_list, OemProperties, $(PRODUCT_OEM_PROPERTIES))
# Do not set ArtTargetIncludeDebugBuild into any value if PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD is not set,
# to have the same behavior from runtime_libart.mk.
ifneq ($(PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD),)
$(call add_json_bool, ArtTargetIncludeDebugBuild, $(PRODUCT_ART_TARGET_INCLUDE_DEBUG_BUILD))
endif
$(call json_end)
$(file >$(SOONG_VARIABLES).tmp,$(json_contents))