use common PCH for more libraries

Change-Id: I53164be413426691025a63cfba731cf5f9d1b7f8
Reviewed-on: https://gerrit.libreoffice.org/80790
Tested-by: Jenkins
Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
This commit is contained in:
Luboš Luňák
2019-10-14 18:33:20 +02:00
parent c2e0cbee47
commit f221eea9ed
12 changed files with 28 additions and 0 deletions

View File

@@ -23,6 +23,8 @@ $(eval $(call gb_Library_set_include,jdbc,\
-I$(WORKDIR)/YaccTarget/connectivity/source/parse \
))
$(eval $(call gb_Library_use_common_precompiled_header,jdbc))
$(eval $(call gb_Library_use_libraries,jdbc,\
cppu \
cppuhelper \

View File

@@ -20,6 +20,8 @@ $(eval $(call gb_Library_set_include,pcr,\
$$(INCLUDE) \
))
$(eval $(call gb_Library_use_common_precompiled_header,pcr))
$(eval $(call gb_Library_use_external,pcr,boost_headers))
$(eval $(call gb_Library_use_libraries,pcr,\

View File

@@ -32,6 +32,8 @@ $(eval $(call gb_Library_use_custom_headers,gie,\
officecfg/registry \
))
$(eval $(call gb_Library_use_common_precompiled_header,gie))
$(eval $(call gb_Library_use_libraries,gie,\
basegfx \
comphelper \

View File

@@ -13,6 +13,8 @@ $(eval $(call gb_Library_use_libraries,localedata_euro,\
localedata_en \
))
$(eval $(call gb_Library_use_common_precompiled_header,localedata_euro))
$(eval $(call gb_Library_add_generated_exception_objects,localedata_euro,\
CustomTarget/i18npool/localedata/localedata_an_ES \
CustomTarget/i18npool/localedata/localedata_ast_ES \

View File

@@ -13,6 +13,8 @@ $(eval $(call gb_Library_use_libraries,localedata_others,\
localedata_en \
))
$(eval $(call gb_Library_use_common_precompiled_header,localedata_others))
$(eval $(call gb_Library_add_generated_exception_objects,localedata_others,\
CustomTarget/i18npool/localedata/localedata_af_NA \
CustomTarget/i18npool/localedata/localedata_af_ZA \

View File

@@ -129,11 +129,17 @@ gb_PrecompiledHeader_ignore_flags_system := \
-DFASTSAX_DLLIMPLEMENTATION \
-DSAX_DLLIMPLEMENTATION \
-DSCQAHELPER_DLLIMPLEMENTATION \
-DVCLPLUG_WIN_IMPLEMENTATION \
-DVCLPLUG_GEN_IMPLEMENTATION \
-DSYSTEM_EXPAT \
-DSYSTEM_LIBXML \
-DSYSTEM_ZLIB \
-DHAVE_VALGRIND_HEADERS \
-DUSE_RANDR \
-DUSE_XINERAMA_XORG \
-DDISABLE_CVE_TESTS \
-DCPPUNIT_PLUGIN_EXPORT='extern "C" SAL_DLLPUBLIC_EXPORT' \
-DOOO_DLLIMPLEMENTATION_TEST \
-include $(SRCDIR)/pch/inc/clangfix.hxx \
# Probably also update pch/inc/clangfix.hxx if you extend the list.

View File

@@ -17,6 +17,8 @@ $(eval $(call gb_Library_add_defs,subsequenttest,\
-DOOO_DLLIMPLEMENTATION_TEST \
))
$(eval $(call gb_Library_use_common_precompiled_header,subsequenttest))
$(eval $(call gb_Library_use_sdk_api,subsequenttest))
$(eval $(call gb_Library_use_libraries,subsequenttest,\

View File

@@ -30,6 +30,8 @@ $(eval $(call gb_Library_use_custom_headers,vclplug_gen,\
$(eval $(call gb_Library_use_sdk_api,vclplug_gen))
$(eval $(call gb_Library_use_common_precompiled_header,vclplug_gen))
$(eval $(call gb_Library_use_libraries,vclplug_gen,\
vcl \
tl \

View File

@@ -35,6 +35,8 @@ $(eval $(call gb_Library_use_custom_headers,vclplug_win,\
$(eval $(call gb_Library_use_sdk_api,vclplug_win))
$(eval $(call gb_Library_use_common_precompiled_header,vclplugin_win))
$(eval $(call gb_Library_use_libraries,vclplug_win,\
$(call gb_Helper_optional,BREAKPAD, \
crashreport) \

View File

@@ -23,6 +23,8 @@ $(eval $(call gb_Library_use_sdk_api,winaccessibility))
$(eval $(call gb_Library_set_componentfile,winaccessibility,winaccessibility/source/service/winaccessibility))
$(eval $(call gb_Library_use_common_precompiled_header,winaccessibility))
$(eval $(call gb_Library_add_exception_objects,winaccessibility,\
winaccessibility/source/service/AccObject \
winaccessibility/source/service/ResIDGenerator \

View File

@@ -28,6 +28,8 @@ $(eval $(call gb_Library_set_componentfile,wpftdraw,writerperfect/source/draw/wp
$(eval $(call gb_Library_use_sdk_api,wpftdraw))
$(eval $(call gb_Library_use_common_precompiled_header,wpftdraw))
$(eval $(call gb_Library_use_libraries,wpftdraw,\
comphelper \
cppu \

View File

@@ -28,6 +28,8 @@ $(eval $(call gb_Library_set_componentfile,wpftwriter,writerperfect/source/write
$(eval $(call gb_Library_use_sdk_api,wpftwriter))
$(eval $(call gb_Library_use_common_precompiled_header,wpftwriter))
$(eval $(call gb_Library_use_libraries,wpftwriter,\
comphelper \
cppu \