diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-08-15 19:44:26 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-08-15 21:29:14 +0200 |
commit | 8b8e749fae45ba41e361897b447173fb6a26eb38 (patch) | |
tree | 5eff7e05d1bfc3e40a5e29270cf726fcbc36fc19 /testtools | |
parent | 96410b9e04c1da1f634c3a4ab1ffba335309e46e (diff) |
gbuild: remove horrible abuses of gb_Jar_use_jars:
Let gb_JavaClassSet_use_customtarget add the customtarget workdir to the
classpath.
Change-Id: I836e890b43bb2ca06d19cf9f83a5fa8f735cf963
Diffstat (limited to 'testtools')
-rw-r--r-- | testtools/CustomTarget_bridgetest_javamaker.mk | 2 | ||||
-rw-r--r-- | testtools/Jar_testComponent.mk | 6 |
2 files changed, 2 insertions, 6 deletions
diff --git a/testtools/CustomTarget_bridgetest_javamaker.mk b/testtools/CustomTarget_bridgetest_javamaker.mk index e509e0453360..d55126a949e4 100644 --- a/testtools/CustomTarget_bridgetest_javamaker.mk +++ b/testtools/CustomTarget_bridgetest_javamaker.mk @@ -34,6 +34,6 @@ $(testtools_JAVADIR)/done : $(call gb_UnoApiTarget_get_target,bridgetest) \ $(call gb_Executable_get_target_for_build,javamaker) | $(testtools_JAVADIR)/.dir $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),JVM,1) $(call gb_Helper_abbreviate_dirs, \ - $(call gb_Helper_execute,javamaker -BUCR -nD -O$(testtools_JAVADIR)/class -X$(OUTDIR)/bin/types.rdb $<) && touch $@) + $(call gb_Helper_execute,javamaker -BUCR -nD -O$(testtools_JAVADIR) -X$(OUTDIR)/bin/types.rdb $<) && touch $@) # vim:set shiftwidth=4 tabstop=4 noexpandtab: diff --git a/testtools/Jar_testComponent.mk b/testtools/Jar_testComponent.mk index 12dfe3fa27e9..498edd5e6df7 100644 --- a/testtools/Jar_testComponent.mk +++ b/testtools/Jar_testComponent.mk @@ -36,10 +36,6 @@ $(eval $(call gb_Jar_use_customtargets,testComponent,\ testtools/bridgetest_javamaker \ )) -$(eval $(call gb_Jar_use_jars,testComponent,\ - $(WORKDIR)/CustomTarget/testtools/bridgetest_javamaker/class \ -)) - $(eval $(call gb_Jar_set_packageroot,testComponent,com)) $(eval $(call gb_Jar_set_manifest,testComponent,$(SRCDIR)/testtools/com/sun/star/comp/bridge/manifest)) @@ -47,7 +43,7 @@ $(eval $(call gb_Jar_set_manifest,testComponent,$(SRCDIR)/testtools/com/sun/star $(eval $(call gb_Jar_set_componentfile,testComponent,testtools/source/bridgetest/testComponent,URE)) $(eval $(call gb_Jar_add_packagedirs,testComponent,\ - $(WORKDIR)/CustomTarget/testtools/bridgetest_javamaker/class/test \ + $(call gb_CustomTarget_get_workdir,testtools/bridgetest_javamaker)/test \ )) $(eval $(call gb_Jar_add_sourcefiles,testComponent,\ |