Merge "Remove module_name_to_label short circuit from m." am: 4528968faf

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

Change-Id: I0e7254c18451a656531049390b3a0ee83ce7d81f
This commit is contained in:
Jingwen Chen 2021-09-20 08:43:59 +00:00 committed by Automerger Merge Worker
commit 6492201d28

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" "$@"
)