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

Commit b276317d authored by Joe Onorato's avatar Joe Onorato Committed by Automerger Merge Worker
Browse files

Merge "Give an error when trying to build "next" targets" into main am:...

Merge "Give an error when trying to build "next" targets" into main am: 23a778b3 am: 773e7461 am: a1c5a31b

Original change: https://android-review.googlesource.com/c/platform/build/+/2703313



Change-Id: Iffa0f057ae3218aa66829d453669604ee8b6b23b
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents a6aadb25 a1c5a31b
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -76,6 +76,12 @@ ifneq ($(TARGET_RELEASE),)
ifeq ($(filter $(_all_release_configs), $(TARGET_RELEASE)),)
    $(error No release config found for TARGET_RELEASE: $(TARGET_RELEASE). Available releases are: $(_all_release_configs))
else
# TODO(b/294161396): Remove this logic
ifeq ($(TARGET_RELEASE),next)
ifndef TESTING_TARGET_RELEASE_NEXT
   $(error "next" releases are not supported yet.  b/294161396)
endif
endif
    # Choose flag files
    # Don't sort this, use it in the order they gave us.
    flag_value_files := $(_all_release_configs.$(TARGET_RELEASE).FILES)