[Libreoffice-commits] core.git: Branch 'feature/droid_calcimpress3' - android/experimental configure.ac

Jan Holesovsky kendy at collabora.com
Wed Oct 1 08:03:40 PDT 2014


 android/experimental/LOAndroid3/AndroidManifest.xml    |   84 -----------------
 android/experimental/LOAndroid3/AndroidManifest.xml.in |   84 +++++++++++++++++
 configure.ac                                           |    8 +
 3 files changed, 91 insertions(+), 85 deletions(-)

New commits:
commit 1f3505f01bf62cfb6885258c1babb06f61811ca8
Author: Jan Holesovsky <kendy at collabora.com>
Date:   Wed Oct 1 17:01:59 2014 +0200

    android: android:debuggable setting now depends on configure options.
    
    Change-Id: I12d9c05fb05e4cf202c5c0d7b7e87c145d163fea

diff --git a/android/experimental/LOAndroid3/AndroidManifest.xml b/android/experimental/LOAndroid3/AndroidManifest.xml.in
similarity index 99%
rename from android/experimental/LOAndroid3/AndroidManifest.xml
rename to android/experimental/LOAndroid3/AndroidManifest.xml.in
index 83608b8..cfd369a 100644
--- a/android/experimental/LOAndroid3/AndroidManifest.xml
+++ b/android/experimental/LOAndroid3/AndroidManifest.xml.in
@@ -11,7 +11,7 @@
     <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>
 
     <application
-        android:debuggable="true"
+        @ANDROID_DEBUGGABLE@
         android:allowBackup="true"
         android:icon="@drawable/main"
         android:label="@string/app_name"
diff --git a/configure.ac b/configure.ac
index 4bb0b5b..ed5b1ef 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3779,15 +3779,19 @@ if test -n "$ENABLE_DBGUTIL"; then
         AC_MSG_ERROR([--disable-debug cannot be used with --enable-dbgutil])
     fi
     ENABLE_DEBUG="TRUE"
+    ANDROID_DEBUGGABLE='android:debuggable="true"'
     AC_MSG_RESULT([yes (dbgutil)])
 elif test -n "$enable_debug" && test "$enable_debug" != "no"; then
     ENABLE_DEBUG="TRUE"
+    ANDROID_DEBUGGABLE='android:debuggable="true"'
     AC_MSG_RESULT([yes])
 else
     ENABLE_DEBUG=""
+    ANDROID_DEBUGGABLE=""
     AC_MSG_RESULT([no])
 fi
 AC_SUBST(ENABLE_DEBUG)
+AC_SUBST(ANDROID_DEBUGGABLE)
 
 dnl Selective debuginfo
 ENABLE_DEBUGINFO_FOR=
@@ -4443,6 +4447,7 @@ if test "$cross_compiling" = "yes"; then
         bin/get_config_variables \
         solenv/bin/getcompver.awk \
         solenv/inc/langlist.mk \
+        android/experimental/LOAndroid3/AndroidManifest.xml.in \
         config_host.mk.in \
         Makefile.in \
         lo.xcent.in \
@@ -12789,7 +12794,8 @@ if test -f config_host.mk; then
     config_md5=`$MD5SUM config_host.mk | sed "s/ .*//"`
 fi
 
-AC_CONFIG_FILES([config_host.mk
+AC_CONFIG_FILES([android/experimental/LOAndroid3/AndroidManifest.xml
+                 config_host.mk
                  Makefile
                  lo.xcent
                  instsetoo_native/util/openoffice.lst


More information about the Libreoffice-commits mailing list