| 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 352 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 363 "//base/test:test_support", | 363 "//base/test:test_support", |
| 364 "//gpu/command_buffer/service", | 364 "//gpu/command_buffer/service", |
| 365 "//testing/gmock", | 365 "//testing/gmock", |
| 366 "//testing/gtest", | 366 "//testing/gtest", |
| 367 "//testing/perf", | 367 "//testing/perf", |
| 368 "//ui/gfx/geometry", | 368 "//ui/gfx/geometry", |
| 369 "//ui/gl", | 369 "//ui/gl", |
| 370 "//ui/gl/init", | 370 "//ui/gl/init", |
| 371 ] | 371 ] |
| 372 | 372 |
| 373 data = [ |
| 374 # Needed for isolate script to execute. |
| 375 "//testing/scripts/common.py", |
| 376 "//testing/xvfb.py", |
| 377 "//testing/scripts/run_gtest_perf_test.py", |
| 378 "//tools/perf/generate_legacy_perf_dashboard_json.py", |
| 379 ] |
| 380 |
| 373 # This target should not require the Chrome executable to run. | 381 # This target should not require the Chrome executable to run. |
| 374 assert_no_deps = [ "//chrome" ] | 382 assert_no_deps = [ "//chrome" ] |
| 375 } | 383 } |
| 376 | 384 |
| 377 fuzzer_test("gpu_fuzzer") { | 385 fuzzer_test("gpu_fuzzer") { |
| 378 sources = [ | 386 sources = [ |
| 379 "command_buffer/tests/fuzzer_main.cc", | 387 "command_buffer/tests/fuzzer_main.cc", |
| 380 ] | 388 ] |
| 381 | 389 |
| 382 deps = [ | 390 deps = [ |
| 383 ":gpu", | 391 ":gpu", |
| 384 "//base", | 392 "//base", |
| 385 "//base/third_party/dynamic_annotations", | 393 "//base/third_party/dynamic_annotations", |
| 386 "//gpu/command_buffer/common:gles2_utils", | 394 "//gpu/command_buffer/common:gles2_utils", |
| 387 "//ui/gfx/geometry", | 395 "//ui/gfx/geometry", |
| 388 "//ui/gl", | 396 "//ui/gl", |
| 389 "//ui/gl:test_support", | 397 "//ui/gl:test_support", |
| 390 ] | 398 ] |
| 391 | 399 |
| 392 libfuzzer_options = [ | 400 libfuzzer_options = [ |
| 393 "max_len=16384", | 401 "max_len=16384", |
| 394 "use_traces=1", | 402 "use_traces=1", |
| 395 ] | 403 ] |
| 396 } | 404 } |
| OLD | NEW |