| 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" ] |
| 11 } | 11 } |
| 12 | 12 |
| 13 component("gpu") { | 13 component("gpu") { |
| 14 public_deps = [ | 14 public_deps = [ |
| 15 "//gpu/command_buffer/client:client_sources", | 15 "//gpu/command_buffer/client:client_sources", |
| 16 "//gpu/command_buffer/client:gles2_cmd_helper_sources", | 16 "//gpu/command_buffer/client:gles2_cmd_helper_sources", |
| 17 "//gpu/command_buffer/common:common_sources", | 17 "//gpu/command_buffer/common:common_sources", |
| 18 "//gpu/command_buffer/service:service_sources", | 18 "//gpu/command_buffer/service:service_sources", |
| 19 "//gpu/config:config_sources", | 19 "//gpu/config:config_sources", |
| 20 "//gpu/ipc:command_buffer_sources", |
| 20 "//gpu/ipc/client:ipc_client_sources", | 21 "//gpu/ipc/client:ipc_client_sources", |
| 21 "//gpu/ipc/common:ipc_common_sources", | 22 "//gpu/ipc/common:ipc_common_sources", |
| 22 "//gpu/ipc/service:ipc_service_sources", | 23 "//gpu/ipc/service:ipc_service_sources", |
| 23 ] | 24 ] |
| 24 } | 25 } |
| 25 | 26 |
| 26 shared_library("command_buffer_gles2") { | 27 shared_library("command_buffer_gles2") { |
| 27 sources = [ | 28 sources = [ |
| 28 # TODO(hendrikw): Move egl out of gles2_conform_support. | 29 # TODO(hendrikw): Move egl out of gles2_conform_support. |
| 29 "gles2_conform_support/egl/config.cc", | 30 "gles2_conform_support/egl/config.cc", |
| (...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 defines = [ "GL_GLEXT_PROTOTYPES" ] | 172 defines = [ "GL_GLEXT_PROTOTYPES" ] |
| 172 | 173 |
| 173 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 174 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 174 | 175 |
| 175 deps = [ | 176 deps = [ |
| 176 ":gpu", | 177 ":gpu", |
| 177 ":test_support", | 178 ":test_support", |
| 178 "//base", | 179 "//base", |
| 179 "//base/test:test_support", | 180 "//base/test:test_support", |
| 180 "//base/third_party/dynamic_annotations", | 181 "//base/third_party/dynamic_annotations", |
| 181 "//gpu/command_buffer/client:gl_in_process_context", | |
| 182 "//gpu/command_buffer/client:gles2_c_lib", | 182 "//gpu/command_buffer/client:gles2_c_lib", |
| 183 "//gpu/command_buffer/client:gles2_implementation", | 183 "//gpu/command_buffer/client:gles2_implementation", |
| 184 "//gpu/command_buffer/common:gles2_utils", | 184 "//gpu/command_buffer/common:gles2_utils", |
| 185 "//gpu/ipc:gl_in_process_context", |
| 185 "//testing/gmock", | 186 "//testing/gmock", |
| 186 "//testing/gtest", | 187 "//testing/gtest", |
| 187 "//third_party/angle:translator", | 188 "//third_party/angle:translator", |
| 188 "//ui/gfx", | 189 "//ui/gfx", |
| 189 "//ui/gfx:test_support", | 190 "//ui/gfx:test_support", |
| 190 "//ui/gfx/geometry", | 191 "//ui/gfx/geometry", |
| 191 "//ui/gl", | 192 "//ui/gl", |
| 192 ] | 193 ] |
| 193 | 194 |
| 194 libs = [] | 195 libs = [] |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 313 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 313 "//build/config/compiler:no_size_t_to_int_warning", | 314 "//build/config/compiler:no_size_t_to_int_warning", |
| 314 ] | 315 ] |
| 315 | 316 |
| 316 deps = [ | 317 deps = [ |
| 317 ":gpu", | 318 ":gpu", |
| 318 ":test_support", | 319 ":test_support", |
| 319 "//base", | 320 "//base", |
| 320 "//base/test:test_support", | 321 "//base/test:test_support", |
| 321 "//base/third_party/dynamic_annotations", | 322 "//base/third_party/dynamic_annotations", |
| 322 "//gpu/command_buffer/client:gl_in_process_context", | |
| 323 "//gpu/command_buffer/client:gles2_c_lib", | 323 "//gpu/command_buffer/client:gles2_c_lib", |
| 324 "//gpu/command_buffer/client:gles2_implementation", | 324 "//gpu/command_buffer/client:gles2_implementation", |
| 325 "//gpu/command_buffer/common:gles2_utils", | 325 "//gpu/command_buffer/common:gles2_utils", |
| 326 "//gpu/ipc:gl_in_process_context", |
| 326 "//gpu/ipc/common:test_interfaces", | 327 "//gpu/ipc/common:test_interfaces", |
| 327 "//mojo/edk/system", | 328 "//mojo/edk/system", |
| 328 "//mojo/public/cpp/bindings", | 329 "//mojo/public/cpp/bindings", |
| 329 "//testing/gmock", | 330 "//testing/gmock", |
| 330 "//testing/gtest", | 331 "//testing/gtest", |
| 331 "//third_party/angle:translator", | 332 "//third_party/angle:translator", |
| 332 "//ui/gfx", | 333 "//ui/gfx", |
| 333 "//ui/gfx:test_support", | 334 "//ui/gfx:test_support", |
| 334 "//ui/gfx/geometry", | 335 "//ui/gfx/geometry", |
| 335 "//ui/gl", | 336 "//ui/gl", |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 387 "//ui/gfx/geometry", | 388 "//ui/gfx/geometry", |
| 388 "//ui/gl", | 389 "//ui/gl", |
| 389 "//ui/gl:test_support", | 390 "//ui/gl:test_support", |
| 390 ] | 391 ] |
| 391 | 392 |
| 392 libfuzzer_options = [ | 393 libfuzzer_options = [ |
| 393 "max_len=16384", | 394 "max_len=16384", |
| 394 "use_traces=1", | 395 "use_traces=1", |
| 395 ] | 396 ] |
| 396 } | 397 } |
| OLD | NEW |