OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//testing/libfuzzer/fuzzer_test.gni") | 5 import("//testing/libfuzzer/fuzzer_test.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 import("//build/config/ui.gni") | 7 import("//build/config/ui.gni") |
8 | 8 |
9 config("gpu_implementation") { | 9 config("gpu_implementation") { |
10 defines = [ "GPU_IMPLEMENTATION" ] | 10 defines = [ "GPU_IMPLEMENTATION" ] |
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
418 "//base", | 418 "//base", |
419 "//base/third_party/dynamic_annotations", | 419 "//base/third_party/dynamic_annotations", |
420 "//gpu/command_buffer/common:gles2_utils", | 420 "//gpu/command_buffer/common:gles2_utils", |
421 "//ui/gfx/geometry", | 421 "//ui/gfx/geometry", |
422 "//ui/gl", | 422 "//ui/gl", |
423 "//ui/gl:test_support", | 423 "//ui/gl:test_support", |
424 ] | 424 ] |
425 | 425 |
426 libfuzzer_options = [ "max_len=16384" ] | 426 libfuzzer_options = [ "max_len=16384" ] |
427 } | 427 } |
| 428 |
| 429 fuzzer_test("gpu_angle_passthrough_fuzzer") { |
| 430 sources = [ |
| 431 "command_buffer/tests/fuzzer_main.cc", |
| 432 ] |
| 433 |
| 434 defines = [ |
| 435 "GPU_FUZZER_USE_ANGLE", |
| 436 "GPU_FUZZER_USE_PASSTHROUGH_CMD_DECODER", |
| 437 ] |
| 438 |
| 439 deps = [ |
| 440 ":gpu", |
| 441 "//base", |
| 442 "//base/third_party/dynamic_annotations", |
| 443 "//gpu/command_buffer/common:gles2_utils", |
| 444 "//ui/gfx/geometry", |
| 445 "//ui/gl", |
| 446 "//ui/gl:test_support", |
| 447 ] |
| 448 |
| 449 libfuzzer_options = [ "max_len=16384" ] |
| 450 } |
428 } | 451 } |
OLD | NEW |