Browse Source

Disable musl in mixed Bazel builds

Test: builds
Bug: 259266326
Change-Id: I4492f6b585d35fe848d5dc255043960c69742dcb
Colin Cross 1 year ago
parent
commit
9e87f0a6ea
1 changed files with 1 additions and 0 deletions
  1. 1 0
      android/bazel.go

+ 1 - 0
android/bazel.go

@@ -357,6 +357,7 @@ func MixedBuildsEnabled(ctx BaseModuleContext) bool {
 	mixedBuildEnabled := ctx.Config().IsMixedBuildsEnabled() &&
 		ctx.Os() != Windows && // Windows toolchains are not currently supported.
 		ctx.Os() != LinuxBionic && // Linux Bionic toolchains are not currently supported.
+		ctx.Os() != LinuxMusl && // Linux musl toolchains are not currently supported (b/259266326).
 		ctx.Arch().ArchType != Riscv64 && // TODO(b/262192655) Riscv64 toolchains are not currently supported.
 		module.Enabled() &&
 		convertedToBazel(ctx, module) &&