Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c7fea480 authored by Kiyoung Kim's avatar Kiyoung Kim
Browse files

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
parent 000be965
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -361,6 +361,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))