diff --git a/envsetup.sh b/envsetup.sh index 6085f7a11b..d70e815657 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -1707,7 +1707,7 @@ function _trigger_build() function b() ( # Generate BUILD, bzl files into the synthetic Bazel workspace (out/soong/workspace). - _trigger_build "all-modules" nothing GENERATE_BAZEL_FILES=true USE_BAZEL_ANALYSIS= || return 1 + _trigger_build "all-modules" bp2build USE_BAZEL_ANALYSIS= || return 1 # Then, run Bazel using the synthetic workspace as the --package_path. if [[ -z "$@" ]]; then # If there are no args, show help.