diff options
-rw-r--r-- | cppunit/Module_cppunit.mk | 4 | ||||
-rw-r--r-- | test/Module_test.mk | 4 | ||||
-rw-r--r-- | unotest/Module_unotest.mk | 2 |
3 files changed, 10 insertions, 0 deletions
diff --git a/cppunit/Module_cppunit.mk b/cppunit/Module_cppunit.mk index 32a3fb831cc8..53ed611fe0c1 100644 --- a/cppunit/Module_cppunit.mk +++ b/cppunit/Module_cppunit.mk @@ -9,6 +9,8 @@ $(eval $(call gb_Module_Module,cppunit)) +ifneq (,$(filter DESKTOP,$(BUILD_TYPE))) + ifeq ($(SYSTEM_CPPUNIT),NO) $(eval $(call gb_Module_add_targets,cppunit,\ UnpackedTarball_cppunit \ @@ -17,4 +19,6 @@ $(eval $(call gb_Module_add_targets,cppunit,\ )) endif +endif + # vim: set noet sw=4 ts=4: diff --git a/test/Module_test.mk b/test/Module_test.mk index 6c8b81fa2992..9b352a5c003a 100644 --- a/test/Module_test.mk +++ b/test/Module_test.mk @@ -27,6 +27,8 @@ $(eval $(call gb_Module_Module,test)) +ifneq (,$(filter DESKTOP,$(BUILD_TYPE))) + $(eval $(call gb_Module_add_targets,test,\ Library_test \ Library_subsequenttest \ @@ -34,4 +36,6 @@ $(eval $(call gb_Module_add_targets,test,\ Package_unittest \ )) +endif + # vim: set noet sw=4 ts=4: diff --git a/unotest/Module_unotest.mk b/unotest/Module_unotest.mk index 6980b6e70a82..e9eee8f0e461 100644 --- a/unotest/Module_unotest.mk +++ b/unotest/Module_unotest.mk @@ -27,12 +27,14 @@ $(eval $(call gb_Module_Module,unotest)) +ifneq (,$(filter DESKTOP,$(BUILD_TYPE))) $(eval $(call gb_Module_add_targets,unotest,\ Library_unobootstrapprotector \ Library_unoexceptionprotector \ Library_unotest \ Package_inc \ )) +endif ifneq ($(SOLAR_JAVA),) $(eval $(call gb_Module_add_targets,unotest,\ |