summaryrefslogtreecommitdiffstats
path: root/desktop/Extension_test-passive.mk
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2013-03-07 11:05:57 +0100
committerStephan Bergmann <sbergman@redhat.com>2013-03-07 11:14:00 +0100
commitffb1e88afae5b83d58337a84a27f9c6293f6fcd9 (patch)
tree310035ce90ebab180139d171480fb12e06aae977 /desktop/Extension_test-passive.mk
parentMake gb_Extension_use_default_description/license explicit (diff)
downloadcore-ffb1e88afae5b83d58337a84a27f9c6293f6fcd9.tar.gz
core-ffb1e88afae5b83d58337a84a27f9c6293f6fcd9.zip
Gbuild'ify desktop/test/deployment/passive/
...to manually build solver/*/bin/test-passive.oxt via "make Extension_test-passive". There's still room for improvement in gbuild, though: * There should be no need to add the extension's native library and jar UNO components (which nothing else links againts) to the central Repository.mk. * There should be no need to move manifest.xml around. * There should be no need to move .java files around. * Let "make Extension_test-passive.clean" clean up again. Change-Id: Ib44558061c4c0fda6be5943bd02b5a42cd15c52e
Diffstat (limited to 'desktop/Extension_test-passive.mk')
-rw-r--r--desktop/Extension_test-passive.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/desktop/Extension_test-passive.mk b/desktop/Extension_test-passive.mk
new file mode 100644
index 000000000000..354ce26abe65
--- /dev/null
+++ b/desktop/Extension_test-passive.mk
@@ -0,0 +1,27 @@
+# -*- 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_Extension_Extension,test-passive,desktop/test/deployment/passive))
+
+$(eval $(call gb_Extension_add_file,test-passive,generic.components,$(call gb_Rdb_get_target,passive_generic)))
+
+$(eval $(call gb_Extension_add_file,test-passive,platform.components,$(call gb_Rdb_get_target,passive_platform)))
+
+$(eval $(call gb_Extension_add_files,test-passive,, \
+ $(SRCDIR)/desktop/test/deployment/passive/Addons.xcu \
+ $(SRCDIR)/desktop/test/deployment/passive/ProtocolHandler.xcu \
+ $(SRCDIR)/desktop/test/deployment/passive/passive_python.py \
+ $(call gb_Jar_get_outdir_target,passive_java) \
+))
+
+$(eval $(call gb_Extension_add_libraries,test-passive, \
+ passive_native \
+))
+
+# vim: set noet sw=4 ts=4: