summaryrefslogtreecommitdiff
path: root/external/owncloud-android-lib/ExternalProject_owncloud_android_lib.mk
diff options
context:
space:
mode:
authorJacobo Aragunde Pérez <jaragunde@igalia.com>2015-02-02 19:49:37 +0000
committerJacobo Aragunde Pérez <jaragunde@igalia.com>2015-06-10 07:44:56 +0000
commite6fe508d6835590c6245e62e2c014808453e7d92 (patch)
tree06300b9eca799748f25d04e11e25aab63156e36b /external/owncloud-android-lib/ExternalProject_owncloud_android_lib.mk
parentf9887ea014a492b062130547e15a931868edb046 (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 'external/owncloud-android-lib/ExternalProject_owncloud_android_lib.mk')
-rw-r--r--external/owncloud-android-lib/ExternalProject_owncloud_android_lib.mk24
1 files changed, 24 insertions, 0 deletions
diff --git a/external/owncloud-android-lib/ExternalProject_owncloud_android_lib.mk b/external/owncloud-android-lib/ExternalProject_owncloud_android_lib.mk
new file mode 100644
index 000000000000..21081c40a9f9
--- /dev/null
+++ b/external/owncloud-android-lib/ExternalProject_owncloud_android_lib.mk
@@ -0,0 +1,24 @@
+# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
+#
+# This file is part of the LibreOffice project.
+#
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+#
+
+$(eval $(call gb_ExternalProject_ExternalProject,owncloud_android_lib))
+
+$(eval $(call gb_ExternalProject_register_targets,owncloud_android_lib,\
+ build \
+))
+
+$(call gb_ExternalProject_get_state_target,owncloud_android_lib,build) :
+ $(call gb_ExternalProject_run,build,\
+ $(ICECREAM_RUN) "$(ANT)" \
+ -q \
+ -f build.xml \
+ release \
+ )
+
+# vim: set noet sw=4 ts=4: