[Libreoffice-commits] core.git: README.Android

Jan Holesovsky kendy at collabora.com
Mon Jul 14 07:55:44 PDT 2014


 README.Android |   15 +++++++++++++++
 1 file changed, 15 insertions(+)

New commits:
commit d641b54efcbea5af1074acc2335fb00c6c845c1e
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Mon Jul 14 16:54:11 2014 +0200

    android: Hint how to get the symbols, but not a 1.5G .apk.
    
    Change-Id: I6f6d2e7516d99a02ad813ba5e03c5cdcac2f4964

diff --git a/README.Android b/README.Android
index 68bec24..9d022a7 100644
--- a/README.Android
+++ b/README.Android
@@ -63,6 +63,21 @@ to run: ndk-gdb and it will attach the process.
 	In r8b the ndk-gdb seems to work a bit better, and I think it isn't
 necessary to use the mingw-and-ndk ndb-gdb any longer.
 
+* Getting the symbols
+
+In order to be able to debug, you also need the symbols.  Currently they are
+stripped using a $(STRIP) call in android/Bootstrap/Makefile.shared ; make
+sure you change it only to 'cp'.
+
+But then you need to limit the size of the resulting binary by other means,
+that is strip most of the symbols (but the interesting ones) already during
+the build.  For that, use something like
+
+--enable-dbgutil
+--enable-selective-debuginfo="sal/"
+
+in your autogen.input (but of course limit the --enable-selective-debuginfo
+only to directories / libraries that are interesting to you).
 
 * Common Errors / Gotchas
 


More information about the Libreoffice-commits mailing list