| 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 308 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 "ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc", | 319 "ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc", |
| 320 "ipc/client/gpu_memory_buffer_impl_test_template.h", | 320 "ipc/client/gpu_memory_buffer_impl_test_template.h", |
| 321 "ipc/common/struct_traits_unittest.cc", | 321 "ipc/common/struct_traits_unittest.cc", |
| 322 "ipc/host/shader_disk_cache_unittest.cc", | 322 "ipc/host/shader_disk_cache_unittest.cc", |
| 323 ] | 323 ] |
| 324 | 324 |
| 325 if (is_mac) { | 325 if (is_mac) { |
| 326 sources += [ "ipc/client/gpu_memory_buffer_impl_io_surface_unittest.cc" ] | 326 sources += [ "ipc/client/gpu_memory_buffer_impl_io_surface_unittest.cc" ] |
| 327 } | 327 } |
| 328 | 328 |
| 329 if (is_linux) { |
| 330 sources += [ "ipc/client/gpu_memory_buffer_impl_native_pixmap_unittest.cc" ] |
| 331 } |
| 332 |
| 329 configs += [ | 333 configs += [ |
| 330 "//build/config:precompiled_headers", | 334 "//build/config:precompiled_headers", |
| 331 | 335 |
| 332 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 336 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 333 "//build/config/compiler:no_size_t_to_int_warning", | 337 "//build/config/compiler:no_size_t_to_int_warning", |
| 334 ] | 338 ] |
| 335 | 339 |
| 336 deps = [ | 340 deps = [ |
| 337 ":gpu", | 341 ":gpu", |
| 338 ":test_support", | 342 ":test_support", |
| (...skipping 22 matching lines...) Expand all Loading... |
| 361 | 365 |
| 362 if (is_android) { | 366 if (is_android) { |
| 363 deps += [ | 367 deps += [ |
| 364 "//ui/android:ui_java", | 368 "//ui/android:ui_java", |
| 365 "//ui/gl:gl_jni_headers", | 369 "//ui/gl:gl_jni_headers", |
| 366 ] | 370 ] |
| 367 } | 371 } |
| 368 | 372 |
| 369 if (use_ozone) { | 373 if (use_ozone) { |
| 370 deps += [ "//ui/ozone" ] | 374 deps += [ "//ui/ozone" ] |
| 371 sources += | |
| 372 [ "ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap_unittest.cc" ] | |
| 373 } | 375 } |
| 374 } | 376 } |
| 375 | 377 |
| 376 test("gpu_perftests") { | 378 test("gpu_perftests") { |
| 377 sources = [ | 379 sources = [ |
| 378 "perftests/measurements.cc", | 380 "perftests/measurements.cc", |
| 379 "perftests/measurements.h", | 381 "perftests/measurements.h", |
| 380 "perftests/run_all_tests.cc", | 382 "perftests/run_all_tests.cc", |
| 381 "perftests/texture_upload_perftest.cc", | 383 "perftests/texture_upload_perftest.cc", |
| 382 ] | 384 ] |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 460 "//base/third_party/dynamic_annotations", | 462 "//base/third_party/dynamic_annotations", |
| 461 "//gpu/command_buffer/common:gles2_utils", | 463 "//gpu/command_buffer/common:gles2_utils", |
| 462 "//ui/gfx/geometry", | 464 "//ui/gfx/geometry", |
| 463 "//ui/gl", | 465 "//ui/gl", |
| 464 "//ui/gl:test_support", | 466 "//ui/gl:test_support", |
| 465 ] | 467 ] |
| 466 | 468 |
| 467 libfuzzer_options = [ "max_len=16384" ] | 469 libfuzzer_options = [ "max_len=16384" ] |
| 468 } | 470 } |
| 469 } | 471 } |
| OLD | NEW |