| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'nacl_win64_target': 0, | 7 'nacl_win64_target': 0, |
| 8 'build_angle_deqp_tests%': 0, | 8 'build_angle_deqp_tests%': 0, |
| 9 }, | 9 }, |
| 10 'includes': [ | 10 'includes': [ |
| 11 'gpu_common.gypi', | 11 'gpu_common.gypi', |
| 12 ], | 12 ], |
| 13 'targets': [ | 13 'targets': [ |
| 14 { | 14 { |
| 15 # Library emulates GLES2 using command_buffers. | 15 # Library emulates GLES2 using command_buffers. |
| 16 # GN version: //gpu/command_buffer/client:gles2_implementation | 16 # GN version: //gpu/command_buffer/client:gles2_implementation |
| 17 'target_name': 'gles2_implementation', | 17 'target_name': 'gles2_implementation', |
| 18 'type': '<(component)', | 18 'type': '<(component)', |
| 19 'dependencies': [ | 19 'dependencies': [ |
| 20 '../base/base.gyp:base', | 20 '../base/base.gyp:base', |
| 21 '../third_party/khronos/khronos.gyp:khronos_headers', | 21 '../third_party/khronos/khronos.gyp:khronos_headers', |
| 22 '../ui/gfx/gfx.gyp:gfx_geometry', | 22 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 23 '../ui/gl/gl.gyp:gl', | 23 '../ui/gl/gl.gyp:gl', |
| 24 '../ui/gl/init/gl_init.gyp:gl_init', |
| 24 'command_buffer/command_buffer.gyp:gles2_utils', | 25 'command_buffer/command_buffer.gyp:gles2_utils', |
| 25 'gles2_cmd_helper', | 26 'gles2_cmd_helper', |
| 26 ], | 27 ], |
| 27 'defines': [ | 28 'defines': [ |
| 28 'GLES2_IMPL_IMPLEMENTATION', | 29 'GLES2_IMPL_IMPLEMENTATION', |
| 29 ], | 30 ], |
| 30 'sources': [ | 31 'sources': [ |
| 31 '<@(gles2_implementation_source_files)', | 32 '<@(gles2_implementation_source_files)', |
| 32 ], | 33 ], |
| 33 'includes': [ | 34 'includes': [ |
| 34 # Disable LTO due to ELF section name out of range | 35 # Disable LTO due to ELF section name out of range |
| 35 # crbug.com/422251 | 36 # crbug.com/422251 |
| 36 '../build/android/disable_gcc_lto.gypi', | 37 '../build/android/disable_gcc_lto.gypi', |
| 37 ], | 38 ], |
| 38 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 39 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 39 'msvs_disabled_warnings': [4267, ], | 40 'msvs_disabled_warnings': [4267, ], |
| 40 }, | 41 }, |
| 41 { | 42 { |
| 42 # GN version: //gpu/command_buffer/client:gl_in_process_context | 43 # GN version: //gpu/command_buffer/client:gl_in_process_context |
| 43 'target_name': 'gl_in_process_context', | 44 'target_name': 'gl_in_process_context', |
| 44 'type': '<(component)', | 45 'type': '<(component)', |
| 45 'dependencies': [ | 46 'dependencies': [ |
| 46 'command_buffer/command_buffer.gyp:gles2_utils', | 47 'command_buffer/command_buffer.gyp:gles2_utils', |
| 47 'gles2_implementation', | 48 'gles2_implementation', |
| 48 'gpu', | 49 'gpu', |
| 49 '../base/base.gyp:base', | 50 '../base/base.gyp:base', |
| 50 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 51 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 51 '../ui/gfx/gfx.gyp:gfx_geometry', | 52 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 52 '../ui/gl/gl.gyp:gl', | 53 '../ui/gl/gl.gyp:gl', |
| 54 '../ui/gl/init/gl_init.gyp:gl_init', |
| 53 ], | 55 ], |
| 54 'defines': [ | 56 'defines': [ |
| 55 'GL_IN_PROCESS_CONTEXT_IMPLEMENTATION', | 57 'GL_IN_PROCESS_CONTEXT_IMPLEMENTATION', |
| 56 ], | 58 ], |
| 57 'sources': [ | 59 'sources': [ |
| 58 'command_buffer/client/gl_in_process_context.cc', | 60 'command_buffer/client/gl_in_process_context.cc', |
| 59 'command_buffer/client/gl_in_process_context.h', | 61 'command_buffer/client/gl_in_process_context.h', |
| 60 'command_buffer/client/gl_in_process_context_export.h', | 62 'command_buffer/client/gl_in_process_context_export.h', |
| 61 ], | 63 ], |
| 62 }, | 64 }, |
| (...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 159 '../base/base.gyp:base', | 161 '../base/base.gyp:base', |
| 160 '../base/base.gyp:test_support_base', | 162 '../base/base.gyp:test_support_base', |
| 161 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 163 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 162 '../testing/gmock.gyp:gmock', | 164 '../testing/gmock.gyp:gmock', |
| 163 '../testing/gtest.gyp:gtest', | 165 '../testing/gtest.gyp:gtest', |
| 164 '<(angle_path)/src/angle.gyp:translator', | 166 '<(angle_path)/src/angle.gyp:translator', |
| 165 '../ui/gfx/gfx.gyp:gfx', | 167 '../ui/gfx/gfx.gyp:gfx', |
| 166 '../ui/gfx/gfx.gyp:gfx_geometry', | 168 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 167 '../ui/gfx/gfx.gyp:gfx_test_support', | 169 '../ui/gfx/gfx.gyp:gfx_test_support', |
| 168 '../ui/gl/gl.gyp:gl', | 170 '../ui/gl/gl.gyp:gl', |
| 171 '../ui/gl/init/gl_init.gyp:gl_init', |
| 169 '../ui/gl/gl.gyp:gl_test_support', | 172 '../ui/gl/gl.gyp:gl_test_support', |
| 170 'command_buffer/command_buffer.gyp:gles2_utils', | 173 'command_buffer/command_buffer.gyp:gles2_utils', |
| 171 'command_buffer_client', | 174 'command_buffer_client', |
| 172 'command_buffer_common', | 175 'command_buffer_common', |
| 173 'command_buffer_service', | 176 'command_buffer_service', |
| 174 'gpu', | 177 'gpu', |
| 175 'gpu_unittest_utils', | 178 'gpu_unittest_utils', |
| 176 'gl_in_process_context', | 179 'gl_in_process_context', |
| 177 'gles2_implementation', | 180 'gles2_implementation', |
| 178 'gles2_cmd_helper', | 181 'gles2_cmd_helper', |
| (...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 312 '../base/base.gyp:base', | 315 '../base/base.gyp:base', |
| 313 '../base/base.gyp:run_all_unittests', | 316 '../base/base.gyp:run_all_unittests', |
| 314 '../base/base.gyp:test_support_base', | 317 '../base/base.gyp:test_support_base', |
| 315 '../ipc/ipc.gyp:test_support_ipc', | 318 '../ipc/ipc.gyp:test_support_ipc', |
| 316 '../skia/skia.gyp:skia', | 319 '../skia/skia.gyp:skia', |
| 317 '../testing/gtest.gyp:gtest', | 320 '../testing/gtest.gyp:gtest', |
| 318 '../testing/gmock.gyp:gmock', | 321 '../testing/gmock.gyp:gmock', |
| 319 '../third_party/mesa/mesa.gyp:mesa_headers', | 322 '../third_party/mesa/mesa.gyp:mesa_headers', |
| 320 '../ui/gfx/gfx.gyp:gfx_test_support', | 323 '../ui/gfx/gfx.gyp:gfx_test_support', |
| 321 '../ui/gl/gl.gyp:gl', | 324 '../ui/gl/gl.gyp:gl', |
| 325 '../ui/gl/init/gl_init.gyp:gl_init', |
| 322 '../ui/gl/gl.gyp:gl_unittest_utils', | 326 '../ui/gl/gl.gyp:gl_unittest_utils', |
| 323 '../ui/gl/gl.gyp:gl_test_support', | 327 '../ui/gl/gl.gyp:gl_test_support', |
| 324 '../url/url.gyp:url_lib', | 328 '../url/url.gyp:url_lib', |
| 325 'command_buffer_common', | 329 'command_buffer_common', |
| 326 'command_buffer_service', | 330 'command_buffer_service', |
| 327 'gpu_config', | 331 'gpu_config', |
| 328 'gpu_ipc_common', | 332 'gpu_ipc_common', |
| 329 'gpu_ipc_service', | 333 'gpu_ipc_service', |
| 330 'gpu_ipc_service_test_support', | 334 'gpu_ipc_service_test_support', |
| 331 ], | 335 ], |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 364 'target_name': 'gpu_perftests', | 368 'target_name': 'gpu_perftests', |
| 365 'type': '<(gtest_target_type)', | 369 'type': '<(gtest_target_type)', |
| 366 'dependencies': [ | 370 'dependencies': [ |
| 367 '../base/base.gyp:base', | 371 '../base/base.gyp:base', |
| 368 '../base/base.gyp:test_support_base', | 372 '../base/base.gyp:test_support_base', |
| 369 '../testing/gmock.gyp:gmock', | 373 '../testing/gmock.gyp:gmock', |
| 370 '../testing/gtest.gyp:gtest', | 374 '../testing/gtest.gyp:gtest', |
| 371 '../testing/perf/perf_test.gyp:perf_test', | 375 '../testing/perf/perf_test.gyp:perf_test', |
| 372 '../ui/gfx/gfx.gyp:gfx_geometry', | 376 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 373 '../ui/gl/gl.gyp:gl', | 377 '../ui/gl/gl.gyp:gl', |
| 378 '../ui/gl/init/gl_init.gyp:gl_init', |
| 374 'command_buffer_service', | 379 'command_buffer_service', |
| 375 ], | 380 ], |
| 376 'sources': [ | 381 'sources': [ |
| 377 'perftests/measurements.cc', | 382 'perftests/measurements.cc', |
| 378 'perftests/run_all_tests.cc', | 383 'perftests/run_all_tests.cc', |
| 379 'perftests/texture_upload_perftest.cc', | 384 'perftests/texture_upload_perftest.cc', |
| 380 ], | 385 ], |
| 381 'conditions': [ | 386 'conditions': [ |
| 382 ['OS == "android"', | 387 ['OS == "android"', |
| 383 { | 388 { |
| (...skipping 12 matching lines...) Expand all Loading... |
| 396 '../base/base.gyp:base', | 401 '../base/base.gyp:base', |
| 397 '../base/base.gyp:test_support_base', | 402 '../base/base.gyp:test_support_base', |
| 398 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 403 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 399 '../testing/gmock.gyp:gmock', | 404 '../testing/gmock.gyp:gmock', |
| 400 '../testing/gtest.gyp:gtest', | 405 '../testing/gtest.gyp:gtest', |
| 401 '<(angle_path)/src/angle.gyp:translator', | 406 '<(angle_path)/src/angle.gyp:translator', |
| 402 '../ui/gfx/gfx.gyp:gfx', | 407 '../ui/gfx/gfx.gyp:gfx', |
| 403 '../ui/gfx/gfx.gyp:gfx_test_support', | 408 '../ui/gfx/gfx.gyp:gfx_test_support', |
| 404 '../ui/gfx/gfx.gyp:gfx_geometry', | 409 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 405 '../ui/gl/gl.gyp:gl', | 410 '../ui/gl/gl.gyp:gl', |
| 411 '../ui/gl/init/gl_init.gyp:gl_init', |
| 406 'command_buffer/command_buffer.gyp:gles2_utils', | 412 'command_buffer/command_buffer.gyp:gles2_utils', |
| 407 'command_buffer_client', | 413 'command_buffer_client', |
| 408 'command_buffer_common', | 414 'command_buffer_common', |
| 409 'command_buffer_service', | 415 'command_buffer_service', |
| 410 'gpu', | 416 'gpu', |
| 411 'gpu_unittest_utils', | 417 'gpu_unittest_utils', |
| 412 'gles2_implementation', | 418 'gles2_implementation', |
| 413 'gles2_cmd_helper', | 419 'gles2_cmd_helper', |
| 414 'gles2_c_lib', | 420 'gles2_c_lib', |
| 415 #'gl_unittests', | 421 #'gl_unittests', |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 514 { | 520 { |
| 515 # GN version: //gpu:command_buffer_gles2 | 521 # GN version: //gpu:command_buffer_gles2 |
| 516 'target_name': 'command_buffer_gles2', | 522 'target_name': 'command_buffer_gles2', |
| 517 'type': 'shared_library', | 523 'type': 'shared_library', |
| 518 'dependencies': [ | 524 'dependencies': [ |
| 519 '../base/base.gyp:base', | 525 '../base/base.gyp:base', |
| 520 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', | 526 '../gpu/command_buffer/command_buffer.gyp:gles2_utils', |
| 521 '../gpu/gpu.gyp:command_buffer_service', | 527 '../gpu/gpu.gyp:command_buffer_service', |
| 522 '../ui/gfx/gfx.gyp:gfx_geometry', | 528 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 523 '../ui/gl/gl.gyp:gl', | 529 '../ui/gl/gl.gyp:gl', |
| 530 '../ui/gl/init/gl_init.gyp:gl_init', |
| 524 'command_buffer/command_buffer.gyp:gles2_utils', | 531 'command_buffer/command_buffer.gyp:gles2_utils', |
| 525 'gles2_c_lib', | 532 'gles2_c_lib', |
| 526 'gles2_implementation', | 533 'gles2_implementation', |
| 527 ], | 534 ], |
| 528 'sources': [ | 535 'sources': [ |
| 529 # Note: sources list duplicated in GN build. | 536 # Note: sources list duplicated in GN build. |
| 530 # TODO(hendrikw): Move egl out of gles2_conform_support. | 537 # TODO(hendrikw): Move egl out of gles2_conform_support. |
| 531 'gles2_conform_support/egl/config.cc', | 538 'gles2_conform_support/egl/config.cc', |
| 532 'gles2_conform_support/egl/config.h', | 539 'gles2_conform_support/egl/config.h', |
| 533 'gles2_conform_support/egl/context.cc', | 540 'gles2_conform_support/egl/context.cc', |
| (...skipping 665 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1199 ], | 1206 ], |
| 1200 'sources': [ | 1207 'sources': [ |
| 1201 'gpu_unittests_apk.isolate', | 1208 'gpu_unittests_apk.isolate', |
| 1202 ], | 1209 ], |
| 1203 }, | 1210 }, |
| 1204 ], | 1211 ], |
| 1205 }, | 1212 }, |
| 1206 ], | 1213 ], |
| 1207 ], | 1214 ], |
| 1208 } | 1215 } |
| OLD | NEW |