Fix compilation of SPIRV-Cross fuzzers in Chromium
BUG=chromium:903380 Change-Id: Ic36c400339a2a1fd7dd99b928fec80ce98f6997b Reviewed-on: https://dawn-review.googlesource.com/c/2320 Reviewed-by: Dan Sinclair <dsinclair@google.com> Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
parent
9854295ff6
commit
42a0a49318
11
BUILD.gn
11
BUILD.gn
|
@ -961,21 +961,12 @@ if (build_with_chromium) {
|
|||
]
|
||||
}
|
||||
|
||||
config("dawn_spirv_cross_fuzzers_config") {
|
||||
defines = [ "SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS" ]
|
||||
include_dirs = [
|
||||
"src/fuzzers",
|
||||
"third_party/",
|
||||
]
|
||||
}
|
||||
|
||||
static_library("dawn_spirv_cross_fuzzer_common") {
|
||||
public_configs = [ ":dawn_spirv_cross_fuzzers_config" ]
|
||||
sources = [
|
||||
"src/fuzzers/DawnSPIRVCrossFuzzer.cpp",
|
||||
"src/fuzzers/DawnSPIRVCrossFuzzer.h",
|
||||
]
|
||||
deps = [
|
||||
public_deps = [
|
||||
"third_party:spirv_cross",
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue