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