mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-10 05:57:51 +00:00
Re-enable spirv-cross fuzzers
Roll third_party/shaderc/ 24536bdd3..1d6155d86 (1 commit)
24536bdd3c..1d6155d867
$ git log 24536bdd3..1d6155d86 --date=short --no-merges --format='%ad %ae %s'
2019-11-27 rharrison Moving spirv-cross dep from Dawn into shaderc (#911)
Created with:
roll-dep third_party/shaderc
BUG=dawn:285
Change-Id: I47d202166f9e34c88e7aad75d6a3c8aa9a7d6499
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/14120
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
This commit is contained in:
committed by
Commit Bot service account
parent
2559fc0b84
commit
00b1e38f3b
@@ -69,6 +69,55 @@ if (build_with_chromium) {
|
||||
}
|
||||
}
|
||||
|
||||
static_library("dawn_spirv_cross_fuzzer_common") {
|
||||
sources = [
|
||||
"DawnSPIRVCrossFuzzer.cpp",
|
||||
"DawnSPIRVCrossFuzzer.h",
|
||||
]
|
||||
public_deps = [
|
||||
"${dawn_shaderc_dir}:libshaderc_spvc",
|
||||
]
|
||||
}
|
||||
|
||||
# TODO(rharrison): Remove asan_options once signal trap is no longer
|
||||
# needed.
|
||||
# Uses Dawn specific options and varies input data
|
||||
dawn_fuzzer_test("dawn_spirv_cross_glsl_fast_fuzzer") {
|
||||
sources = [
|
||||
"DawnSPIRVCrossGLSLFastFuzzer.cpp",
|
||||
]
|
||||
deps = [
|
||||
":dawn_spirv_cross_fuzzer_common",
|
||||
]
|
||||
asan_options = [ "allow_user_segv_handler=1" ]
|
||||
}
|
||||
|
||||
# TODO(rharrison): Remove asan_options once signal trap is no longer
|
||||
# needed.
|
||||
# Uses Dawn specific options and varies input data
|
||||
dawn_fuzzer_test("dawn_spirv_cross_hlsl_fast_fuzzer") {
|
||||
sources = [
|
||||
"DawnSPIRVCrossHLSLFastFuzzer.cpp",
|
||||
]
|
||||
deps = [
|
||||
":dawn_spirv_cross_fuzzer_common",
|
||||
]
|
||||
asan_options = [ "allow_user_segv_handler=1" ]
|
||||
}
|
||||
|
||||
# TODO(rharrison): Remove asan_options once signal trap is no longer
|
||||
# needed.
|
||||
# Uses Dawn specific options and varies input data
|
||||
dawn_fuzzer_test("dawn_spirv_cross_msl_fast_fuzzer") {
|
||||
sources = [
|
||||
"DawnSPIRVCrossMSLFastFuzzer.cpp",
|
||||
]
|
||||
deps = [
|
||||
":dawn_spirv_cross_fuzzer_common",
|
||||
]
|
||||
asan_options = [ "allow_user_segv_handler=1" ]
|
||||
}
|
||||
|
||||
dawn_fuzzer_test("dawn_wire_server_and_frontend_fuzzer") {
|
||||
sources = [
|
||||
"DawnWireServerAndFrontendFuzzer.cpp",
|
||||
|
||||
Reference in New Issue
Block a user