From 71e7a059a0e1d5f8e63366f3c45646f2f8a7e574 Mon Sep 17 00:00:00 2001 From: Yifan Hong Date: Tue, 19 Apr 2022 22:34:01 -0700 Subject: [PATCH] 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 --- build.config.common | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.config.common b/build.config.common index 339c8e25e2d8..9a3580b33978 100644 --- a/build.config.common +++ b/build.config.common @@ -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}