Remove module_name_to_label short circuit from m.

This wasn't adding much value, let's remove it for now until we decide
on how mixed builds will be exposed for users later.

Test: USE_BAZEL_ANALYSIS=1 m droid
Change-Id: I16465fd7759646964ea8c50aab6ab91f47c5e8d1
This commit is contained in:
Jingwen Chen
2021-09-17 08:45:30 +00:00
parent dfc9d7912f
commit 0e4eba1544

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