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

Commit 445c2853 authored by Vishwath Mohan's avatar Vishwath Mohan
Browse files

Change the global CFI flag to default to enabled.

This CL changes the ENABLE_CFI flag to default to enabled. Setting it
to false will override local settings to enable CFI.

Bug: 30227045
Bug: 22033465
Test: m -j40 works and device boots
Test: cfi is honored unless the global flag is set.
Change-Id: I1e449f5a4c56a76865ebe5bb8613e3781fbbac14
parent 34eb9f7f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -63,7 +63,7 @@ $(SOONG_VARIABLES): FORCE
	echo '    "CrossHostArch": "$(HOST_CROSS_ARCH)",'; \
	echo '    "CrossHostSecondaryArch": "$(HOST_CROSS_2ND_ARCH)",'; \
	echo '    "Safestack": $(if $(filter true,$(USE_SAFESTACK)),true,false),'; \
	echo '    "EnableCFI": $(if $(filter true,$(ENABLE_CFI)),true,false),'; \
	echo '    "EnableCFI": $(if $(filter false,$(ENABLE_CFI)),false,true),'; \
	echo ''; \
	echo '    "ArtUseReadBarrier": $(if $(filter true,$(PRODUCT_ART_USE_READ_BARRIER)),true,false),'; \
	echo ''; \