diff --git a/projects/skia/BUILD.gn.diff b/projects/skia/BUILD.gn.diff index c7652ae05..f47ea7dbc 100644 --- a/projects/skia/BUILD.gn.diff +++ b/projects/skia/BUILD.gn.diff @@ -117,6 +117,35 @@ test_app("animated_image_decode") { ] } +test_app("api_create_ddl") { + include_dirs = [ + "include", + "include/gpu", + ] + sources = [ + "fuzz/Fuzz.cpp", + "fuzz/FuzzCreateDDL.cpp", + "fuzz/FuzzCommon.cpp", + "fuzz/oss_fuzz/FuzzAPICreateDDL.cpp", + "tools/Resources.cpp", + "tools/UrlDataManager.cpp", + "tools/debugger/DebugCanvas.cpp", + "tools/debugger/DebugLayerManager.cpp", + "tools/debugger/DrawCommand.cpp", + "tools/debugger/JsonWriteBuffer.cpp", + "tools/fonts/TestFontMgr.cpp", + "tools/fonts/TestSVGTypeface.cpp", + "tools/fonts/TestTypeface.cpp", + ] + deps = [ + ":experimental_svg_model", + ":flags", + ":gpu_tool_utils", + ":skia", + "//third_party/libpng", + ] +} + test_app("api_draw_functions") { sources = [ "fuzz/Fuzz.cpp", diff --git a/projects/skia/build.sh b/projects/skia/build.sh index dae2dbb93..6a3d605c2 100644 --- a/projects/skia/build.sh +++ b/projects/skia/build.sh @@ -107,7 +107,7 @@ $SRC/depot_tools/ninja -C out/Fuzz region_deserialize region_set_path \ api_polyutils android_codec image_decode_incremental \ sksl2glsl sksl2spirv sksl2metal sksl2pipeline \ api_skdescriptor skdescriptor_deserialize\ - svg_dom api_svg_canvas skruntimeeffect + svg_dom api_svg_canvas skruntimeeffect api_create_ddl $SRC/depot_tools/ninja -C out/Fuzz_mem_constraints image_filter_deserialize \ api_raster_n32_canvas \ @@ -221,3 +221,5 @@ cp ./canvas_seed_corpus.zip $OUT/api_svg_canvas_seed_corpus.zip cp out/Fuzz/skruntimeeffect $OUT/skruntimeeffect cp ./sksl_with_256_padding_seed_corpus.zip $OUT/skruntimeeffect_seed_corpus.zip + +cp out/Fuzz/api_create_ddl $OUT/api_create_ddl