From 84e61d0d0740a1c34060857d4e5f62858957d7c5 Mon Sep 17 00:00:00 2001 From: Joe Onorato Date: Fri, 2 Feb 2024 22:53:39 -0800 Subject: [PATCH] Add build/soong/bin to the paths This gives us a good place to put scripts on the PATH instead of adding more functions to envsetup.sh Test: GENERATE_SOONG_DEBUG=true m nothing ; soongdbg ... Change-Id: I3c1a80fc8aae8de548bfe9036dc86fa006fc58c6 --- envsetup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/envsetup.sh b/envsetup.sh index e180cf1a35..6111952ecf 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -366,7 +366,8 @@ function set_global_paths() fi # And in with the new... - ANDROID_GLOBAL_BUILD_PATHS=$T/build/bazel/bin + ANDROID_GLOBAL_BUILD_PATHS=$T/build/soong/bin + ANDROID_GLOBAL_BUILD_PATHS+=:$T/bazel/bin ANDROID_GLOBAL_BUILD_PATHS+=:$T/development/scripts ANDROID_GLOBAL_BUILD_PATHS+=:$T/prebuilts/devtools/tools