Kaydet (Commit) 3aa3d170 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Bypass cppunit stuff for non-DESKTOP in more places

We don't run any cppunit tests for cross-compiled platforms anyway, so no
point in compiling that. (Especially as compiling cppunit currently fails in a
--enable-werror build at least for Android thanks to -Wundef.)

Change-Id: I3139c62305ccfeddc0f67729f10e224618d2fc03
üst 60212d61
...@@ -9,6 +9,8 @@ ...@@ -9,6 +9,8 @@
$(eval $(call gb_Module_Module,cppunit)) $(eval $(call gb_Module_Module,cppunit))
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
ifeq ($(SYSTEM_CPPUNIT),NO) ifeq ($(SYSTEM_CPPUNIT),NO)
$(eval $(call gb_Module_add_targets,cppunit,\ $(eval $(call gb_Module_add_targets,cppunit,\
UnpackedTarball_cppunit \ UnpackedTarball_cppunit \
...@@ -17,4 +19,6 @@ $(eval $(call gb_Module_add_targets,cppunit,\ ...@@ -17,4 +19,6 @@ $(eval $(call gb_Module_add_targets,cppunit,\
)) ))
endif endif
endif
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -27,6 +27,8 @@ ...@@ -27,6 +27,8 @@
$(eval $(call gb_Module_Module,test)) $(eval $(call gb_Module_Module,test))
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
$(eval $(call gb_Module_add_targets,test,\ $(eval $(call gb_Module_add_targets,test,\
Library_test \ Library_test \
Library_subsequenttest \ Library_subsequenttest \
...@@ -34,4 +36,6 @@ $(eval $(call gb_Module_add_targets,test,\ ...@@ -34,4 +36,6 @@ $(eval $(call gb_Module_add_targets,test,\
Package_unittest \ Package_unittest \
)) ))
endif
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:
...@@ -27,12 +27,14 @@ ...@@ -27,12 +27,14 @@
$(eval $(call gb_Module_Module,unotest)) $(eval $(call gb_Module_Module,unotest))
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
$(eval $(call gb_Module_add_targets,unotest,\ $(eval $(call gb_Module_add_targets,unotest,\
Library_unobootstrapprotector \ Library_unobootstrapprotector \
Library_unoexceptionprotector \ Library_unoexceptionprotector \
Library_unotest \ Library_unotest \
Package_inc \ Package_inc \
)) ))
endif
ifneq ($(SOLAR_JAVA),) ifneq ($(SOLAR_JAVA),)
$(eval $(call gb_Module_add_targets,unotest,\ $(eval $(call gb_Module_add_targets,unotest,\
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment