[skia] add sksl2pipeline (#2245)

This commit is contained in:
Kevin Lubick 2019-03-18 20:13:35 -04:00 committed by jonathanmetzman
parent 40286086df
commit c1068851e8
3 changed files with 18 additions and 1 deletions

View File

@ -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",
]
}

View File

@ -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

View File

@ -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