forked from amazingfate/loongoffice
38 lines
856 B
Makefile
38 lines
856 B
Makefile
ifeq ($(BUILDDIR),)
|
|
include ../../../config_host.mk
|
|
endif
|
|
|
|
# The default target just builds.
|
|
all: build-ant
|
|
|
|
# The package of this app
|
|
APP_PACKAGE=org.libreoffice.android.examples
|
|
|
|
BOOTSTRAPDIR=../../Bootstrap
|
|
include $(BOOTSTRAPDIR)/Makefile.shared
|
|
|
|
native-code.cxx: $(SRCDIR)/solenv/bin/native-code.py
|
|
$< \
|
|
-g core -g writer \
|
|
> $@
|
|
|
|
build-ant: android_version_setup copy-stuff link-so properties
|
|
#
|
|
# Copy jar files we need
|
|
#
|
|
for F in java_uno \
|
|
juh \
|
|
jurt \
|
|
ridl \
|
|
unoloader; do \
|
|
$(call COPYJAR,$(INSTDIR)/$(LIBO_URE_SHARE_JAVA_FOLDER)/$${F}.jar); \
|
|
done
|
|
for F in unoil; do \
|
|
$(call COPYJAR,$(INSTDIR)/$(LIBO_SHARE_JAVA_FOLDER)/$${F}.jar); \
|
|
done
|
|
#
|
|
unset JAVA_HOME && $(ANT) $(if $(VERBOSE)$(verbose),,-quiet) debug
|
|
|
|
run:
|
|
adb shell am start -n org.libreoffice.android.examples/.DocumentLoader -e input /assets/test1.odt
|