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:
committed by
Björn Michaelsen
parent
894f5e46a6
commit
7223027a3a
@@ -34,7 +34,6 @@ $(eval $(call gb_Module_add_moduledirs,libreoffice,\
|
||||
cppcanvas \
|
||||
cppu \
|
||||
cppuhelper \
|
||||
$(call gb_Helper_optional,CPPUNIT,cppunit) \
|
||||
cpputools \
|
||||
$(call gb_Helper_optional,CRASHREP,crashrep) \
|
||||
$(call gb_Helper_optional,CT2N,ct2n) \
|
||||
|
1
external/Module_external.mk
vendored
1
external/Module_external.mk
vendored
@@ -24,6 +24,7 @@ $(eval $(call gb_Module_add_moduledirs,external,\
|
||||
$(call gb_Helper_optional,BSH,beanshell) \
|
||||
$(call gb_Helper_optional,CAIRO,cairo) \
|
||||
$(call gb_Helper_optional,CLUCENE,clucene) \
|
||||
$(call gb_Helper_optional,CPPUNIT,cppunit) \
|
||||
$(call gb_Helper_optional,HARFBUZZ,harfbuzz) \
|
||||
$(call gb_Helper_optional,LIBPNG,libpng) \
|
||||
))
|
||||
|
@@ -9,16 +9,10 @@
|
||||
|
||||
$(eval $(call gb_Module_Module,cppunit))
|
||||
|
||||
ifneq (,$(filter DESKTOP,$(BUILD_TYPE)))
|
||||
|
||||
ifeq ($(SYSTEM_CPPUNIT),NO)
|
||||
$(eval $(call gb_Module_add_targets,cppunit,\
|
||||
UnpackedTarball_cppunit \
|
||||
ExternalPackage_cppunit \
|
||||
ExternalProject_cppunit \
|
||||
))
|
||||
endif
|
||||
|
||||
endif
|
||||
|
||||
# vim: set noet sw=4 ts=4:
|
@@ -12,22 +12,22 @@ $(eval $(call gb_UnpackedTarball_UnpackedTarball,cppunit))
|
||||
$(eval $(call gb_UnpackedTarball_set_tarball,cppunit,$(CPPUNIT_TARBALL),,cppunit))
|
||||
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
|
||||
cppunit/windows.patch \
|
||||
cppunit/unix.patch \
|
||||
cppunit/wundef.patch \
|
||||
external/cppunit/windows.patch \
|
||||
external/cppunit/unix.patch \
|
||||
external/cppunit/wundef.patch \
|
||||
))
|
||||
ifeq ($(OS),ANDROID)
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
|
||||
cppunit/android.patch \
|
||||
external/cppunit/android.patch \
|
||||
))
|
||||
else ifeq ($(OS),IOS)
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
|
||||
cppunit/ios.patch \
|
||||
external/cppunit/ios.patch \
|
||||
))
|
||||
endif
|
||||
ifeq ($(DISABLE_DYNLOADING),TRUE)
|
||||
$(eval $(call gb_UnpackedTarball_add_patches,cppunit,\
|
||||
cppunit/disable-dynloading.patch \
|
||||
external/cppunit/disable-dynloading.patch \
|
||||
))
|
||||
endif
|
||||
|
Reference in New Issue
Block a user