summaryrefslogtreecommitdiff
path: root/android/arch.go
diff options
context:
space:
mode:
Diffstat (limited to 'android/arch.go')
-rw-r--r--android/arch.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/android/arch.go b/android/arch.go
index 942727ace..d9ecb508d 100644
--- a/android/arch.go
+++ b/android/arch.go
@@ -138,6 +138,13 @@ func (a ArchType) String() string {
return a.Name
}
+func (a ArchType) Bitness() string {
+ if a.Multilib == "lib32" {
+ return "32"
+ }
+ return "64"
+}
+
const COMMON_VARIANT = "common"
var (