summaryrefslogtreecommitdiff
path: root/sw/Module_sw.mk
diff options
context:
space:
mode:
authorMatúš Kukan <matus.kukan@collabora.com>2014-02-19 12:21:12 +0100
committerMatúš Kukan <matus.kukan@collabora.com>2014-02-19 12:26:41 +0100
commit9ad3fc29dd98167c35fcb599da0b4e764ddf04dd (patch)
tree3e917373b7fa68099115249eee5b405d8e6d51a0 /sw/Module_sw.mk
parent3d024d29fa7344240f6cf407d023ef3537b0a5a9 (diff)
Avoid app specific CreateDialogFactory code for non-DESKTOP.
As happened in 7e9ac5952711400ad856b3328c5cc00c05cec6f2 for cui library. Change-Id: If51201eb452d4b84729b37949fb9b949020b47b8
Diffstat (limited to 'sw/Module_sw.mk')
-rw-r--r--sw/Module_sw.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/sw/Module_sw.mk b/sw/Module_sw.mk
index d5d3f4463c97..804cea26116b 100644
--- a/sw/Module_sw.mk
+++ b/sw/Module_sw.mk
@@ -20,12 +20,11 @@
$(eval $(call gb_Module_Module,sw))
$(eval $(call gb_Module_add_targets,sw,\
- $(if $(filter DESKTOP,$(BUILD_TYPE)), \
- Executable_tiledrendering) \
+ $(call gb_Helper_optional,DESKTOP,Executable_tiledrendering) \
Library_msword \
Library_sw \
Library_swd \
- Library_swui \
+ $(call gb_Helper_optional,DESKTOP,Library_swui) \
))
$(eval $(call gb_Module_add_l10n_targets,sw,\