59c61acf64
Build from text stub feature was initially implemented to improve build performance and may be unstable for api finalization, as the stubs generated from api signature files miss some methods, which may cause backward compatibility issues. Therefore, this change disables building from text stub for api finalization. Test: build/tools/finalization/finalize-aidl-vndk-sdk-resources.sh and inspect generated ninja file to verify that the stubs are generated from source Java files. Bug: 310279899 Change-Id: I9d374e973788bc97514815f64eeb949a94a97647
26 lines
No EOL
949 B
Bash
Executable file
26 lines
No EOL
949 B
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='58'
|
|
|
|
# Options:
|
|
# 'unfinalized' - branch is in development state,
|
|
# 'sdk' - SDK/API is finalized
|
|
# 'rel' - branch is finalized, switched to REL
|
|
export FINAL_STATE='unfinalized'
|
|
|
|
export BUILD_FROM_SOURCE_STUB=true |