Merge "Remove module_name_to_label short circuit from m." am: 4528968faf am: 6492201d28 am: 12b73bc1f5

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

Change-Id: I7d95340f8ff241db93528bc972540307b86f33fe
This commit is contained in:
Jingwen Chen 2021-09-20 09:21:42 +00:00 committed by Automerger Merge Worker
commit 685f419e0f

View file

@ -1720,14 +1720,6 @@ function b()
function m()
(
if [[ "${USE_BAZEL_ANALYSIS}" =~ ^(true|1)$ ]]; then
# This only short-circuits to Bazel for a single module target now.
b cquery "@soong_injection//module_name_to_label:$@" 2>/dev/null
if [[ $? == 0 ]]; then
bazel build "@soong_injection//module_name_to_label:$@" --config=bp2build
return $?
fi
fi
_trigger_build "all-modules" "$@"
)