Add LinuxBionic OsType am: 00fcbde401
am: cf7da2e936
Change-Id: I758f7d3868208b777749a0103ceb5023177d29dd
This commit is contained in:
commit
5567059f70
2 changed files with 28 additions and 9 deletions
17
Android.bp
17
Android.bp
|
@ -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
|
||||
//
|
||||
|
|
|
@ -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},
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue