diff --git a/projects/skia/BUILD.gn.diff b/projects/skia/BUILD.gn.diff index 101144228..6ac8731e3 100644 --- a/projects/skia/BUILD.gn.diff +++ b/projects/skia/BUILD.gn.diff @@ -411,3 +411,15 @@ test_app("sksl2metal") { ":skia", ] } + +test_app("sksl2pipeline") { + sources = [ + "fuzz/Fuzz.cpp", + "fuzz/FuzzCommon.cpp", + "fuzz/oss_fuzz/FuzzSKSL2Pipeline.cpp", + ] + deps = [ + ":gpu_tool_utils", + ":skia", + ] +} diff --git a/projects/skia/Dockerfile b/projects/skia/Dockerfile index e2ff521b6..53ec95a89 100644 --- a/projects/skia/Dockerfile +++ b/projects/skia/Dockerfile @@ -106,6 +106,7 @@ COPY api_fuzzers.options $SRC/skia/api_raster_n32_canvas.options COPY sksl.options $SRC/skia/sksl2glsl.options COPY sksl.options $SRC/skia/sksl2spirv.options COPY sksl.options $SRC/skia/sksl2metal.options +COPY sksl.options $SRC/skia/sksl2pipeline.options COPY json.dict $SRC/skia/json.dict diff --git a/projects/skia/build.sh b/projects/skia/build.sh index 48dee4fb6..44a5a3292 100644 --- a/projects/skia/build.sh +++ b/projects/skia/build.sh @@ -100,7 +100,7 @@ $SRC/depot_tools/ninja -C out/Fuzz region_deserialize region_set_path \ textblob_deserialize skjson \ api_null_canvas api_image_filter api_pathop \ api_polyutils android_codec image_decode_incremental \ - sksl2glsl sksl2spirv sksl2metal + sksl2glsl sksl2spirv sksl2metal sksl2pipeline $SRC/depot_tools/ninja -C out/Fuzz_mem_constraints image_filter_deserialize \ api_raster_n32_canvas \ @@ -219,3 +219,7 @@ cp ./sksl_seed_corpus.zip $OUT/sksl2spirv_seed_corpus.zip cp out/Fuzz/sksl2metal $OUT/sksl2metal cp ./sksl2metal.options $OUT/sksl2metal.options cp ./sksl_seed_corpus.zip $OUT/sksl2metal_seed_corpus.zip + +cp out/Fuzz/sksl2pipeline $OUT/sksl2pipeline +cp ./sksl2pipeline.options $OUT/sksl2pipeline.options +cp ./sksl_seed_corpus.zip $OUT/sksl2pipeline_seed_corpus.zip