ANDROID: Error to use GKI_BUILD_CONFIG_FRAGMENT.

Kleaf has introduced --gki_build_config_fragment for quite a while
to replace GKI_BUILD_CONFIG_FRAGMENT.

Make it an error to use the legacy GKI_BUILD_CONFIG_FRAGMENT.

Bug: 236012223
Change-Id: I27d31c489d0271d7fba922e116cd1f8e6eece801
Signed-off-by: HONG Yifan <elsk@google.com>
This commit is contained in:
HONG Yifan
2024-09-12 17:28:46 -07:00
committed by Treehugger Robot
parent 5e35866a0e
commit bc65dc372f
2 changed files with 4 additions and 2 deletions
+2 -1
View File
@@ -3,5 +3,6 @@
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.gki
if [ -n "${GKI_BUILD_CONFIG_FRAGMENT}" ]; then
source ${GKI_BUILD_CONFIG_FRAGMENT}
echo "ERROR: GKI_BUILD_CONFIG_FRAGMENT is deprecated; use --gki_build_config_fragment instead.">&2
exit 1
fi
+2 -1
View File
@@ -3,5 +3,6 @@
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.gki
if [ -n "${GKI_BUILD_CONFIG_FRAGMENT}" ]; then
source ${GKI_BUILD_CONFIG_FRAGMENT}
echo "ERROR: GKI_BUILD_CONFIG_FRAGMENT is deprecated; use --gki_build_config_fragment instead.">&2
exit 1
fi