commit | be2c3ee05ddb534c7a25cd4c93a7e4fa339b95e4 | [log] [tgz] |
---|---|---|
author | Robert Phillips <robertphillips@google.com> | Tue Aug 31 12:36:25 2021 -0400 |
committer | SkCQ <skcq-be@skia-corp.google.com.iam.gserviceaccount.com> | Tue Aug 31 18:50:20 2021 +0000 |
tree | 3d098223f73ffa07741a6b95ae7ab399267a3d7f | |
parent | 0e32aa8a3a1ededcfe6642449b5a81d32ab17332 [diff] [blame] |
Fix compilation with "skia_enable_skparagraph = false" Change-Id: I034d841618fbf878223c82ec30f0ad37678d737e Reviewed-on: https://skia-review.googlesource.com/c/skia/+/443899 Reviewed-by: Julia Lavrova <jlavrova@google.com> Reviewed-by: Florin Malita <fmalita@google.com> Commit-Queue: Robert Phillips <robertphillips@google.com>
diff --git a/fuzz/oss_fuzz/FuzzSkParagraph.cpp b/fuzz/oss_fuzz/FuzzSkParagraph.cpp index 125ef70..b619e0c 100644 --- a/fuzz/oss_fuzz/FuzzSkParagraph.cpp +++ b/fuzz/oss_fuzz/FuzzSkParagraph.cpp
@@ -7,6 +7,8 @@ #include "fuzz/Fuzz.h" +#if defined(SK_ENABLE_PARAGRAPH) + void fuzz_SkParagraph(Fuzz* f); extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { @@ -17,3 +19,5 @@ fuzz_SkParagraph(&fuzz); return 0; } + +#endif