summaryrefslogtreecommitdiff
path: root/solenv
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2012-05-25 10:27:30 +0200
committerStephan Bergmann <sbergman@redhat.com>2012-05-25 10:54:14 +0200
commit3d199e410bda1ba148eed26176e1003df21eaa75 (patch)
tree9715112b313691d4cea3f40ab69fb363abeb979c /solenv
parent306159d8ff9ef91cf8d4c92198157b7fad46211e (diff)
Removed documentation from type rdbs
Before gbuild'ification, solenv/inc/target.mk carefully produced two variants of each type rdb, a plain one from calling idlc w/o -C and a *_doc variant from calling idlc w/ -C ("generate complete type information, including documentation"). After gbuild'ification, solenv/gbuild/UnoApiTarget.mk unconditionally only produced "complete" type rdbs from calling idlc w/ -C. It is unclear to me whether the old *_doc variants had actually been used for anything (what got packaged into installation sets apparently were the plain, slim variants; and autodoc apparently does not need the *_doc variants, either, as it produces UNOIDL documentation directly from .idl files). It is also unclear to me whether the gbuild switch to effectively package complete, fat rdbs was deliberate or not. (The only client-visible change I see is that low- level C/C++ typereg_reader_getDocumentation could now report something. The reflective UNO services at com.sun.star.reflection would not offer access to the documenation anyway, however.) The benefit of no longer including documentation in the packaged type rdbs is size; the URE types.rdb shrinks from 1.2 MiB to 819 KiB, and offapi.rdb shrinks from 11 MiB to 6.5 MiB. Change-Id: Ib278f74fc3b22169e00a09d778807f8cf58520c4
Diffstat (limited to 'solenv')
-rw-r--r--solenv/gbuild/UnoApiTarget.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/gbuild/UnoApiTarget.mk b/solenv/gbuild/UnoApiTarget.mk
index 42584cecee03..206bbb9694d9 100644
--- a/solenv/gbuild/UnoApiTarget.mk
+++ b/solenv/gbuild/UnoApiTarget.mk
@@ -58,7 +58,7 @@ define gb_UnoApiPartTarget__command
RESPONSEFILE=$(call var2file,$(shell $(gb_MKTEMP)),500,\
$(INCLUDE) \
-M $(basename $(call gb_UnoApiPartTarget_get_dep_target,$(dir $(2)))) \
- -O $(call gb_UnoApiPartTarget_get_target,$(dir $(2))) -verbose -C \
+ -O $(call gb_UnoApiPartTarget_get_target,$(dir $(2))) -verbose \
$(sort $(patsubst $(call gb_UnoApiPartTarget_get_target,%.urd),$(SRCDIR)/%.idl,$(3)))) && \
$(gb_UnoApiPartTarget_IDLCCOMMAND) @$${RESPONSEFILE} > /dev/null && \
rm -f $${RESPONSEFILE} && \