diff options
author | David Tardon <dtardon@redhat.com> | 2012-11-18 13:55:18 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2012-11-18 14:53:11 +0100 |
commit | 133fa98bad1b897f70ef3b99eaa11fbc8f5ed433 (patch) | |
tree | ec1042b1a101aaeb64bbe55faaf9a24c3fec0d40 /Module_cross_tail_build.mk | |
parent | Updated core (diff) | |
download | core-133fa98bad1b897f70ef3b99eaa11fbc8f5ed433.tar.gz core-133fa98bad1b897f70ef3b99eaa11fbc8f5ed433.zip |
use gb_Helper_optional
Change-Id: I9e6b10e2b019ae0805862e29fc934d1ebe3f86f5
Diffstat (limited to 'Module_cross_tail_build.mk')
-rw-r--r-- | Module_cross_tail_build.mk | 28 |
1 files changed, 7 insertions, 21 deletions
diff --git a/Module_cross_tail_build.mk b/Module_cross_tail_build.mk index 73efb1ce9ad2..faf594e08d3d 100644 --- a/Module_cross_tail_build.mk +++ b/Module_cross_tail_build.mk @@ -33,19 +33,13 @@ $(eval $(call gb_Module_add_moduledirs,cross_tail_build,\ binaryurp \ bridges \ cli_ure \ - $(if $(filter CLUCENE,$(BUILD_TYPE)),\ - clucene \ - ) \ - $(if $(filter DESKTOP,$(BUILD_TYPE)),\ - codemaker \ - ) \ + $(call gb_Helper_optional,CLUCENE,clucene) \ + $(call gb_Helper_optional,DESKTOP,codemaker) \ comphelper \ cosv \ cppu \ cppuhelper \ - $(if $(filter DESKTOP,$(BUILD_TYPE)),\ - helpcompiler \ - ) \ + $(call gb_Helper_optional,DESKTOP,helpcompiler) \ i18npool \ i18nutil \ idl \ @@ -55,16 +49,12 @@ $(eval $(call gb_Module_add_moduledirs,cross_tail_build,\ jurt \ jvmaccess \ jvmfwk \ - $(if $(filter DESKTOP,$(BUILD_TYPE)),\ - l10ntools \ - ) \ + $(call gb_Helper_optional,DESKTOP,l10ntools) \ o3tl \ offapi \ officecfg \ oovbaapi \ - $(if $(filter QADEVOOO,$(BUILD_TYPE)),\ - qadevOOo \ - ) \ + $(call gb_Helper_optional,QADEVOOO,qadevOOo) \ registry \ remotebridges \ ridljar \ @@ -76,13 +66,9 @@ $(eval $(call gb_Module_add_moduledirs,cross_tail_build,\ stoc \ store \ tools \ - $(if $(filter TRANSLATIONS,$(BUILD_TYPE)),\ - translations \ - ) \ + $(call gb_Helper_optional,TRANSLATIONS,translations) \ ucbhelper \ - $(if $(filter UCPP,$(BUILD_TYPE)),\ - ucpp \ - ) \ + $(call gb_Helper_optional,UCPP,ucpp) \ udkapi \ udm \ unoil \ |