Files
loongoffice/external/owncloud-android-lib/ExternalProject_owncloud_android_lib.mk
Jacobo Aragunde Pérez 2e6ed9befe Android: fix ownCloud lib build
The build relied on the presence of ANDROID_HOME envvar, now we pass
it explicitly.

Change-Id: If33ee2c6a22435151aad244378ee5aaf7b3cc913
2015-06-10 14:30:06 +00:00

26 lines
720 B
Makefile

# -*- 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 \
-Dsdk.dir=$(ANDROID_SDK_HOME) \
release \
)
# vim: set noet sw=4 ts=4: