| 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 # GYP-to-GN project mappings: | 5 # GYP-to-GN project mappings: |
| 6 # | 6 # |
| 7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client | 7 # gpu.gyp:command_buffer_client => //gpu/command_buffer/client |
| 8 # | 8 # |
| 9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common | 9 # gpu.gyp:command_buffer_common => //gpu/command_buffer/common |
| 10 # | 10 # |
| (...skipping 13 matching lines...) Expand all Loading... |
| 24 # | 24 # |
| 25 # gpu.gyp:gpu_ipc => //gpu/ipc | 25 # gpu.gyp:gpu_ipc => //gpu/ipc |
| 26 # | 26 # |
| 27 # gpu.gyp:disk_cache_proto => //gpu/command_buffer/service:disk_cache_proto | 27 # gpu.gyp:disk_cache_proto => //gpu/command_buffer/service:disk_cache_proto |
| 28 # | 28 # |
| 29 # command_buffer/command_buffer.gyp:gles2_utils => | 29 # command_buffer/command_buffer.gyp:gles2_utils => |
| 30 # //gpu/command_buffer/common:gles2_utils | 30 # //gpu/command_buffer/common:gles2_utils |
| 31 # | 31 # |
| 32 # gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings => //gpu/skia_bindings | 32 # gpu/skia_bindings/skia_bindings.gyp:gpu_skia_bindings => //gpu/skia_bindings |
| 33 | 33 |
| 34 import("//testing/libfuzzer/fuzzer_test.gni") |
| 34 import("//testing/test.gni") | 35 import("//testing/test.gni") |
| 35 import("//build/config/ui.gni") | 36 import("//build/config/ui.gni") |
| 36 | 37 |
| 37 config("gpu_implementation") { | 38 config("gpu_implementation") { |
| 38 defines = [ "GPU_IMPLEMENTATION" ] | 39 defines = [ "GPU_IMPLEMENTATION" ] |
| 39 } | 40 } |
| 40 | 41 |
| 41 component("gpu") { | 42 component("gpu") { |
| 42 public_deps = [ | 43 public_deps = [ |
| 43 "//gpu/command_buffer/client:client_sources", | 44 "//gpu/command_buffer/client:client_sources", |
| (...skipping 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 "//testing/gtest", | 399 "//testing/gtest", |
| 399 "//testing/perf", | 400 "//testing/perf", |
| 400 "//ui/gfx/geometry", | 401 "//ui/gfx/geometry", |
| 401 "//ui/gl", | 402 "//ui/gl", |
| 402 "//ui/gl/init", | 403 "//ui/gl/init", |
| 403 ] | 404 ] |
| 404 | 405 |
| 405 # This target should not require the Chrome executable to run. | 406 # This target should not require the Chrome executable to run. |
| 406 assert_no_deps = [ "//chrome" ] | 407 assert_no_deps = [ "//chrome" ] |
| 407 } | 408 } |
| 409 |
| 410 fuzzer_test("gpu_fuzzer") { |
| 411 sources = [ |
| 412 "command_buffer/tests/fuzzer_main.cc", |
| 413 ] |
| 414 |
| 415 deps = [ |
| 416 ":gpu", |
| 417 "//base", |
| 418 "//base/third_party/dynamic_annotations", |
| 419 "//gpu/command_buffer/common:gles2_utils", |
| 420 "//ui/gfx/geometry", |
| 421 "//ui/gl", |
| 422 "//ui/gl:test_support", |
| 423 ] |
| 424 |
| 425 libfuzzer_options = [ |
| 426 "max_len=16384", |
| 427 "use_traces=1", |
| 428 ] |
| 429 } |
| OLD | NEW |