tdf#134846 Android Viewer: Include native libs again
commit 0dffc65236
Date: Fri Jun 5 08:59:26 2020 -0400
android: fix the build output directory
submitted on 2020-07-07 had changed the output directory
for native libraries, so the directory used by
Android Viewer was empty, and native libs no longer
contained in the package/APK.
Store the actual/new directory in a variable and
use that one in build.gradle to make things work
again.
Change-Id: I5a051342278ab14e71edf47dd93e8dacdb9f3cb6
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/98970
Tested-by: Jenkins
Reviewed-by: Michael Weghorn <m.weghorn@posteo.de>
This commit is contained in:
parent
c52c159c7c
commit
bc6c034ba0
2 changed files with 4 additions and 2 deletions
|
@ -14,7 +14,8 @@
|
|||
# configurability on platforms like Android and iOS where apps based on LO
|
||||
# code are very much self-contained pre-packaged thingies.
|
||||
|
||||
SODEST=$(BUILDDIR)/android/jniLibs/$(ANDROID_APP_ABI)
|
||||
JNILIBSDIR=$(BUILDDIR)/android/jniLibs
|
||||
SODEST=$(JNILIBSDIR)/$(ANDROID_APP_ABI)
|
||||
OBJLOCAL=$(BUILDDIR)/android/obj/local/$(ANDROID_APP_ABI)
|
||||
|
||||
#
|
||||
|
@ -90,6 +91,7 @@ liboSettings.gradle: $(BUILDDIR)/config_build.mk $(BUILDDIR)/config_host.mk
|
|||
echo "// created by Makefile.shared - your changes will be overridden" \
|
||||
&& echo "ext {" \
|
||||
&& echo " liboSrcRoot = '$(SRC_ROOT)'" \
|
||||
&& echo " liboJniLibsdir = '$(JNILIBSDIR)'" \
|
||||
&& echo " liboWorkdir = '$(WORKDIR)'" \
|
||||
&& echo " liboInstdir = '$(INSTDIR)'" \
|
||||
&& echo " liboEtcFolder = '$(LIBO_ETC_FOLDER)'" \
|
||||
|
|
|
@ -48,7 +48,7 @@ android {
|
|||
main.assets.srcDirs = ['assets']
|
||||
main.res.srcDirs = ['res']
|
||||
main.java.srcDirs = ['../Bootstrap/src', 'src/java']
|
||||
main.jniLibs.srcDirs = ['jniLibs']
|
||||
main.jniLibs.srcDirs = ["${liboJniLibsdir}"]
|
||||
main.jni.srcDirs = [] // don't attempt to build native-lib via gradle
|
||||
// the configuration data that might be stripped or not
|
||||
fullUI.assets.srcDirs 'assets_fullUI'
|
||||
|
|
Loading…
Reference in a new issue