fdo#70393: move cppunit to a subdir of external

Change-Id: I96ab796757af0c6c6741059b35fcaeefc2bf4507
Reviewed-on: https://gerrit.libreoffice.org/6286
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
This commit is contained in:
Khaled Hosny
2013-10-17 01:32:29 +02:00
committed by Björn Michaelsen
parent 894f5e46a6
commit 7223027a3a
14 changed files with 7 additions and 13 deletions

View File

@@ -34,7 +34,6 @@ $(eval $(call gb_Module_add_moduledirs,libreoffice,\
cppcanvas \ cppcanvas \
cppu \ cppu \
cppuhelper \ cppuhelper \
$(call gb_Helper_optional,CPPUNIT,cppunit) \
cpputools \ cpputools \
$(call gb_Helper_optional,CRASHREP,crashrep) \ $(call gb_Helper_optional,CRASHREP,crashrep) \
$(call gb_Helper_optional,CT2N,ct2n) \ $(call gb_Helper_optional,CT2N,ct2n) \

View File

@@ -24,6 +24,7 @@ $(eval $(call gb_Module_add_moduledirs,external,\
$(call gb_Helper_optional,BSH,beanshell) \ $(call gb_Helper_optional,BSH,beanshell) \
$(call gb_Helper_optional,CAIRO,cairo) \ $(call gb_Helper_optional,CAIRO,cairo) \
$(call gb_Helper_optional,CLUCENE,clucene) \ $(call gb_Helper_optional,CLUCENE,clucene) \
$(call gb_Helper_optional,CPPUNIT,cppunit) \
$(call gb_Helper_optional,HARFBUZZ,harfbuzz) \ $(call gb_Helper_optional,HARFBUZZ,harfbuzz) \
$(call gb_Helper_optional,LIBPNG,libpng) \ $(call gb_Helper_optional,LIBPNG,libpng) \
)) ))

View File

@@ -9,16 +9,10 @@
$(eval $(call gb_Module_Module,cppunit)) $(eval $(call gb_Module_Module,cppunit))
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
ifeq ($(SYSTEM_CPPUNIT),NO)
$(eval $(call gb_Module_add_targets,cppunit,\ $(eval $(call gb_Module_add_targets,cppunit,\
UnpackedTarball_cppunit \ UnpackedTarball_cppunit \
ExternalPackage_cppunit \ ExternalPackage_cppunit \
ExternalProject_cppunit \ ExternalProject_cppunit \
)) ))
endif
endif
# vim: set noet sw=4 ts=4: # vim: set noet sw=4 ts=4:

View File

@@ -12,22 +12,22 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,cppunit))
$(eval $(call gb_UnpackedTarball_set_tarball,cppunit,$(CPPUNIT_TARBALL),,cppunit)) $(eval $(call gb_UnpackedTarball_set_tarball,cppunit,$(CPPUNIT_TARBALL),,cppunit))
$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\ $(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
cppunit/windows.patch \ external/cppunit/windows.patch \
cppunit/unix.patch \ external/cppunit/unix.patch \
cppunit/wundef.patch \ external/cppunit/wundef.patch \
)) ))
ifeq ($(OS),ANDROID) ifeq ($(OS),ANDROID)
$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\ $(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
cppunit/android.patch \ external/cppunit/android.patch \
)) ))
else ifeq ($(OS),IOS) else ifeq ($(OS),IOS)
$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\ $(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
cppunit/ios.patch \ external/cppunit/ios.patch \
)) ))
endif endif
ifeq ($(DISABLE_DYNLOADING),TRUE) ifeq ($(DISABLE_DYNLOADING),TRUE)
$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\ $(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
cppunit/disable-dynloading.patch \ external/cppunit/disable-dynloading.patch \
)) ))
endif endif