platform_build/tools/finalization/environment.sh
Mårten Kongstad 3ada31ed55 finalization: set FINAL_STATE to 'rel'
VIC is set to REL. Accordingly, set FINAL_STATE to 'rel' to prevent the
finalization scripts from running steps that have already been merged.

Bug: 335304236
Test: treehugger (main-fina-2-release succeed)
Ignore-AOSP-FIRST: arrives in aosp with ap3a
Change-Id: Id42c3ae2ffead62ac6019690f0586d8db8d22ef8
2024-05-22 08:30:29 +02:00

32 lines
1.2 KiB
Bash
Executable file

#!/bin/bash
set -ex
export FINAL_BUG_ID='0' # CI only
export FINAL_PLATFORM_CODENAME='VanillaIceCream'
export CURRENT_PLATFORM_CODENAME='VanillaIceCream'
export FINAL_PLATFORM_CODENAME_JAVA='VANILLA_ICE_CREAM'
export FINAL_PLATFORM_VERSION='15'
# Set arbitrary large values for CI.
# SDK_VERSION needs to be <61 (lint/libs/lint-api/src/main/java/com/android/tools/lint/detector/api/ApiConstraint.kt)
# There are multiple places where we rely on next SDK version to be previous + 1, e.g. RESOURCES_SDK_INT.
# We might or might not fix this in future, but for now let's keep it +1.
export FINAL_PLATFORM_SDK_VERSION='35'
# Feel free to randomize once in a while to detect buggy version detection code.
export FINAL_MAINLINE_EXTENSION='13'
# Options:
# 'unfinalized' - branch is in development state,
# 'vintf' - VINTF is finalized
# 'sdk' - VINTF and SDK/API are finalized
# 'rel' - branch is finalized, switched to REL
export FINAL_STATE='rel'
export BUILD_FROM_SOURCE_STUB=true
# FINAL versions for VINTF
# TODO(b/323985297): The version must match with that from the release configuration.
# Instead of hardcoding the version here, read it from a release configuration.
export FINAL_BOARD_API_LEVEL='202404'