Merge "Move disable downloads to bazelrc from mixed build" am: be981e5e07 am: d76c9d2e96

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

Change-Id: Ic15897a61290c5b59e974dfc6406d604e46c5dee
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jingwen Chen
2023-05-16 00:17:11 +00:00
committed by Automerger Merge Worker

View File

@@ -29,6 +29,7 @@ import (
"android/soong/bazel/cquery" "android/soong/bazel/cquery"
"android/soong/shared" "android/soong/shared"
"android/soong/starlark_fmt" "android/soong/starlark_fmt"
"github.com/google/blueprint" "github.com/google/blueprint"
"github.com/google/blueprint/metrics" "github.com/google/blueprint/metrics"
@@ -700,9 +701,6 @@ func (context *mixedBuildBazelContext) createBazelCommand(config Config, runName
// We don't need to set --host_platforms because it's set in bazelrc files // We don't need to set --host_platforms because it's set in bazelrc files
// that the bazel shell script wrapper passes // that the bazel shell script wrapper passes
// Explicitly disable downloading rules (such as canonical C++ and Java rules) from the network.
"--experimental_repository_disable_download",
// Suppress noise // Suppress noise
"--ui_event_filters=-INFO", "--ui_event_filters=-INFO",
"--noshow_progress", "--noshow_progress",