Commit Graph

51 Commits

Author SHA1 Message Date
Laurent Sansonetti
3426b6cfba support for 3rd-party android libraries: the build system will vendor all .jar files that are inside the ‘vendor’ sub-directory, and also generate .bridgesupport metadata for them 2014-05-15 20:04:17 +02:00
Laurent Sansonetti
92f1fdefd0 log informational messages from dalvikvm 2014-05-13 16:22:51 +02:00
Laurent Sansonetti
e146102969 force a rebuild of .rb files if the kernel bitcode changed 2014-05-11 00:40:21 +08:00
Laurent Sansonetti
c2da1b0c89 re-create the payload library if the librubymotion-static.a archive changed 2014-04-27 23:47:46 +02:00
Laurent Sansonetti
4675a36840 fix typo 2014-04-27 17:41:02 +02:00
Laurent Sansonetti
59d23e6217 better fix for when we need to rebuild classes.dex if a .class file changed 2014-04-27 16:26:30 +02:00
Laurent Sansonetti
8c43ad838e don’t print when creating java files, to not confuse the user with how rubymotion works 2014-04-27 16:25:55 +02:00
Laurent Sansonetti
aeba249d76 on-demand build for classes.dex, AndroidManifest.xml, apk file 2014-04-27 16:16:58 +02:00
Laurent Sansonetti
5451197a33 create the debug keystore regardless if we have to create the apk file 2014-04-27 16:07:36 +02:00
Laurent Sansonetti
0688166578 on demand build for ruby bit code, payload library, java/class files (+ remove old java/class files that are not referred in the class map anymore) 2014-04-27 16:03:51 +02:00
Laurent Sansonetti
fc4785d58c follow java map generation change 2014-04-26 14:08:25 +02:00
Laurent Sansonetti
9a3f14022c support for Java interfaces when generating the Java description of Ruby classes 2014-04-25 15:32:12 +02:00
Laurent Sansonetti
737f50d95b log chromium messages (useful to debug apps using webkit) 2014-04-21 19:14:58 +02:00
Laurent Sansonetti
03b12ab6e1 resource directories are now considered “assets” and not Android resources (which are apparently a completely different beast) 2014-04-21 19:14:23 +02:00
Laurent Sansonetti
a192545b12 log errors from AndroidRuntime (ex. app crashing due to an uncaught exception) 2014-04-16 14:12:47 +02:00
Laurent Sansonetti
cf46459c2e clean up local references created by the ruby source init functions 2014-04-16 13:08:35 +02:00
Laurent Sansonetti
504994345b ditto 2014-04-10 15:29:00 +02:00
Laurent Sansonetti
68a3f6ab45 make sure .class files as well as the DEX file are really re-generated every time (for now) 2014-04-10 15:28:59 +02:00
Laurent Sansonetti
1581fd16b4 honor the `app.files’ variable 2014-04-09 17:09:27 +02:00
Laurent Sansonetti
9bab907d2c link with rubymotion.jar 2014-04-05 18:51:56 +02:00
Laurent Sansonetti
dc6e39e351 don’t try to force-kill the app if it’s already dead 2014-03-26 17:44:11 +01:00
Laurent Sansonetti
2170e6098d follow compiler changes, which now generates bitcode instead of assembly, we now pass the bitcode file to the linker 2014-03-26 15:39:20 +01:00
Laurent Sansonetti
3d8d36ed61 kill the app when pressing ^C 2014-03-26 13:24:13 +01:00
Laurent Sansonetti
7e338ef32b this function isn't used anymore 2014-03-26 13:09:27 +01:00
Laurent Sansonetti
e78dd0fd49 build ruby object files into the obj/local/<arm-abi-directory-name> directory, similar to how NDK projects work 2014-03-26 00:48:04 +01:00
Laurent Sansonetti
dc3c5b2737 use proper armeabi directory name when compiling for an arch 2014-03-26 00:35:30 +01:00
Laurent Sansonetti
2e53e30346 better logging: cut the log before starting the activity and silence other packages and showing the log 2014-03-12 19:11:44 +01:00
Laurent Sansonetti
daf264f35a payload logging in debug mode 2014-03-12 17:51:31 +01:00
Laurent Sansonetti
515e62b9d8 rake {simulator,device} now shows application logs in the terminal after running the main activity 2014-03-12 17:51:31 +01:00
Laurent Sansonetti
f29d89f89a add magic encoding comments to all ruby source files 2014-03-05 12:20:20 +01:00
Laurent Sansonetti
cde9688ca3 move java classes generation before java compilation 2014-02-18 18:07:36 +01:00
Laurent Sansonetti
d5311e4c04 static generation of java files based on compiler map files 2014-02-18 18:03:14 +01:00
Laurent Sansonetti
7df3cab085 hide stdout output by default (unless --trace is given) 2014-02-18 00:20:36 +01:00
Laurent Sansonetti
ac2a8259e2 create empty build/jni/Android.mk file needed for ndk-gdb 2014-02-17 23:57:45 +01:00
Laurent Sansonetti
66b63363cb rake debug=1 support (work in progress) 2014-02-17 23:54:08 +01:00
Laurent Sansonetti
fc71d725f6 refactoring 2014-02-17 16:28:41 +01:00
Laurent Sansonetti
b7d19d7bdd remove hacks 2014-02-12 16:32:50 +01:00
Laurent Sansonetti
6e9afb3248 use app.api_version when generating AndroidManifest.xml 2014-02-06 12:45:09 +01:00
Laurent Sansonetti
3ca2306019 add support for sub-activities 2014-02-06 12:45:09 +01:00
Laurent Sansonetti
d127fd1d32 support for vendored jars 2014-02-06 12:45:09 +01:00
Laurent Sansonetti
7d03affae0 quiet archiving 2014-01-20 02:05:20 +01:00
Laurent Sansonetti
7fe07ab3bd pass less flags to the assembler 2014-01-20 01:29:03 +01:00
Laurent Sansonetti
4d3e8c0c70 more work on the android port 2014-01-19 23:38:32 +01:00
Laurent Sansonetti
e7fb463e8d retrieve payload file name from the config object 2014-01-11 12:09:40 +01:00
Laurent Sansonetti
9c592b4934 compile/link the payload library with clang 2014-01-10 23:54:04 +01:00
Laurent Sansonetti
bd8536dbcc libmacruby -> librubymotion 2013-12-24 18:25:19 +01:00
Laurent Sansonetti
9edffa8925 link the payload JNI library with the runtime, rebuild the apk file if the payload library changed 2013-12-18 20:02:56 +01:00
Laurent Sansonetti
d2491e0f3b determine the android SDK build tools directory dynamically 2013-12-17 14:16:07 +01:00
Laurent Sansonetti
52753a7c13 create ~/.android/debug.keystore if it does not exist 2013-11-21 18:41:59 +01:00
Laurent Sansonetti
d458b2e7e5 update tools to the latest SDK/NDK versions 2013-11-21 18:41:25 +01:00