From 11ec91f652c749c299dc227af3708777bb750e8e Mon Sep 17 00:00:00 2001 From: Liz Kammer Date: Tue, 14 Mar 2023 10:02:33 -0400 Subject: [PATCH] Omit linux_bionic in mixed builds. We do not have toolchains set up for linux bionic at this time. Bug: 273425275 Test: CI Change-Id: I72760eabeb7be28f176eaaf4c6b9954dfdca1e42 --- android/bazel.go | 1 + 1 file changed, 1 insertion(+) diff --git a/android/bazel.go b/android/bazel.go index b60075840..782632b0b 100644 --- a/android/bazel.go +++ b/android/bazel.go @@ -356,6 +356,7 @@ func MixedBuildsEnabled(ctx BaseModuleContext) bool { withinApex := !apexInfo.IsForPlatform() mixedBuildEnabled := ctx.Config().IsMixedBuildsEnabled() && ctx.Os() != Windows && // Windows toolchains are not currently supported. + ctx.Os() != LinuxBionic && // Linux Bionic toolchains are not currently supported. module.Enabled() && convertedToBazel(ctx, module) && ctx.Config().BazelContext.IsModuleNameAllowed(module.Name(), withinApex)