fix baseline build (old cairo) - 'cairo_rectangle_int_t' does not name a type
[LibreOffice.git] / android / experimental / LOAndroid3 / Makefile
blob346b99526bc8fb34e092295ed0bd7468cfb0af9d
1 ifeq ($(BUILDDIR),)
2 gb_Side:=host
3 include ../../../config_host.mk
4 endif
6 # The default target just builds.
8 all: build-ant
10 # The package of this app
11 # The setting from configure (ANDROID_PACKAGE_NAME) is applied in later stages.
12 APP_PACKAGE=org.libreoffice
14 DISABLE_UI=TRUE
15 BOOTSTRAPDIR=../../Bootstrap
16 include $(BOOTSTRAPDIR)/Makefile.shared
18 native-code.cxx: $(SRCDIR)/solenv/bin/native-code.py
19 $< -j -g core -g writer -g calc -g draw -g edit > $@
21 build-ant: android_version_setup copy-stuff prepare-appcompat link-so properties
23 # Copy jar files we need
25 for F in java_uno \
26 juh \
27 jurt \
28 ridl \
29 unoloader; do \
30 $(call COPYJAR,$(INSTDIR)/$(LIBO_URE_SHARE_JAVA_FOLDER)/$${F}.jar); \
31 done
32 for F in unoil; do \
33 $(call COPYJAR,$(INSTDIR)/$(LIBO_SHARE_JAVA_FOLDER)/$${F}.jar); \
34 done
36 unset JAVA_HOME && $(ANT) $(if $(VERBOSE)$(verbose),,-quiet) $(if $(ENABLE_RELEASE_BUILD),release,debug)
38 run:
39 adb shell am start -n $(APP_PACKAGE)/.ui.LibreOfficeUIActivity
41 debugrun:
42 $(SYSBASE)/../../../ndk-gdb --start