Skip to content

Commit

Permalink
Fix the case where some applications mis-label their ABI.
Browse files Browse the repository at this point in the history
Some applications advertise armeabi when they mean
armeabi-v7a.
  • Loading branch information
AWoloszyn committed Mar 27, 2019
1 parent 06e6639 commit 85c7b43
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/os/device/abi.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ package device

var (
UnknownABI = abi("unknown", UnknownOS, UnknownArchitecture, &MemoryLayout{})

// Keep this one in, some applications incorrectly advertise arm, when they mean armv7
AndroidARM = abi("armeabi", Android, ARMv7a, ARMv7aLayout)
AndroidARMv7a = abi("armeabi-v7a", Android, ARMv7a, ARMv7aLayout)
AndroidARM64v8a = abi("arm64-v8a", Android, ARMv8a, ARM64v8aLayout)
AndroidX86 = abi("x86", Android, X86, X86IA32Layout)
Expand Down

0 comments on commit 85c7b43

Please sign in to comment.