RepositoryModule: add the libraries back from the reverted commit
... but this time hopefully topologically sorted.
Change-Id: I94960795d729d803641fe7bbf47797f733b56c40
diff --git a/RepositoryModule_host.mk b/RepositoryModule_host.mk
index 259ca29..b9e64f2 100644
--- a/RepositoryModule_host.mk
+++ b/RepositoryModule_host.mk
@@ -241,6 +241,8 @@ $(if $(strip $(1)),\
$(call repositorymodule_serialize,$(wordlist 2,$(words $(1)),$(1))))
endef
# DO NOT SORT ALPHABETICALLY: the libraries must be listed in dependency order,
# otherwise cyclic dependencies ruin everything.
# do not serialize on a partial build as that may fail due to missing deps.
# the default goal is all (see Module.mk)
ifeq (,$(filter-out all,$(MAKECMDGOALS)))
@@ -249,9 +251,9 @@ $(eval $(call repositorymodule_serialize,\
$(if $(filter SCRIPTING,$(BUILD_TYPE)),vbaobj) \
sc msword swui sw sd \
$(if $(filter DBCONNECTIVITY,$(BUILD_TYPE)),dbu) \
writerfilter cui chartcontroller oox \
writerfilter cui chartcontroller chartcore oox svx \
$(if $(MERGELIBS),merged,svxcore) \
xo vcl \
xo sfx fwk svt vcl \
))
endif