vcl VectorGraphicSearchTest: avoid HAVE_FEATURE_PDFIUM ifdef

This is entirely specific to pdfium, so don't build it in the no-pdfium
case.

Towards completely avoiding the HAVE_FEATURE_PDFIUM ifdef forest.

Change-Id: I127fce64d4ba1fffe529daf927311ed4d42d745f
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/114067
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
This commit is contained in:
Miklos Vajna 2021-04-13 20:44:50 +02:00
parent 77419c6f3a
commit a4836c01a9
2 changed files with 1 additions and 5 deletions

View file

@ -14,7 +14,7 @@ $(eval $(call gb_CppunitTest_add_exception_objects,vcl_graphic_test, \
vcl/qa/cppunit/GraphicDescriptorTest \
vcl/qa/cppunit/GraphicFormatDetectorTest \
vcl/qa/cppunit/GraphicNativeMetadataTest \
vcl/qa/cppunit/VectorGraphicSearchTest \
$(if $(filter PDFIUM,$(BUILD_TYPE)),vcl/qa/cppunit/VectorGraphicSearchTest) \
vcl/qa/cppunit/BinaryDataContainerTest \
))

View file

@ -9,8 +9,6 @@
#include <config_features.h>
#if HAVE_FEATURE_PDFIUM
#include <string_view>
#include <cppunit/TestAssert.h>
@ -287,6 +285,4 @@ void VectorGraphicSearchTest::testSearchMatchCase()
CPPUNIT_TEST_SUITE_REGISTRATION(VectorGraphicSearchTest);
#endif
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */