Add support for building NDK modules.

Change-Id: I2c5ede530e40a635e26ae45950580ef450e7dcc6
This commit is contained in:
Dan Albert
2015-03-18 23:38:50 -07:00
parent 68f55102da
commit be96168ee3
9 changed files with 224 additions and 14 deletions

View File

@@ -117,6 +117,7 @@ type Arch struct {
ArchType ArchType
ArchVariant string
CpuVariant string
Abi string
}
func (a Arch) String() string {
@@ -234,12 +235,14 @@ var (
ArchType: Arm,
ArchVariant: "armv7-a-neon",
CpuVariant: "cortex-a15",
Abi: "armeabi-v7a",
}
arm64Arch = Arch{
HostOrDevice: Device,
ArchType: Arm64,
ArchVariant: "armv8-a",
CpuVariant: "denver",
Abi: "arm64-v8a",
}
hostArch = Arch{
HostOrDevice: Host,