summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSiqi Liu <me@siqi.fr>2015-04-14 21:09:16 +0200
committerSiqi Liu <me@siqi.fr>2015-04-14 21:15:04 +0200
commit2932bf06be3676af81c9433eb99372031080b636 (patch)
treeca2897a32dd83f27ba2bc0ae5c864f3e6bd68638
parentadd missing file (diff)
downloadcore-2932bf06be3676af81c9433eb99372031080b636.tar.gz
core-2932bf06be3676af81c9433eb99372031080b636.zip
add debugging missing services to README
Change-Id: Ib30a0e3d56ca9ebd07ee55e0aee9b13c0474a060
-rw-r--r--android/README20
1 files changed, 19 insertions, 1 deletions
diff --git a/android/README b/android/README
index 0989cf68c325..6b5e22bdc1dc 100644
--- a/android/README
+++ b/android/README
@@ -145,7 +145,7 @@ Overlay
Overlay elements like cursor and selections aren't drawn by the LO core, instead the core
only provides data (cursor position, selection rectangles) and the app needs to draw them.
DocumentOverlay (org.libreoffice.overlay.DocumentOverlay) and DocumentOverlayView
-(org.libreoffice.overlay.DocumentOverlayView) are the classes that provide the overlay over
+(org.libreoffice.overlay.DocumentOverlayView) are the classes that provide the overlay over
the document, where selections and the cursor is drawn.
Emulator and debugging notes
@@ -239,6 +239,24 @@ started debuggable application.
Assuming that you're already in the LOAndroid3 directory in your shell.
+* Debugging the missing services
+
+Android library only include essential services that are compiled for
+LibreOffice in order to reduce the size of the apk. When developing,
+some services might become useful and we should add those services
+to the combined library.
+
+In order to identify missing services, we need to be able to receive
+SAL_INFO from cppuhelper/source/shlib.cxx in logcat and therefore identify
+what services are missing. To do so, you may want add the following
+when configuring the build.
+
+ --enable-selective-debuginfo="cppuhelper/ sal/"
+
+Which services are combined in the android lib is determined by
+
+ solenv/bin/native-code.py
+
* Common Errors / Gotchas
lo_dlneeds: Could not read ELF header of /data/data/org.libreoffice...libfoo.so