[Libreoffice] oox fun in bringing it into tail_build...
nthiebaud at gmail.com
Thu Aug 11 23:59:37 PDT 2011
On Fri, Aug 12, 2011 at 1:16 AM, Matúš Kukan <matus.kukan at gmail.com> wrote:
> Hi there,
> On 12 August 2011 06:20, Norbert Thiebaud <nthiebaud at gmail.com> wrote:
>> I had an unexpectedly hard time moving oox into tail_build... I
>> tinkered with it fours hours, build after build to get it to 'work'...
>> but in the end I'm getting tunnel visioned.
> Hmm, indeed, there are many things to do it seems. Maybe we should let
> tail_build like it is now and concentrate on improving gbuild
> implementation and gbuildizing modules and when it will be prepared,
> add more modules. Anyway, there is not much to add now.
> Example of possible todo:
> in http://cgit.freedesktop.org/libreoffice/core/commit/?id=662c49c020420a878f8feb488ff9b0dc3c0d8a9f
> is added animations api just because of dependency but we don't need
> to change include paths.
I can't do that for oox because there are 'generated' files to
deliver... _api stuff is to deliver the module 'static' include.
that is done up front and not wating for the module to finish, that
way child module can start compiling before the parent module is
finished linking + deliver of the library
but in the case of oox there are include files that need delivering
that are generated... so they are not part of the oox_inc package
> Maybe $(eval $(call gb_Library_add_package_headers,sd,animations_inc))
> would be better but I think it's meant just for internal module's
that would break the per-module build-ability, as you noticed below.
> headers because I found:
> define gb_LinkTarget_add_package_headers
> $(foreach package,$(2),$(call
> $(call gb_LinkTarget_get_clean_target,$(1)) : $(foreach
> package,$(2),$(call gb_Package_get_clean_target,$(package)))
> what probably means that when you run make clean in sd you would also
> remove animations' headers ?
More information about the LibreOffice