summaryrefslogtreecommitdiff
path: root/testtools/CustomTarget_bridgetest.mk
AgeCommit message (Collapse)Author
2020-02-16GBUILD_TRACE, support for finding out where the build time is spentLuboš Luňák
See instructions in solenv/gbuild/Trace.mk . This generates a file than can be viewed e.g. in the Chromium tracing view. Change-Id: I5f90647c58ca729375525b6daed2d4918adc8188 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88754 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2020-02-04tdf#117331 Merge jurt and unoil into ridlSamuel Mehrbrodt
jurt.jar and unoil.jar are kept as effectively empty jars, each with a Class-Path: ridl.jar in their meta-inf/manifest.mf, so that 3rd-party code loading them (with or without also loading ridl.jar) will still have access to their content. Conceptually, the UNOIDL entities in unoil.jar (corresponding to module offapi) are not part of the URE, but are now made available by URE's ridl.jar. This should probably not cause problems in practice. At least for now, we seal exactly those packages in ridl.jar that were originally sealed in jurt.jar. Ideally, all of ridl.jar could be sealed now, but that would be mildly incompatible, as it would prevent 3rd-party code from introducing additional UNOIDL entities in the relevant namespaces (even if that is something we do not want 3rd-party code to do anyway). However, some JunitTest_jurt_* define classes in those sealed packages. In the past they got away with that by using gb_JunitTest_use_jar_classset,*,jurt. Instead they now need to gb_JunitTest_use_jar_classset,*,ridl and drop the gb_JunitTest_use_jar,*,ridl. But the former only makes available the classes that are specified in ridljar/Jar_ridl.mk with gb_Jar_add_sourcefiles, not the UNOIDL entities specified via gb_Jar_add_packagedirs. But the tests need the udkapi UNOIDL entities, so introduce gb_JunitTest_add_classpath to let the tests get them explicitly. (Curiously, JunitTest_jurt_uno and JnitTest_jurt_util use gb_JunitTest_use_jar_classset,*,jurt but don't seem to acutally need it; lets leave that for a follow-up clean up.) As a follow-up clean up, relevant files could be moved from jurt/ to ridljar/. Change-Id: I836f4e7bb47fb41f1306e3f223da90dba988eb9a Co-authored-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84946 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2013-10-31solver doesn't solve anything...Michael Stahl
... it is an abbreviation of "Solar Version". Since nobody can remember that: remove OUTDIR OUTDIR_FOR_BUILD SOLARVER SOLARVERSION solarpath and any mention thereof. Change-Id: Idb3031c4f25a76ac05b22ec67e3ca3e1e8e512ad Reviewed-on: https://gerrit.libreoffice.org/6515 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2013-10-25stop looking for Jar files in solverMichael Stahl
Change-Id: I4d2a93fa7395354fbf2893df9e254ab39fa365af
2013-09-22gbuild: remove libraries from OUTDIR and WORKDIRMichael Stahl
Refactor everything to find and link libraries directly in INSTDIR. - add gb_LinkTarget_get_linksearchpath_for_layer, and use it to set up -L paths for T_LDFLAGS in such a way that only allowed libraries can be linked against; i.e. it's not possible to link URE linktargets against OOO or not-installed libraries - gb_Library_get_target is now same as the gb_LinkTarget_get_target (TODO: this needs cleanup) - since a pattern rule won't work for linking libraries in INSTDIR, add a separate per-file rule for every INSTDIR lib - pattern rule can't find link target in the clean target any more so add a LINKTARGET variable - disable gb_Library_add_auxtarget, no auxtargets need to be copied - tweak the call to gb_Library_Library_platform to pass in a path in sdk/lib for the versioned URE libs - fix the Library clean target - add LAYER parameter to gb_LinkTarget_LinkTarget - adjust platform link commands - MSVC link command now uses explicit -manifestfile and -pdb parameters to keep misc. files out of INSTDIR - remove gb_Helper_OUTDIR_FOR_BUILDLIBDIR - adjust Extension, CppunitTest, JunitTest, PythonTest, Gallery, various CustomTargets to search INSTDIR - remove SDK library symlinks and import libs from odk/Package_lib - on Mac OS X, put .dylib symlinks into sdk/lib even though those are not packaged and would be created by the SDK configury; we need these to be somewhere for linking anyway - add a (unfortunately cyclic) dependency on Package ure_install to sal Change-Id: I70d88742f8c8232ad7b9521416275c67b64fe6cf
2013-09-10gbuild: use xml .rdb files directly from workdirMatúš Kukan
Change-Id: I876a41dc77a59841c39b2c1fa43f22c20940dbf2
2013-08-29Fix testtools/CustomTarget_bridgetest.mk scripts for Mac OS XStephan Bergmann
Change-Id: I0727ee99d06cec185918b1ca10fc46f7ec14928f
2013-08-27The testtools component libs are layer NONE, not URELIBStephan Bergmann
Change-Id: I513ca71792ed9d4010a90041f3f5b818816374c8
2013-08-19Rename SOLAR_JAVA to ENABLE_JAVA and HAVE_FEATURE_JAVATor Lillqvist
Change-Id: Ib451bdb3c1c2ca42347abfde44651d5cf5eef4f3
2013-04-30Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks
2012-12-20Always have UNO_SERVICES/TYPES set in in-build uno ini fileStephan Bergmann
...so that 16f856a5ca827602362692907dfcf287aa91602e "Adapt climaker to cppu::bootstrap_InitialComponentContext removal" does not fail. Starting uno processes from within the build should thus use URE_MORE_SERVICES/TYPES now, too. Change-Id: I0a7cfacc804814a2688e54275ebc3e39540d307c
2012-12-19Make testtools use defaultBootstrap_InitialComponentContextStephan Bergmann
...instead of the ure executable's obsolte -ro arguments (leading to usage of deprecated bootstrap_InitialComponentContext with an XSimpleRegistry instead), similar to 0c1dc375b4bf0c8ff01fe51921767faa703b1295 "Make ure/source/uretest/ use defaultBootstrap_InitialComponentContext." Change-Id: Idd35e27959f7650decfe78364d86614bafbbbec7
2012-06-05normalize gbuild variable names in testtools.Michael Stahl
Variables should have module name as prefix to prevent collisions. Change-Id: I8937e1e04db422d629779ea470bfbd614aeb7524
2012-05-29testttools: tweak makefiles, fix typosMatúš Kukan
Change-Id: I4e7c7f2d79641772479924f8efc479beaf137f8f
2012-05-29fixed build error with --without-java parameterDavid Ostrovsky
Change-Id: Id383a2cd8bdaa14e6d991ee971a6b26230922b10
2012-05-29do not use gb_Helper_*native* functionsDavid Tardon
Change-Id: Iba3e4b97efe9dde7bb26e0e78ec7ec60ae642634
2012-05-29batch scripts are working nowDavid Ostrovsky
Change-Id: Ia58bee4b4d5322cc6c31b24a7c43367d6fd301fc
2012-05-29create batch files for testDavid Ostrovsky
Change-Id: I651bcd35c0a29917bcea21e26a3985b8cf101f7e
2012-05-29CustomTarget_bridgetestDavid Ostrovsky
Change-Id: I2457061286dcdfe8e07624cd235261e7ed731172