Don't use shared libraries in the wire fuzzer.

Otherwise UBSan complains that C++ types are different between the
shared libraries because libc++ is linked statically.

BUG=chromium:904736

Change-Id: I51ef40d1f7910fd693a4585c74ff404812472d2e
Reviewed-on: https://dawn-review.googlesource.com/c/2380
Reviewed-by: Dan Sinclair <dsinclair@google.com>
Reviewed-by: Kai Ninomiya <kainino@chromium.org>
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
This commit is contained in:
Corentin Wallez
2018-11-14 21:04:26 +00:00
committed by Commit Bot service account
parent 499bc0318d
commit 2ec59d9fcc
2 changed files with 52 additions and 17 deletions

View File

@@ -164,9 +164,9 @@ dawn_fuzzer_test("dawn_wire_server_and_frontend_fuzzer") {
]
deps = [
"${dawn_top_level}:libdawn",
"${dawn_top_level}:libdawn_native",
"${dawn_top_level}:libdawn_wire",
"${dawn_top_level}:libdawn_sources",
"${dawn_top_level}:libdawn_native_sources",
"${dawn_top_level}:libdawn_wire_sources",
]
additional_configs = [ "${dawn_top_level}:dawn_shared_library_public" ]