| 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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 175 "command_buffer/tests/gl_stream_draw_unittest.cc", | 175 "command_buffer/tests/gl_stream_draw_unittest.cc", |
| 176 "command_buffer/tests/gl_test_utils.cc", | 176 "command_buffer/tests/gl_test_utils.cc", |
| 177 "command_buffer/tests/gl_test_utils.h", | 177 "command_buffer/tests/gl_test_utils.h", |
| 178 "command_buffer/tests/gl_tests_main.cc", | 178 "command_buffer/tests/gl_tests_main.cc", |
| 179 "command_buffer/tests/gl_texture_mailbox_unittest.cc", | 179 "command_buffer/tests/gl_texture_mailbox_unittest.cc", |
| 180 "command_buffer/tests/gl_texture_storage_unittest.cc", | 180 "command_buffer/tests/gl_texture_storage_unittest.cc", |
| 181 "command_buffer/tests/gl_unittest.cc", | 181 "command_buffer/tests/gl_unittest.cc", |
| 182 "command_buffer/tests/gl_unittests_android.cc", | 182 "command_buffer/tests/gl_unittests_android.cc", |
| 183 "command_buffer/tests/gl_virtual_contexts_unittest.cc", | 183 "command_buffer/tests/gl_virtual_contexts_unittest.cc", |
| 184 "command_buffer/tests/occlusion_query_unittest.cc", | 184 "command_buffer/tests/occlusion_query_unittest.cc", |
| 185 "ipc/client/gpu_context_tests.h", |
| 186 "ipc/client/gpu_in_process_context_tests.cc", |
| 185 ] | 187 ] |
| 186 | 188 |
| 187 defines = [ "GL_GLEXT_PROTOTYPES" ] | 189 defines = [ "GL_GLEXT_PROTOTYPES" ] |
| 188 | 190 |
| 189 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] | 191 configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 190 | 192 |
| 191 deps = [ | 193 deps = [ |
| 192 ":gpu", | 194 ":gpu", |
| 193 ":test_support", | 195 ":test_support", |
| 194 "//base", | 196 "//base", |
| 195 "//base/test:test_support", | 197 "//base/test:test_support", |
| 196 "//base/third_party/dynamic_annotations", | 198 "//base/third_party/dynamic_annotations", |
| 199 "//gpu/command_buffer/client:gl_in_process_context", |
| 197 "//gpu/command_buffer/client:gles2_c_lib", | 200 "//gpu/command_buffer/client:gles2_c_lib", |
| 198 "//gpu/command_buffer/client:gles2_implementation", | 201 "//gpu/command_buffer/client:gles2_implementation", |
| 199 "//gpu/command_buffer/common:gles2_utils", | 202 "//gpu/command_buffer/common:gles2_utils", |
| 200 "//testing/gmock", | 203 "//testing/gmock", |
| 201 "//testing/gtest", | 204 "//testing/gtest", |
| 202 "//third_party/angle:translator", | 205 "//third_party/angle:translator", |
| 203 "//ui/gfx", | 206 "//ui/gfx", |
| 204 "//ui/gfx:test_support", | 207 "//ui/gfx:test_support", |
| 205 "//ui/gfx/geometry", | 208 "//ui/gfx/geometry", |
| 206 "//ui/gl", | 209 "//ui/gl", |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 303 "config/gpu_control_list_version_info_unittest.cc", | 306 "config/gpu_control_list_version_info_unittest.cc", |
| 304 "config/gpu_driver_bug_list_unittest.cc", | 307 "config/gpu_driver_bug_list_unittest.cc", |
| 305 "config/gpu_info_collector_unittest.cc", | 308 "config/gpu_info_collector_unittest.cc", |
| 306 "config/gpu_info_unittest.cc", | 309 "config/gpu_info_unittest.cc", |
| 307 "config/gpu_test_config_unittest.cc", | 310 "config/gpu_test_config_unittest.cc", |
| 308 "config/gpu_test_expectations_parser_unittest.cc", | 311 "config/gpu_test_expectations_parser_unittest.cc", |
| 309 "config/gpu_util_unittest.cc", | 312 "config/gpu_util_unittest.cc", |
| 310 "ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc", | 313 "ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc", |
| 311 "ipc/client/gpu_memory_buffer_impl_test_template.h", | 314 "ipc/client/gpu_memory_buffer_impl_test_template.h", |
| 312 ] | 315 ] |
| 316 |
| 317 if (is_android) { |
| 318 sources += |
| 319 [ "ipc/client/gpu_memory_buffer_impl_surface_texture_unittest.cc" ] |
| 320 } |
| 321 |
| 313 if (is_mac) { | 322 if (is_mac) { |
| 314 sources += [ "ipc/client/gpu_memory_buffer_impl_io_surface_unittest.cc" ] | 323 sources += [ "ipc/client/gpu_memory_buffer_impl_io_surface_unittest.cc" ] |
| 315 } | 324 } |
| 316 | 325 |
| 317 configs += [ | 326 configs += [ |
| 318 "//build/config:precompiled_headers", | 327 "//build/config:precompiled_headers", |
| 319 | 328 |
| 320 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 329 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 321 "//build/config/compiler:no_size_t_to_int_warning", | 330 "//build/config/compiler:no_size_t_to_int_warning", |
| 322 ] | 331 ] |
| (...skipping 12 matching lines...) Expand all Loading... |
| 335 "//testing/gtest", | 344 "//testing/gtest", |
| 336 "//third_party/angle:translator", | 345 "//third_party/angle:translator", |
| 337 "//ui/gfx", | 346 "//ui/gfx", |
| 338 "//ui/gfx:test_support", | 347 "//ui/gfx:test_support", |
| 339 "//ui/gfx/geometry", | 348 "//ui/gfx/geometry", |
| 340 "//ui/gl", | 349 "//ui/gl", |
| 341 "//ui/gl:gl_unittest_utils", | 350 "//ui/gl:gl_unittest_utils", |
| 342 "//ui/gl:test_support", | 351 "//ui/gl:test_support", |
| 343 ] | 352 ] |
| 344 | 353 |
| 354 if (is_android) { |
| 355 deps += [ |
| 356 "//ui/android:ui_java", |
| 357 "//ui/gl:gl_jni_headers", |
| 358 ] |
| 359 } |
| 360 |
| 345 if (use_ozone) { | 361 if (use_ozone) { |
| 346 deps += [ "//ui/ozone" ] | 362 deps += [ "//ui/ozone" ] |
| 347 sources += | 363 sources += |
| 348 [ "ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap_unittest.cc" ] | 364 [ "ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap_unittest.cc" ] |
| 349 } | 365 } |
| 350 } | 366 } |
| 351 | 367 |
| 352 test("gpu_perftests") { | 368 test("gpu_perftests") { |
| 353 sources = [ | 369 sources = [ |
| 354 "perftests/measurements.cc", | 370 "perftests/measurements.cc", |
| 355 "perftests/run_all_tests.cc", | 371 "perftests/run_all_tests.cc", |
| 356 "perftests/texture_upload_perftest.cc", | 372 "perftests/texture_upload_perftest.cc", |
| 357 ] | 373 ] |
| 358 | 374 |
| 359 deps = [ | 375 deps = [ |
| 360 "//base", | 376 "//base", |
| 361 "//base/test:test_support", | 377 "//base/test:test_support", |
| 362 "//gpu/command_buffer/service", | 378 "//gpu/command_buffer/service", |
| 363 "//testing/gmock", | 379 "//testing/gmock", |
| 364 "//testing/gtest", | 380 "//testing/gtest", |
| 365 "//testing/perf", | 381 "//testing/perf", |
| 366 "//ui/gfx/geometry", | 382 "//ui/gfx/geometry", |
| 367 "//ui/gl", | 383 "//ui/gl", |
| 368 ] | 384 ] |
| 369 } | 385 } |
| OLD | NEW |