Add musl_x86 and glibc_x86 style properties to bazel configurations
Bug: 223257095 Test: build/bazel/ci/mixed_libc.sh Change-Id: Ia2427f54cdaafc657e29a7ae7a7575bec2b71338
This commit is contained in:
@@ -2179,6 +2179,16 @@ func (m *ModuleBase) GetArchVariantProperties(ctx ArchVariantContext, propertySe
|
||||
targetStructs := getTargetStructs(ctx, archProperties, targetField)
|
||||
osArchStructs = append(osArchStructs, targetStructs...)
|
||||
}
|
||||
if os == LinuxMusl {
|
||||
targetField := "Musl_" + arch.Name
|
||||
targetStructs := getTargetStructs(ctx, archProperties, targetField)
|
||||
osArchStructs = append(osArchStructs, targetStructs...)
|
||||
}
|
||||
if os == Linux {
|
||||
targetField := "Glibc_" + arch.Name
|
||||
targetStructs := getTargetStructs(ctx, archProperties, targetField)
|
||||
osArchStructs = append(osArchStructs, targetStructs...)
|
||||
}
|
||||
|
||||
targetField := GetCompoundTargetField(os, arch)
|
||||
targetName := fmt.Sprintf("%s_%s", os.Name, arch.Name)
|
||||
|
Reference in New Issue
Block a user