aboutsummaryrefslogtreecommitdiffstats
path: root/soong.bash
diff options
context:
space:
mode:
Diffstat (limited to 'soong.bash')
-rwxr-xr-xsoong.bash8
1 files changed, 8 insertions, 0 deletions
diff --git a/soong.bash b/soong.bash
index 1dbf4e4e..d832eb26 100755
--- a/soong.bash
+++ b/soong.bash
@@ -5,6 +5,14 @@ set -e
# Switch to the build directory
cd $(dirname "${BASH_SOURCE[0]}")
+if [ -z "$NO_DEPRECATION_WARNING" ]; then
+ echo '== WARNING: bootstrap.bash & ./soong are deprecated ==' >&2
+ echo 'Use `m --skip-make` with a standalone OUT_DIR instead.' >&2
+ echo 'Without envsetup.sh, use:' >&2
+ echo ' build/soong/soong_ui.bash --make-mode --skip-make' >&2
+ echo '======================================================' >&2
+fi
+
# The source directory path and operating system will get written to
# .soong.bootstrap by the bootstrap script.