3 include ..
/..
/config_host.mk
6 # The default target just builds.
11 BOOTSTRAPDIR
=..
/Bootstrap
12 include $(BOOTSTRAPDIR
)/Makefile.shared
14 native-code.
cxx: $(SRCDIR
)/solenv
/bin
/native-code.py
15 @echo
"[build PY ] $@"
16 $< -j
-g core
-g writer
-g calc
-g draw
-g edit
> $@
19 if
test "$$ENABLE_ANDROID_LOK" != "TRUE" ; then .
/gradlew
$(if
$(verbose
),--info) $(if
$(versionCode
),-PcmdVersionCode
=$(versionCode
)) install$(if
$(DISABLE_UI
),StrippedUI
,FullUI
)$(if
$(ENABLE_ANDROID_EDITING
),Editing
)Debug
; fi
20 @if
test "$$ENABLE_ANDROID_LOK" != "TRUE" ; then echo
; echo
'Run it with "make run"' ; echo
; fi
23 $(ANDROID_SDK_HOME
)/platform-tools
/adb
uninstall $(ANDROID_PACKAGE_NAME
)
26 rm -rf assets assets_fullUI assets_strippedUI jniLibs jniLibs_debug
$(OBJLOCAL
)
28 rm -f liboSettings.gradle
30 build-gradle
: liboSettings.gradle local.properties link-so
31 ifeq ($(ENABLE_JAVA
),TRUE
)
32 if
test "$$ENABLE_ANDROID_LOK" != "TRUE" ; then .
/gradlew
$(if
$(verbose
),--info) $(if
$(versionCode
),-PcmdVersionCode
=$(versionCode
)) assemble
$(if
$(DISABLE_UI
),StrippedUI
,FullUI
)$(if
$(ENABLE_ANDROID_EDITING
),Editing
)$(if
$(ENABLE_RELEASE_BUILD
),Release
,Debug
) ; fi
36 if
test "$$ENABLE_ANDROID_LOK" != "TRUE" ; then
$(ANDROID_SDK_HOME
)/platform-tools
/adb
shell am start
-n
$(ANDROID_PACKAGE_NAME
)/org.libreoffice.ui.LibreOfficeUIActivity
; fi
39 @echo
"please debug with lldb from within Android Studio, or setup ndk-gdb manually (see android/README for details)"