summaryrefslogtreecommitdiff
path: root/vcl/Executable_wmffuzzer.mk
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2016-12-16 09:03:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2016-12-20 14:17:38 +0000
commit3b7b4d07bcd9e41cbcc61ea7c8bbc31e7d8d342c (patch)
treeccb8b27ac3b3c541ae697d6d7a709b4c399fe618 /vcl/Executable_wmffuzzer.mk
parent1ad871ce0d4f2809161c8450e53c6598f449de95 (diff)
wmffuzzer as single static binary for oss-fuzz
Change-Id: I4d5ae63e46809341a7bb74a7c89b5a80c7a91e38 Reviewed-on: https://gerrit.libreoffice.org/32227 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl/Executable_wmffuzzer.mk')
-rw-r--r--vcl/Executable_wmffuzzer.mk97
1 files changed, 91 insertions, 6 deletions
diff --git a/vcl/Executable_wmffuzzer.mk b/vcl/Executable_wmffuzzer.mk
index c8df6eb71a07..0a73f779752e 100644
--- a/vcl/Executable_wmffuzzer.mk
+++ b/vcl/Executable_wmffuzzer.mk
@@ -15,7 +15,30 @@ $(eval $(call gb_Executable_use_api,wmffuzzer,\
udkapi \
))
-$(eval $(call gb_Executable_use_external,wmffuzzer,boost_headers))
+$(eval $(call gb_Executable_use_externals,wmffuzzer,\
+ boost_headers \
+ curl \
+ harfbuzz \
+ graphite \
+ cairo \
+ fontconfig \
+ freetype \
+ icui18n \
+ icuuc \
+ icudata \
+ lcms2 \
+ librdf \
+ libxslt \
+ libxml2 \
+ jpeg \
+ clew \
+ openssl \
+ expat \
+ mythes \
+ hyphen \
+ hunspell \
+ zlib \
+))
$(eval $(call gb_Executable_set_include,wmffuzzer,\
$$(INCLUDE) \
@@ -23,19 +46,81 @@ $(eval $(call gb_Executable_set_include,wmffuzzer,\
))
$(eval $(call gb_Executable_use_libraries,wmffuzzer,\
- tl \
- sal \
- utl \
- vcl \
+ basctl \
+ merged \
+ cui \
+ chartcontroller \
+ chartcore \
+ sm \
+ gie \
+ oox \
+ reflection \
+ odfflatxml \
+ invocadapt \
+ bootstrap \
+ introspection \
+ stocservices \
+ lnth \
+ hyphen \
+ i18nsearch \
+ embobj \
+ evtatt \
+ unordf \
+ ucphier1 \
+ ucptdoc1 \
+ srtrs1 \
+ storagefd \
+ mtfrenderer \
+ canvasfactory \
+ vclcanvas \
+ xof \
+ xmlfa \
+ xmlfd \
cppu \
cppuhelper \
comphelper \
+ i18nlangtag \
+ xmlreader \
+ unoidl \
+ reg \
+ store \
+ expwrap \
+ gcc3_uno \
+ salhelper \
+ sal \
+))
+
+$(eval $(call gb_Executable_use_static_libraries,wmffuzzer,\
+ findsofficepath \
+ ulingu \
))
$(eval $(call gb_Executable_add_exception_objects,wmffuzzer,\
- vcl/workben/wmffuzzer \
+ vcl/workben/wmffuzzer \
+ vcl/workben/localestub/localestub \
+ vcl/workben/localestub/localedata_en_AU \
+ vcl/workben/localestub/localedata_en_BW \
+ vcl/workben/localestub/localedata_en_BZ \
+ vcl/workben/localestub/localedata_en_CA \
+ vcl/workben/localestub/localedata_en_GB \
+ vcl/workben/localestub/localedata_en_GH \
+ vcl/workben/localestub/localedata_en_GM \
+ vcl/workben/localestub/localedata_en_IE \
+ vcl/workben/localestub/localedata_en_IN \
+ vcl/workben/localestub/localedata_en_JM \
+ vcl/workben/localestub/localedata_en_MW \
+ vcl/workben/localestub/localedata_en_NA \
+ vcl/workben/localestub/localedata_en_NZ \
+ vcl/workben/localestub/localedata_en_PH \
+ vcl/workben/localestub/localedata_en_TT \
+ vcl/workben/localestub/localedata_en_US \
+ vcl/workben/localestub/localedata_en_ZA \
+ vcl/workben/localestub/localedata_en_ZW \
))
+$(eval $(call gb_Executable_add_generated_exception_objects,wmffuzzer,\
+ CustomTarget/vcl/workben/native-code \
+))
$(eval $(call gb_Executable_add_libs,wmffuzzer,\
-lFuzzingEngine \