Merge "Replace GENERATE_BAZEL_FILES=1 with "m bp2build"."

This commit is contained in:
Treehugger Robot
2021-09-07 09:16:05 +00:00
committed by Gerrit Code Review

View File

@@ -1707,7 +1707,7 @@ function _trigger_build()
function b() function b()
( (
# Generate BUILD, bzl files into the synthetic Bazel workspace (out/soong/workspace). # 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. # Then, run Bazel using the synthetic workspace as the --package_path.
if [[ -z "$@" ]]; then if [[ -z "$@" ]]; then
# If there are no args, show help. # If there are no args, show help.