From 42a0a49318c5c4abb50dfb3f618a0a5368b2951d Mon Sep 17 00:00:00 2001 From: Corentin Wallez Date: Mon, 12 Nov 2018 15:22:37 +0000 Subject: [PATCH] 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 Commit-Queue: Corentin Wallez --- BUILD.gn | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 3e6898b4ea..891c909079 100644 --- a/BUILD.gn +++ b/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", ] }