| 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 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 426 "//base", | 426 "//base", |
| 427 "//base/third_party/dynamic_annotations", | 427 "//base/third_party/dynamic_annotations", |
| 428 "//gpu/command_buffer/common:gles2_utils", | 428 "//gpu/command_buffer/common:gles2_utils", |
| 429 "//ui/gfx/geometry", | 429 "//ui/gfx/geometry", |
| 430 "//ui/gl", | 430 "//ui/gl", |
| 431 "//ui/gl:test_support", | 431 "//ui/gl:test_support", |
| 432 ] | 432 ] |
| 433 | 433 |
| 434 libfuzzer_options = [ "max_len=16384" ] | 434 libfuzzer_options = [ "max_len=16384" ] |
| 435 } | 435 } |
| 436 |
| 437 fuzzer_test("gpu_angle_passthrough_fuzzer") { |
| 438 sources = [ |
| 439 "command_buffer/tests/fuzzer_main.cc", |
| 440 ] |
| 441 |
| 442 defines = [ |
| 443 "GPU_FUZZER_USE_ANGLE", |
| 444 "GPU_FUZZER_USE_PASSTHROUGH_CMD_DECODER", |
| 445 ] |
| 446 |
| 447 deps = [ |
| 448 ":gpu", |
| 449 "//base", |
| 450 "//base/third_party/dynamic_annotations", |
| 451 "//gpu/command_buffer/common:gles2_utils", |
| 452 "//ui/gfx/geometry", |
| 453 "//ui/gl", |
| 454 "//ui/gl:test_support", |
| 455 ] |
| 456 |
| 457 libfuzzer_options = [ "max_len=16384" ] |
| 458 } |
| 436 } | 459 } |
| OLD | NEW |