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

Commit e9381754 authored by Colin Cross's avatar Colin Cross
Browse files

Make USE_D8 and USE_R8 read-only

Confusion between LOCAL_USE_R8 and USE_R8 caused USE_R8 := false
to be set in an Android.mk file, which changed the behavior of
half of the build.  Make USE_R8 and USE_D8 read-only to prevent
it from happening again.

Test: m checkbuild
Bug: 110033958
Change-Id: I09a8fbf3d7f8e4b3f0cb3de538870f925d5d0abe
parent 674454f2
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -572,11 +572,13 @@ USE_PREBUILT_SDK_TOOLS_IN_PLACE := true
# Work around for b/68406220
# This should match the soong version.
USE_D8 := true
.KATI_READONLY := USE_D8

# Default R8 behavior when USE_R8 is not specified.
ifndef USE_R8
  USE_R8 := true
endif
.KATI_READONLY := USE_R8

#
# Tools that are prebuilts for TARGET_BUILD_APPS