summaryrefslogtreecommitdiff
path: root/desktop/Jar_passive_java.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/Jar_passive_java.mk
parent12f9287bcacc429e4417d14a57d90f40078223dd (diff)
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/Jar_passive_java.mk')
-rw-r--r--desktop/Jar_passive_java.mk30
1 files changed, 30 insertions, 0 deletions
diff --git a/desktop/Jar_passive_java.mk b/desktop/Jar_passive_java.mk
new file mode 100644
index 000000000000..e1023a5d5230
--- /dev/null
+++ b/desktop/Jar_passive_java.mk
@@ -0,0 +1,30 @@
+# -*- 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_Jar_Jar,passive_java))
+
+$(eval $(call gb_Jar_add_sourcefiles,passive_java, \
+ desktop/test/deployment/passive/com/sun/star/comp/test/deployment/Dispatch \
+ desktop/test/deployment/passive/com/sun/star/comp/test/deployment/Provider \
+ desktop/test/deployment/passive/com/sun/star/comp/test/deployment/Services \
+))
+
+$(eval $(call gb_Jar_set_componentfile,passive_java,desktop/test/deployment/passive/passive_java,OXT))
+
+$(eval $(call gb_Jar_set_manifest,passive_java,$(SRCDIR)/desktop/test/deployment/passive/MANIFEST.MF))
+
+$(eval $(call gb_Jar_set_packageroot,passive_java,com))
+
+$(eval $(call gb_Jar_use_jars,passive_java, \
+ juh \
+ ridl \
+ unoil \
+))
+
+# vim: set noet sw=4 ts=4: