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 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
392 deps = [ | 392 deps = [ |
393 ":gpu", | 393 ":gpu", |
394 "//base", | 394 "//base", |
395 "//base/third_party/dynamic_annotations", | 395 "//base/third_party/dynamic_annotations", |
396 "//gpu/command_buffer/common:gles2_utils", | 396 "//gpu/command_buffer/common:gles2_utils", |
397 "//ui/gfx/geometry", | 397 "//ui/gfx/geometry", |
398 "//ui/gl", | 398 "//ui/gl", |
399 "//ui/gl:test_support", | 399 "//ui/gl:test_support", |
400 ] | 400 ] |
401 | 401 |
402 libfuzzer_options = [ | 402 libfuzzer_options = [ "max_len=16384" ] |
403 "max_len=16384", | 403 } |
404 "use_traces=1", | 404 |
| 405 fuzzer_test("gpu_fuzzer_angle") { |
| 406 sources = [ |
| 407 "command_buffer/tests/fuzzer_main.cc", |
405 ] | 408 ] |
| 409 |
| 410 defines = [ "GPU_FUZZER_USE_ANGLE" ] |
| 411 |
| 412 deps = [ |
| 413 ":gpu", |
| 414 "//base", |
| 415 "//base/third_party/dynamic_annotations", |
| 416 "//gpu/command_buffer/common:gles2_utils", |
| 417 "//ui/gfx/geometry", |
| 418 "//ui/gl", |
| 419 "//ui/gl:test_support", |
| 420 ] |
| 421 |
| 422 libfuzzer_options = [ "max_len=16384" ] |
406 } | 423 } |
OLD | NEW |