| 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 if (is_linux) { |
| 406 sources = [ | 406 fuzzer_test("gpu_fuzzer_angle") { |
| 407 "command_buffer/tests/fuzzer_main.cc", | 407 sources = [ |
| 408 ] | 408 "command_buffer/tests/fuzzer_main.cc", |
| 409 ] |
| 409 | 410 |
| 410 defines = [ "GPU_FUZZER_USE_ANGLE" ] | 411 defines = [ "GPU_FUZZER_USE_ANGLE" ] |
| 411 | 412 |
| 412 deps = [ | 413 deps = [ |
| 413 ":gpu", | 414 ":gpu", |
| 414 "//base", | 415 "//base", |
| 415 "//base/third_party/dynamic_annotations", | 416 "//base/third_party/dynamic_annotations", |
| 416 "//gpu/command_buffer/common:gles2_utils", | 417 "//gpu/command_buffer/common:gles2_utils", |
| 417 "//ui/gfx/geometry", | 418 "//ui/gfx/geometry", |
| 418 "//ui/gl", | 419 "//ui/gl", |
| 419 "//ui/gl:test_support", | 420 "//ui/gl:test_support", |
| 420 ] | 421 ] |
| 421 | 422 |
| 422 libfuzzer_options = [ "max_len=16384" ] | 423 libfuzzer_options = [ "max_len=16384" ] |
| 424 } |
| 423 } | 425 } |
| OLD | NEW |