Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1202)

Unified Diff: gpu/BUILD.gn

Issue 2150803003: Introduce gpu_fuzzer to fuzz the GPU command buffers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fuzzer_land_base
Patch Set: Fix check, zero-out padding Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | gpu/command_buffer/service/buffer_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/BUILD.gn
diff --git a/gpu/BUILD.gn b/gpu/BUILD.gn
index 1522b7f279c2e277e964617441e8d678002f1e83..ab3bc4d3168c36afdd94c13652c4c2ddc2ca1d29 100644
--- a/gpu/BUILD.gn
+++ b/gpu/BUILD.gn
@@ -31,6 +31,7 @@
#
# gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings => //gpu/skia_bindings
+import("//testing/libfuzzer/fuzzer_test.gni")
import("//testing/test.gni")
import("//build/config/ui.gni")
@@ -405,3 +406,24 @@ test("gpu_perftests") {
# This target should not require the Chrome executable to run.
assert_no_deps = [ "//chrome" ]
}
+
+fuzzer_test("gpu_fuzzer") {
+ sources = [
+ "command_buffer/tests/fuzzer_main.cc",
+ ]
+
+ deps = [
+ ":gpu",
+ "//base",
+ "//base/third_party/dynamic_annotations",
+ "//gpu/command_buffer/common:gles2_utils",
+ "//ui/gfx/geometry",
+ "//ui/gl",
+ "//ui/gl:test_support",
+ ]
+
+ libfuzzer_options = [
+ "max_len=16384",
+ "use_traces=1",
+ ]
+}
« no previous file with comments | « no previous file | gpu/command_buffer/service/buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698