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:
parent
2559fc0b84
commit
00b1e38f3b
3
BUILD.gn
3
BUILD.gn
|
@ -1210,6 +1210,9 @@ if (dawn_standalone) {
|
|||
group("dawn_fuzzers") {
|
||||
testonly = true
|
||||
deps = [
|
||||
"src/fuzzers:dawn_spirv_cross_glsl_fast_fuzzer",
|
||||
"src/fuzzers:dawn_spirv_cross_hlsl_fast_fuzzer",
|
||||
"src/fuzzers:dawn_spirv_cross_msl_fast_fuzzer",
|
||||
"src/fuzzers:dawn_wire_server_and_frontend_fuzzer",
|
||||
]
|
||||
}
|
||||
|
|
2
DEPS
2
DEPS
|
@ -69,7 +69,7 @@ deps = {
|
|||
'condition': 'dawn_standalone',
|
||||
},
|
||||
'third_party/shaderc': {
|
||||
'url': '{chromium_git}/external/github.com/google/shaderc@24536bdd3cff61dffefdbe2a23cb854785cbb168',
|
||||
'url': '{chromium_git}/external/github.com/google/shaderc@1d6155d8679a7775f7323cbb356cfd9e63400256',
|
||||
'condition': 'dawn_standalone',
|
||||
},
|
||||
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue