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

Commit 573fbcd1 authored by Sebastian Ene's avatar Sebastian Ene
Browse files

Drop the PLATFORM_VERSION_CODENAME conditional



Evaluate the list of all active codenames when version_util.mk is
invoked.

Bug: 230720688
Change-Id: I1c6a3e94230e856cf41f1f79b37893576957dc3d
Signed-off-by: default avatarSebastian Ene <sebastianene@google.com>
parent 4faef387
Loading
Loading
Loading
Loading
+23 −25
Original line number Diff line number Diff line
@@ -56,7 +56,6 @@ MAX_PLATFORM_VERSION :=
# unreleased API level targetable by this branch, not just those that are valid
# lunch targets for this branch.

ifndef PLATFORM_VERSION_CODENAME
PLATFORM_VERSION_CODENAME := $(PLATFORM_VERSION_CODENAME.$(TARGET_PLATFORM_VERSION))
ifndef PLATFORM_VERSION_CODENAME
  # PLATFORM_VERSION_CODENAME falls back to TARGET_PLATFORM_VERSION
@@ -85,7 +84,6 @@ ifndef PLATFORM_VERSION_CODENAME
PLATFORM_VERSION_ALL_CODENAMES := \
  $(subst $(space),$(comma),$(strip $(PLATFORM_VERSION_ALL_CODENAMES)))

endif
.KATI_READONLY := \
  PLATFORM_VERSION_CODENAME \
  PLATFORM_VERSION_ALL_CODENAMES