| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 } | 101 } |
| 102 } | 102 } |
| 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/gles2_cmd_decoder_mock.cc", | 110 "command_buffer/service/gles2_cmd_decoder_mock.cc", |
| 111 "test_message_loop_type.h", |
| 111 ] | 112 ] |
| 112 | 113 |
| 113 public_deps = [ | 114 public_deps = [ |
| 114 ":gpu", | 115 ":gpu", |
| 115 "//gpu/command_buffer/client:gles2_interface", | 116 "//gpu/command_buffer/client:gles2_interface", |
| 116 ] | 117 ] |
| 117 deps = [ | 118 deps = [ |
| 118 "//testing/gmock", | 119 "//testing/gmock", |
| 119 "//testing/gtest", | 120 "//testing/gtest", |
| 120 "//ui/gl:gl_unittest_utils", | 121 "//ui/gl:gl_unittest_utils", |
| 121 ] | 122 ] |
| 123 if (use_ozone) { |
| 124 deps += [ "//ui/ozone" ] |
| 125 } |
| 122 } | 126 } |
| 123 | 127 |
| 124 test("gl_tests") { | 128 test("gl_tests") { |
| 125 sources = [ | 129 sources = [ |
| 126 "command_buffer/tests/compressed_texture_test.cc", | 130 "command_buffer/tests/compressed_texture_test.cc", |
| 127 "command_buffer/tests/es3_misc_functions_unittest.cc", | 131 "command_buffer/tests/es3_misc_functions_unittest.cc", |
| 128 "command_buffer/tests/gl_apply_screen_space_antialiasing_CHROMIUM_unittest.c
c", | 132 "command_buffer/tests/gl_apply_screen_space_antialiasing_CHROMIUM_unittest.c
c", |
| 129 "command_buffer/tests/gl_bgra_mipmap_unittest.cc", | 133 "command_buffer/tests/gl_bgra_mipmap_unittest.cc", |
| 130 "command_buffer/tests/gl_bind_uniform_location_unittest.cc", | 134 "command_buffer/tests/gl_bind_uniform_location_unittest.cc", |
| 131 "command_buffer/tests/gl_chromium_framebuffer_mixed_samples_unittest.cc", | 135 "command_buffer/tests/gl_chromium_framebuffer_mixed_samples_unittest.cc", |
| (...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 422 "//base/third_party/dynamic_annotations", | 426 "//base/third_party/dynamic_annotations", |
| 423 "//gpu/command_buffer/common:gles2_utils", | 427 "//gpu/command_buffer/common:gles2_utils", |
| 424 "//ui/gfx/geometry", | 428 "//ui/gfx/geometry", |
| 425 "//ui/gl", | 429 "//ui/gl", |
| 426 "//ui/gl:test_support", | 430 "//ui/gl:test_support", |
| 427 ] | 431 ] |
| 428 | 432 |
| 429 libfuzzer_options = [ "max_len=16384" ] | 433 libfuzzer_options = [ "max_len=16384" ] |
| 430 } | 434 } |
| 431 } | 435 } |
| OLD | NEW |