[dawn] Add third_party/libFuzzer DEP, use it
Replace the 'build_with_chromium' conditional in BUILD.gn that emulates the 'fuzzer_test' template, and always just use 'fuzzer_test'.
Should reduce behavior differences between standalone and chromium builds
Change-Id: I666a1c292e010c0cb110952d69a290193daa3c2b
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/153820
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Kokoro: Kokoro <noreply+kokoro@google.com>
Commit-Queue: Ben Clayton <bclayton@google.com>
diff --git a/DEPS b/DEPS
index a1e9f52..e7faec2 100644
--- a/DEPS
+++ b/DEPS
@@ -116,7 +116,11 @@
# Testing, GTest and GMock
'testing': {
- 'url': '{chromium_git}/chromium/src/testing@166db27fd0d53afc0c716b1ae9c15725e380871f',
+ 'url': '{chromium_git}/chromium/src/testing@48d3bd9693702764fdf9cf8f2d13dfe3fcb5bb3e',
+ 'condition': 'dawn_standalone',
+ },
+ 'third_party/libFuzzer/src': {
+ 'url': '{chromium_git}/external/github.com/llvm/llvm-project/compiler-rt/lib/fuzzer.git' + '@' + '26cc39e59b2bf5cbc20486296248a842c536878d',
'condition': 'dawn_standalone',
},
'third_party/googletest': {