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
This commit is contained in:
Liz Kammer
2023-03-14 10:02:33 -04:00
parent 34127be4e9
commit 11ec91f652

View File

@@ -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)