Merge "Omit linux_bionic in mixed builds." am: 261bc29678
am: b6c1361030
am: f4a5b8247b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2487575 Change-Id: Ie3ea97752a4c6167ad76dc531970ab95a84e91e8 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user