Enable bazel in mainline build script.

Fixes: 263406837
Test: presubmits
Test: abtd (TBD)
Change-Id: I38eb823d58af04c5f4ae91ae21abc381d0f840bc
This commit is contained in:
Jingwen Chen
2023-03-13 12:48:26 +00:00
parent fcbd0ba75f
commit be577742a1

View File

@@ -135,11 +135,9 @@ function main() {
# the buildbots. # the buildbots.
build/soong/soong_ui.bash --make-mode installclean build/soong/soong_ui.bash --make-mode installclean
#TODO(b/263406837) remove BUILD_BROKEN_DISABLE_BAZEL, which will enable Bazel builds with --bazel-mode by default
build/soong/soong_ui.bash --make-mode "$@" \ build/soong/soong_ui.bash --make-mode "$@" \
ALWAYS_EMBED_NOTICES=true \ ALWAYS_EMBED_NOTICES=true \
MODULE_BUILD_FROM_SOURCE=true \ MODULE_BUILD_FROM_SOURCE=true \
BUILD_BROKEN_DISABLE_BAZEL=true \
${extra_build_params} \ ${extra_build_params} \
"${RUN_ERROR_PRONE:+"RUN_ERROR_PRONE=true"}" \ "${RUN_ERROR_PRONE:+"RUN_ERROR_PRONE=true"}" \
apps_only \ apps_only \