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 27 matching lines...) Expand all Loading... |
38 defines = [ "GPU_IMPLEMENTATION" ] | 38 defines = [ "GPU_IMPLEMENTATION" ] |
39 } | 39 } |
40 | 40 |
41 component("gpu") { | 41 component("gpu") { |
42 public_deps = [ | 42 public_deps = [ |
43 "//gpu/command_buffer/client:client_sources", | 43 "//gpu/command_buffer/client:client_sources", |
44 "//gpu/command_buffer/client:gles2_cmd_helper_sources", | 44 "//gpu/command_buffer/client:gles2_cmd_helper_sources", |
45 "//gpu/command_buffer/common:common_sources", | 45 "//gpu/command_buffer/common:common_sources", |
46 "//gpu/command_buffer/service:service_sources", | 46 "//gpu/command_buffer/service:service_sources", |
47 "//gpu/config:config_sources", | 47 "//gpu/config:config_sources", |
| 48 "//gpu/ipc/client:ipc_client_sources", |
48 "//gpu/ipc/common:ipc_common_sources", | 49 "//gpu/ipc/common:ipc_common_sources", |
49 ] | 50 ] |
50 } | 51 } |
51 | 52 |
52 # GYP version: //gpu/gpu.gyp:command_buffer_gles2 | 53 # GYP version: //gpu/gpu.gyp:command_buffer_gles2 |
53 shared_library("command_buffer_gles2") { | 54 shared_library("command_buffer_gles2") { |
54 sources = [ | 55 sources = [ |
55 # TODO(hendrikw): Move egl out of gles2_conform_support. | 56 # TODO(hendrikw): Move egl out of gles2_conform_support. |
56 "gles2_conform_support/egl/config.cc", | 57 "gles2_conform_support/egl/config.cc", |
57 "gles2_conform_support/egl/config.h", | 58 "gles2_conform_support/egl/config.h", |
(...skipping 242 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
300 "config/gpu_control_list_number_info_unittest.cc", | 301 "config/gpu_control_list_number_info_unittest.cc", |
301 "config/gpu_control_list_os_info_unittest.cc", | 302 "config/gpu_control_list_os_info_unittest.cc", |
302 "config/gpu_control_list_unittest.cc", | 303 "config/gpu_control_list_unittest.cc", |
303 "config/gpu_control_list_version_info_unittest.cc", | 304 "config/gpu_control_list_version_info_unittest.cc", |
304 "config/gpu_driver_bug_list_unittest.cc", | 305 "config/gpu_driver_bug_list_unittest.cc", |
305 "config/gpu_info_collector_unittest.cc", | 306 "config/gpu_info_collector_unittest.cc", |
306 "config/gpu_info_unittest.cc", | 307 "config/gpu_info_unittest.cc", |
307 "config/gpu_test_config_unittest.cc", | 308 "config/gpu_test_config_unittest.cc", |
308 "config/gpu_test_expectations_parser_unittest.cc", | 309 "config/gpu_test_expectations_parser_unittest.cc", |
309 "config/gpu_util_unittest.cc", | 310 "config/gpu_util_unittest.cc", |
| 311 "ipc/client/gpu_memory_buffer_impl_shared_memory_unittest.cc", |
| 312 "ipc/client/gpu_memory_buffer_impl_test_template.h", |
310 ] | 313 ] |
| 314 if (is_mac) { |
| 315 sources += [ "ipc/client/gpu_memory_buffer_impl_io_surface_unittest.cc" ] |
| 316 } |
| 317 if (use_ozone) { |
| 318 sources += |
| 319 [ "ipc/client/gpu_memory_buffer_impl_ozone_native_pixmap_unittest.cc" ] |
| 320 } |
311 | 321 |
312 configs += [ | 322 configs += [ |
313 "//build/config:precompiled_headers", | 323 "//build/config:precompiled_headers", |
314 | 324 |
315 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 325 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
316 "//build/config/compiler:no_size_t_to_int_warning", | 326 "//build/config/compiler:no_size_t_to_int_warning", |
317 ] | 327 ] |
318 | 328 |
319 deps = [ | 329 deps = [ |
320 ":gpu", | 330 ":gpu", |
321 ":test_support", | 331 ":test_support", |
322 "//base", | 332 "//base", |
323 "//base/test:test_support", | 333 "//base/test:test_support", |
324 "//base/third_party/dynamic_annotations", | 334 "//base/third_party/dynamic_annotations", |
| 335 "//gpu/command_buffer/client:gl_in_process_context", |
325 "//gpu/command_buffer/client:gles2_c_lib", | 336 "//gpu/command_buffer/client:gles2_c_lib", |
326 "//gpu/command_buffer/client:gles2_implementation", | 337 "//gpu/command_buffer/client:gles2_implementation", |
327 "//gpu/command_buffer/common:gles2_utils", | 338 "//gpu/command_buffer/common:gles2_utils", |
328 "//testing/gmock", | 339 "//testing/gmock", |
329 "//testing/gtest", | 340 "//testing/gtest", |
330 "//third_party/angle:translator", | 341 "//third_party/angle:translator", |
331 "//ui/gfx", | 342 "//ui/gfx", |
332 "//ui/gfx:test_support", | 343 "//ui/gfx:test_support", |
333 "//ui/gfx/geometry", | 344 "//ui/gfx/geometry", |
334 "//ui/gl", | 345 "//ui/gl", |
(...skipping 13 matching lines...) Expand all Loading... |
348 "//base", | 359 "//base", |
349 "//base/test:test_support", | 360 "//base/test:test_support", |
350 "//gpu/command_buffer/service", | 361 "//gpu/command_buffer/service", |
351 "//testing/gmock", | 362 "//testing/gmock", |
352 "//testing/gtest", | 363 "//testing/gtest", |
353 "//testing/perf", | 364 "//testing/perf", |
354 "//ui/gfx/geometry", | 365 "//ui/gfx/geometry", |
355 "//ui/gl", | 366 "//ui/gl", |
356 ] | 367 ] |
357 } | 368 } |
OLD | NEW |