Index: gpu/BUILD.gn |
diff --git a/gpu/BUILD.gn b/gpu/BUILD.gn |
index db9c0ec462ad34b6503a08594471cc662ffdc982..dc5e59fe974c82a805e8549fc76e31223bbeab10 100644 |
--- a/gpu/BUILD.gn |
+++ b/gpu/BUILD.gn |
@@ -425,4 +425,27 @@ if (is_linux) { |
libfuzzer_options = [ "max_len=16384" ] |
} |
+ |
+ fuzzer_test("gpu_angle_passthrough_fuzzer") { |
+ sources = [ |
+ "command_buffer/tests/fuzzer_main.cc", |
+ ] |
+ |
+ defines = [ |
+ "GPU_FUZZER_USE_ANGLE", |
+ "GPU_FUZZER_USE_PASSTHROUGH_CMD_DECODER", |
+ ] |
+ |
+ 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" ] |
+ } |
} |