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