linux-imx/build.config.gki.x86_64
HONG Yifan 7a8bff32fa ANDROID: dissuade people from using some build configs.
Almost all build configs except build.config.constants would
emit a warning when it is sourced.

This pushes people away from using them. Eventually we'll
make this an error.

Bug: 236012223
Change-Id: I859d47219f064d80c1f3a49f6f5884ab8d3566f9
Signed-off-by: HONG Yifan <elsk@google.com>
(cherry picked from commit 89f5c613b9513c0b7189d669f39497ee5a1c1cca)
2025-01-23 17:00:54 -08:00

16 lines
615 B
Plaintext

# Note: This file is no longer used by the GKI to build. The file is kept
# here because of external usages.
# TODO(b/236012223): Deprecate and remove this file once build-config-less
# builds are fully supported.
echo 'WARNING: Do not source build.config.gki.x86_64. See warnings below for details.' >&2
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.common
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.x86_64
. ${ROOT_DIR}/${KERNEL_DIR}/build.config.gki
if [ -n "${GKI_BUILD_CONFIG_FRAGMENT}" ]; then
echo "ERROR: GKI_BUILD_CONFIG_FRAGMENT is deprecated; use --gki_build_config_fragment instead.">&2
exit 1
fi