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:
Corentin Wallez 2018-11-12 15:22:37 +00:00 committed by Commit Bot service account
parent 9854295ff6
commit 42a0a49318
1 changed files with 1 additions and 10 deletions

View File

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