Merge "Replace GENERATE_BAZEL_FILES=1 with "m bp2build"." am: f673d10736 am: af7f572207 am: d6d5fbd463 am: 375370fdaa

Original change: https://android-review.googlesource.com/c/platform/build/+/1818098

Change-Id: I5f9521e41b5cb4df16c5a5999e9f9580241b67e1
This commit is contained in:
Treehugger Robot 2021-09-07 10:48:16 +00:00 committed by Automerger Merge Worker
commit d10de8bd7d

View file

@ -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.