diff options
Diffstat (limited to 'projects/harfbuzz')
-rw-r--r-- | projects/harfbuzz/Dockerfile | 5 | ||||
-rwxr-xr-x | projects/harfbuzz/build.sh | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/projects/harfbuzz/Dockerfile b/projects/harfbuzz/Dockerfile index 5fd5c645..46ea823c 100644 --- a/projects/harfbuzz/Dockerfile +++ b/projects/harfbuzz/Dockerfile @@ -19,5 +19,10 @@ MAINTAINER mmoroz@chromium.org RUN apt-get install -y make autoconf automake libtool ragel pkg-config RUN git clone --depth 1 https://anongit.freedesktop.org/git/harfbuzz.git + +# Add seed corpus from Google Fonts. +RUN git clone https://github.com/google/fonts.git google-fonts +RUN find ./google-fonts -type f ! -iname '*.ttf' -delete + WORKDIR harfbuzz COPY build.sh $SRC/ diff --git a/projects/harfbuzz/build.sh b/projects/harfbuzz/build.sh index f8ca0e38..fff095b2 100755 --- a/projects/harfbuzz/build.sh +++ b/projects/harfbuzz/build.sh @@ -28,5 +28,4 @@ $CXX $CXXFLAGS -std=c++11 -Isrc \ -lFuzzingEngine ./src/.libs/libharfbuzz-fuzzing.a # Archive and copy to $OUT seed corpus if the build succeeded. -zip -j -r $OUT/hb-fuzzer_seed_corpus.zip $SRC/harfbuzz/test/shaping/fonts - +zip -r $OUT/hb-fuzzer_seed_corpus.zip $SRC/harfbuzz/test/shaping/fonts $SRC/google-fonts |