| 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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 103 | 103 |
| 104 static_library("test_support") { | 104 static_library("test_support") { |
| 105 testonly = true | 105 testonly = true |
| 106 sources = [ | 106 sources = [ |
| 107 "command_buffer/client/gles2_interface_stub.cc", | 107 "command_buffer/client/gles2_interface_stub.cc", |
| 108 "command_buffer/client/gles2_interface_stub.h", | 108 "command_buffer/client/gles2_interface_stub.h", |
| 109 "command_buffer/service/error_state_mock.cc", | 109 "command_buffer/service/error_state_mock.cc", |
| 110 "command_buffer/service/error_state_mock.h", | 110 "command_buffer/service/error_state_mock.h", |
| 111 "command_buffer/service/gles2_cmd_decoder_mock.cc", | 111 "command_buffer/service/gles2_cmd_decoder_mock.cc", |
| 112 "command_buffer/service/gles2_cmd_decoder_mock.h", | 112 "command_buffer/service/gles2_cmd_decoder_mock.h", |
| 113 "test_message_loop_type.h", | |
| 114 ] | 113 ] |
| 115 | 114 |
| 116 public_deps = [ | 115 public_deps = [ |
| 117 ":gpu", | 116 ":gpu", |
| 118 "//gpu/command_buffer/client:gles2_interface", | 117 "//gpu/command_buffer/client:gles2_interface", |
| 119 ] | 118 ] |
| 120 deps = [ | 119 deps = [ |
| 121 "//testing/gmock", | 120 "//testing/gmock", |
| 122 "//testing/gtest", | 121 "//testing/gtest", |
| 123 "//ui/gl:gl_unittest_utils", | 122 "//ui/gl:gl_unittest_utils", |
| 124 ] | 123 ] |
| 125 if (use_ozone) { | |
| 126 deps += [ "//ui/ozone" ] | |
| 127 } | |
| 128 } | 124 } |
| 129 | 125 |
| 130 test("gl_tests") { | 126 test("gl_tests") { |
| 131 sources = [ | 127 sources = [ |
| 132 "command_buffer/tests/compressed_texture_test.cc", | 128 "command_buffer/tests/compressed_texture_test.cc", |
| 133 "command_buffer/tests/es3_misc_functions_unittest.cc", | 129 "command_buffer/tests/es3_misc_functions_unittest.cc", |
| 134 "command_buffer/tests/gl_apply_screen_space_antialiasing_CHROMIUM_unittest.c
c", | 130 "command_buffer/tests/gl_apply_screen_space_antialiasing_CHROMIUM_unittest.c
c", |
| 135 "command_buffer/tests/gl_bgra_mipmap_unittest.cc", | 131 "command_buffer/tests/gl_bgra_mipmap_unittest.cc", |
| 136 "command_buffer/tests/gl_bind_uniform_location_unittest.cc", | 132 "command_buffer/tests/gl_bind_uniform_location_unittest.cc", |
| 137 "command_buffer/tests/gl_chromium_framebuffer_mixed_samples_unittest.cc", | 133 "command_buffer/tests/gl_chromium_framebuffer_mixed_samples_unittest.cc", |
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 453 "//base/third_party/dynamic_annotations", | 449 "//base/third_party/dynamic_annotations", |
| 454 "//gpu/command_buffer/common:gles2_utils", | 450 "//gpu/command_buffer/common:gles2_utils", |
| 455 "//ui/gfx/geometry", | 451 "//ui/gfx/geometry", |
| 456 "//ui/gl", | 452 "//ui/gl", |
| 457 "//ui/gl:test_support", | 453 "//ui/gl:test_support", |
| 458 ] | 454 ] |
| 459 | 455 |
| 460 libfuzzer_options = [ "max_len=16384" ] | 456 libfuzzer_options = [ "max_len=16384" ] |
| 461 } | 457 } |
| 462 } | 458 } |
| OLD | NEW |