Add LinuxBionic OsType am: 00fcbde401

am: cf7da2e936

Change-Id: I758f7d3868208b777749a0103ceb5023177d29dd
This commit is contained in:
Dan Willemsen 2016-11-18 03:15:30 +00:00 committed by android-build-merger
commit 5567059f70
2 changed files with 28 additions and 9 deletions

View file

@ -186,6 +186,23 @@ bootstrap_go_package {
pluginFor: ["soong_build"],
}
//
// Defaults to enable various configurations of host bionic
//
cc_defaults {
name: "linux_bionic_supported",
host_supported: true,
target: {
host: {
enabled: false,
},
linux_bionic: {
enabled: true,
},
},
}
//
// C static libraries extracted from the gcc toolchain
//

View file

@ -191,17 +191,19 @@ var BuildOs = func() OsType {
var (
osTypeList []OsType
NoOsType OsType
Linux = NewOsType("linux", Host, false)
Darwin = NewOsType("darwin", Host, false)
Windows = NewOsType("windows", HostCross, true)
Android = NewOsType("android", Device, false)
NoOsType OsType
Linux = NewOsType("linux", Host, false)
Darwin = NewOsType("darwin", Host, false)
LinuxBionic = NewOsType("linux_bionic", Host, true)
Windows = NewOsType("windows", HostCross, true)
Android = NewOsType("android", Device, false)
osArchTypeMap = map[OsType][]ArchType{
Linux: []ArchType{X86, X86_64},
Darwin: []ArchType{X86, X86_64},
Windows: []ArchType{X86, X86_64},
Android: []ArchType{Arm, Arm64, Mips, Mips64, X86, X86_64},
Linux: []ArchType{X86, X86_64},
LinuxBionic: []ArchType{X86_64},
Darwin: []ArchType{X86, X86_64},
Windows: []ArchType{X86, X86_64},
Android: []ArchType{Arm, Arm64, Mips, Mips64, X86, X86_64},
}
)