Merge "Move disable downloads to bazelrc from mixed build"

This commit is contained in:
Jingwen Chen
2023-05-15 22:50:13 +00:00
committed by Gerrit Code Review

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",