xref: /aosp_15_r20/build/make/tools/finalization/environment.sh (revision 9e94795a3d4ef5c1d47486f9a02bb378756cea8a)
1*9e94795aSAndroid Build Coastguard Worker#!/bin/bash
2*9e94795aSAndroid Build Coastguard Worker
3*9e94795aSAndroid Build Coastguard Workerset -ex
4*9e94795aSAndroid Build Coastguard Worker
5*9e94795aSAndroid Build Coastguard Workerexport FINAL_BUG_ID='0' # CI only
6*9e94795aSAndroid Build Coastguard Worker
7*9e94795aSAndroid Build Coastguard Workerexport FINAL_PLATFORM_CODENAME='VanillaIceCream'
8*9e94795aSAndroid Build Coastguard Workerexport CURRENT_PLATFORM_CODENAME='VanillaIceCream'
9*9e94795aSAndroid Build Coastguard Workerexport FINAL_PLATFORM_CODENAME_JAVA='VANILLA_ICE_CREAM'
10*9e94795aSAndroid Build Coastguard Workerexport FINAL_PLATFORM_VERSION='15'
11*9e94795aSAndroid Build Coastguard Worker
12*9e94795aSAndroid Build Coastguard Worker# Set arbitrary large values for CI.
13*9e94795aSAndroid Build Coastguard Worker# SDK_VERSION needs to be <61 (lint/libs/lint-api/src/main/java/com/android/tools/lint/detector/api/ApiConstraint.kt)
14*9e94795aSAndroid Build Coastguard Worker# There are multiple places where we rely on next SDK version to be previous + 1, e.g. RESOURCES_SDK_INT.
15*9e94795aSAndroid Build Coastguard Worker# We might or might not fix this in future, but for now let's keep it +1.
16*9e94795aSAndroid Build Coastguard Workerexport FINAL_PLATFORM_SDK_VERSION='35'
17*9e94795aSAndroid Build Coastguard Worker# Feel free to randomize once in a while to detect buggy version detection code.
18*9e94795aSAndroid Build Coastguard Workerexport FINAL_MAINLINE_EXTENSION='13'
19*9e94795aSAndroid Build Coastguard Worker
20*9e94795aSAndroid Build Coastguard Worker# Options:
21*9e94795aSAndroid Build Coastguard Worker# 'unfinalized' - branch is in development state,
22*9e94795aSAndroid Build Coastguard Worker# 'vintf' - VINTF is finalized
23*9e94795aSAndroid Build Coastguard Worker# 'sdk' - VINTF and SDK/API are finalized
24*9e94795aSAndroid Build Coastguard Worker# 'rel' - branch is finalized, switched to REL
25*9e94795aSAndroid Build Coastguard Workerexport FINAL_STATE='rel'
26*9e94795aSAndroid Build Coastguard Worker
27*9e94795aSAndroid Build Coastguard Workerexport BUILD_FROM_SOURCE_STUB=true
28*9e94795aSAndroid Build Coastguard Worker
29*9e94795aSAndroid Build Coastguard Worker# FINAL versions for VINTF
30*9e94795aSAndroid Build Coastguard Worker# TODO(b/323985297): The version must match with that from the release configuration.
31*9e94795aSAndroid Build Coastguard Worker# Instead of hardcoding the version here, read it from a release configuration.
32*9e94795aSAndroid Build Coastguard Workerexport FINAL_BOARD_API_LEVEL='202504'
33*9e94795aSAndroid Build Coastguard Workerexport FINAL_CORRESPONDING_VERSION_LETTER='W'
34*9e94795aSAndroid Build Coastguard Workerexport FINAL_CORRESPONDING_PLATFORM_VERSION='16'
35*9e94795aSAndroid Build Coastguard Workerexport FINAL_NEXT_BOARD_API_LEVEL='202604'
36*9e94795aSAndroid Build Coastguard Workerexport FINAL_NEXT_CORRESPONDING_VERSION_LETTER='X'
37*9e94795aSAndroid Build Coastguard Workerexport FINAL_NEXT_CORRESPONDING_SDK_VERSION='37'
38