2 include ..
/..
/..
/config_host.mk
5 # The default target just builds.
8 # The package of this app
9 APP_PACKAGE
=org.libreoffice.experimental.desktop
11 BOOTSTRAPDIR
=..
/..
/Bootstrap
12 include $(BOOTSTRAPDIR
)/Makefile.shared
14 native-code.
cxx: $(SRCDIR
)/solenv
/bin
/native-code.py
16 -g core
-g edit
-g writer \
19 # The name of the Bootstrap activity class
20 BOOTSTRAP
=org.libreoffice.android.Bootstrap
22 # The default target just builds.
25 # tango artwork / icons
26 mkdir
-p assets
/share
/config
27 cp
-R
$(INSTDIR
)/$(LIBO_SHARE_FOLDER
)/config
/images_tango.zip assets
/share
/config
28 # shell / splash images
29 mkdir
-p assets
/program
30 cp
-r
$(SRC_ROOT
)/icon-themes
/galaxy
/brand
/* assets
/program
31 # presets - becomes the users home directory, .stamp forces .zip dir creation
32 for D in
$(strip autocorr autotext backup basic config gallery \
33 psprint
/driver template \
34 uno_packages
/cache wordbook
); do \
35 mkdir
-p assets
/presets
/$$D ; \
36 echo
"content" > assets
/presets
/$$D/stamp
; \
39 mkdir
-p assets
/program
/
40 echo
"[Bootstrap]" > assets
/program
/lofficerc
41 echo
"Logo=1" >> assets
/program
/lofficerc
42 echo
"NativeProgress=1" >> assets
/program
/lofficerc
43 echo
"URE_BOOTSTRAP=file:///assets/program/fundamentalrc" >> assets
/program
/lofficerc
44 echo
"HOME=$(APP_DATA_PATH)/files" >> assets
/program
/lofficerc
45 echo
"OSL_SOCKET_PATH=$(APP_DATA_PATH)/files" >> assets
/program
/lofficerc
46 # - this looks useful but breaks more than it fixes ...
47 # echo "DISABLE_EXTENSION_SYNCHRONIZATION=1" >> assets/program/lofficerc
51 # Copy jar files we need
58 $(call COPYJAR
,$(INSTDIR
)/$(LIBO_URE_SHARE_JAVA_FOLDER
)/$${F}.jar
); \
61 $(call COPYJAR
,$(INSTDIR
)/$(LIBO_SHARE_JAVA_FOLDER
)/$${F}.jar
); \
64 build-ant
: android_version_setup copy-stuff copy-stuff-desktop link-so properties setup-jars
65 unset JAVA_HOME
&& $(ANT
) $(if
$(VERBOSE
)$(verbose
),,-quiet
) debug
68 $(ANDROID_SDK_HOME
)/platform-tools
/adb
shell am start
-n
$(APP_PACKAGE
)/.Desktop