From 0e4eba1544e12f7aef0aa2448c7eef3a30f5b40f Mon Sep 17 00:00:00 2001 From: Jingwen Chen Date: Fri, 17 Sep 2021 08:45:30 +0000 Subject: [PATCH] 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 --- envsetup.sh | 8 -------- 1 file changed, 8 deletions(-) diff --git a/envsetup.sh b/envsetup.sh index d70e815657..b92e39907d 100644 --- a/envsetup.sh +++ b/envsetup.sh @@ -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" "$@" )