Set BUILD_FROM_SOURCE_STUB=true for finalization

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
This commit is contained in:
Jihoon Kang
2023-11-15 00:38:41 +00:00
parent 534b47bc8e
commit 59c61acf64

View File

@@ -22,3 +22,5 @@ export FINAL_MAINLINE_EXTENSION='58'
# 'sdk' - SDK/API is finalized
# 'rel' - branch is finalized, switched to REL
export FINAL_STATE='unfinalized'
export BUILD_FROM_SOURCE_STUB=true