ANDROID: Suppress build.sh deprecation warnings.

build.sh will continued to be supported in android13-*
branches. To avoid confusion, suppress the deprecation
warnings when executing build.sh on android13-*.

This change also avoids the time delay for inferring
the equivalent Bazel command.

It is still encouraged to migrate build.sh to Bazel.

Test: manually execute build.sh, no deprecation warnings
Bug: 222074706
Change-Id: I8b62a442cb154f43375a9dae6593340c79ba556c
Signed-off-by: Yifan Hong <elsk@google.com>
This commit is contained in:
Yifan Hong
2022-04-19 22:34:01 -07:00
committed by Todd Kjos
parent 5d6831add7
commit f6c964af25

View File

@@ -14,3 +14,5 @@ IN_KERNEL_MODULES=1
DO_NOT_STRIP_MODULES=1
HERMETIC_TOOLCHAIN=${HERMETIC_TOOLCHAIN:-1}
KLEAF_SUPPRESS_BUILD_SH_DEPRECATION_WARNING=${KLEAF_SUPPRESS_BUILD_SH_DEPRECATION_WARNING:-1}