shadowdevgroup / sqlite4java

Automatically exported from code.google.com/p/sqlite4java
0 stars 0 forks source link

PATCH to build Android version 64-bit versions #77

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If you apply the following changes to ant/Application.mk.template & 
ant/build.gant, gant android (in the ant subdirectory) will build the x86_64 
and AMD-64 binaries as well:

===================================================================
--- ant/Application.mk.template (revision 399)
+++ ant/Application.mk.template (working copy)
@@ -1 +1 @@
-APP_ABI := armeabi-v7a armeabi x86
+APP_ABI := armeabi-v7a armeabi arm64-v8a x86 x86_64
Index: ant/build.gant
===================================================================
--- ant/build.gant  (revision 399)
+++ ant/build.gant  (working copy)
@@ -501,7 +494,9 @@
   def archTypes = [
       ["armeabi",     "armv5tejl"],
       ["armeabi-v7a", "armv7l"],
-      ["x86"    ,     "i686"]]
+      ["arm64-v8a"  , "arm64-v8a"],
+      ["x86"    ,     "i686"],
+      ["x86_64" ,     "x86_64"]]

   archTypes.each() { String dir, String architecture ->
     def newName = "${nameTmp}-${architecture}.so"

Original issue reported on code.google.com by Chris.Br...@gmail.com on 24 Apr 2015 at 6:43

GoogleCodeExporter commented 9 years ago
Sorry, I meant ARM-64 as well as x86_64 version.

Original comment by Chris.Br...@gmail.com on 24 Apr 2015 at 6:46

GoogleCodeExporter commented 9 years ago
Hi Chris -- 

Great, thanks for your contribution! We'll incorporate the patch during next 
iteration.

Igor

Original comment by ser...@almworks.com on 26 Apr 2015 at 10:39