aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-11-17 00:25:59 -0800
committerDan Willemsen <dwillemsen@google.com>2016-11-17 01:49:50 -0800
commit00fcbde4013a1289a5bd3f7e19ce81eb70b6c707 (patch)
treee19f2aae5de40b6c74da208e689ebc383b42fe3c /android
parent0a37a2a2b8a88759e3e5dccec9dfc05ac2eb375e (diff)
downloadbuild_soong-00fcbde4013a1289a5bd3f7e19ce81eb70b6c707.tar.gz
build_soong-00fcbde4013a1289a5bd3f7e19ce81eb70b6c707.tar.bz2
build_soong-00fcbde4013a1289a5bd3f7e19ce81eb70b6c707.zip
Add LinuxBionic OsType
Actual support will come in later changes. Bug: 31559095 Test: out/soong/build.ninja is identical Change-Id: I31392fb78a51f43567d16aef89e32cd5137cdbc1
Diffstat (limited to 'android')
-rw-r--r--android/arch.go20
1 files changed, 11 insertions, 9 deletions
diff --git a/android/arch.go b/android/arch.go
index 2ef6e248..0cd49163 100644
--- a/android/arch.go
+++ b/android/arch.go
@@ -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},
}
)