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

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

Change-Id: I720114bc61542fff7a4378cf0c0a1e8019303bd9
This commit is contained in:
Jingwen Chen
2021-09-20 11:48:08 +00:00
committed by Automerger Merge Worker

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