Add LinuxBionic OsType
am: 00fcbde401
Change-Id: Ie41af907b555ece88cda7b571f593e4ad957b8a6
This commit is contained in:
commit
cf7da2e936
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