diff options
| author | 2022-12-21 09:57:26 -0500 | |
|---|---|---|
| committer | 2023-01-10 17:36:41 -0500 | |
| commit | ff1bb316708938fbf50e5553044cfaebadaca72d (patch) | |
| tree | cbfe2f615841346dab35356093e073c286c57248 | |
| parent | 205d1489fb42694129fed0ba67f886b92935b97b (diff) | |
Delete the noisy error message
Test: m nothing, m --bazel-mode-dev nothing
Bug: 263127170
Change-Id: I876311f0746f5291076827e0bba71bb0b6a72646
| -rw-r--r-- | android/config.go | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/android/config.go b/android/config.go index d5ed883fa..a8b0a40b4 100644 --- a/android/config.go +++ b/android/config.go @@ -583,32 +583,28 @@ func (c *config) mockFileSystem(bp string, fs map[string][]byte) { c.mockBpList = blueprint.MockModuleListFile } +// TODO(b/265062549): Add a field to our collected (and uploaded) metrics which +// describes a reason that we fell back to non-mixed builds. // Returns true if "Bazel builds" is enabled. In this mode, part of build // analysis is handled by Bazel. func (c *config) IsMixedBuildsEnabled() bool { globalMixedBuildsSupport := c.Once(OnceKey{"globalMixedBuildsSupport"}, func() interface{} { if c.productVariables.DeviceArch != nil && *c.productVariables.DeviceArch == "riscv64" { - fmt.Fprintln(os.Stderr, "unsupported device arch 'riscv64' for Bazel: falling back to non-mixed build") return false } if c.IsEnvTrue("GLOBAL_THINLTO") { - fmt.Fprintln(os.Stderr, "unsupported env var GLOBAL_THINLTO for Bazel: falling back to non-mixed build") return false } if len(c.productVariables.SanitizeHost) > 0 { - fmt.Fprintln(os.Stderr, "unsupported product var SanitizeHost for Bazel: falling back to non-mixed build") return false } if len(c.productVariables.SanitizeDevice) > 0 { - fmt.Fprintln(os.Stderr, "unsupported product var SanitizeDevice for Bazel: falling back to non-mixed build") return false } if len(c.productVariables.SanitizeDeviceDiag) > 0 { - fmt.Fprintln(os.Stderr, "unsupported product var SanitizeDeviceDiag for Bazel: falling back to non-mixed build") return false } if len(c.productVariables.SanitizeDeviceArch) > 0 { - fmt.Fprintln(os.Stderr, "unsupported product var SanitizeDeviceArch for Bazel: falling back to non-mixed build") return false } return true |