diff options
author | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2015-02-02 19:49:37 +0000 |
---|---|---|
committer | Jacobo Aragunde Pérez <jaragunde@igalia.com> | 2015-06-10 07:44:56 +0000 |
commit | e6fe508d6835590c6245e62e2c014808453e7d92 (patch) | |
tree | 06300b9eca799748f25d04e11e25aab63156e36b /RepositoryExternal.mk | |
parent | f9887ea014a492b062130547e15a931868edb046 (diff) |
Android: add ownCloud library to the build.
Library code from https://github.com/jaragunde/owncloud-android-library
This patch downloads, builds and installs the library from a tarball
uploaded to http://dev-www.libreoffice.org/src/.
Change-Id: I28afaea4dabe2dab869b53b1881f4d5a6522943f
Reviewed-on: https://gerrit.libreoffice.org/16190
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Jacobo Aragunde Pérez <jaragunde@igalia.com>
Diffstat (limited to 'RepositoryExternal.mk')
-rw-r--r-- | RepositoryExternal.mk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/RepositoryExternal.mk b/RepositoryExternal.mk index 726ef752250e..5b8b3a25753a 100644 --- a/RepositoryExternal.mk +++ b/RepositoryExternal.mk @@ -4104,4 +4104,20 @@ endef endif +ifeq (OWNCLOUD_ANDROID_LIB,$(filter OWNCLOUD_ANDROID_LIB,$(BUILD_TYPE))) + +$(eval $(call gb_Helper_register_jars,OXT,\ + owncloud-android-library \ +)) + +define gb_Jar__use_owncloud_android_lib +$(call gb_Jar_use_external_project,$(1),owncloud-android-lib) +$(call gb_Jar_use_external_jar,$(1),$(call gb_UnpackedTarball_get_dir,owncloud-android-lib)/bin/owncloud-android-library.jar) +endef +define gb_ExternalProject__use_owncloud_android_lib +$(call gb_ExternalProject_use_external_project,$(1),owncloud_android_lib) +endef + +endif + # vim: set noet sw=4 ts=4: |