| 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 }, | 8 }, |
| 9 'includes': [ | 9 'includes': [ |
| 10 'gpu_common.gypi', | 10 'gpu_common.gypi', |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 'GL_IN_PROCESS_CONTEXT_IMPLEMENTATION', | 54 'GL_IN_PROCESS_CONTEXT_IMPLEMENTATION', |
| 55 ], | 55 ], |
| 56 'sources': [ | 56 'sources': [ |
| 57 'command_buffer/client/gl_in_process_context.h', | 57 'command_buffer/client/gl_in_process_context.h', |
| 58 'command_buffer/client/gl_in_process_context.cc', | 58 'command_buffer/client/gl_in_process_context.cc', |
| 59 'command_buffer/client/gl_in_process_context_export.h', | 59 'command_buffer/client/gl_in_process_context_export.h', |
| 60 ], | 60 ], |
| 61 }, | 61 }, |
| 62 { | 62 { |
| 63 # Library emulates GLES2 using command_buffers. | 63 # Library emulates GLES2 using command_buffers. |
| 64 # GN version: //gpu/command_buffer/client:gles2_implementation_client_side
_arrays | 64 'target_name': 'gles2_implementation_no_check', |
| 65 'target_name': 'gles2_implementation_client_side_arrays', | |
| 66 'type': '<(component)', | 65 'type': '<(component)', |
| 67 'defines': [ | 66 'defines': [ |
| 68 'GLES2_IMPL_IMPLEMENTATION', | 67 'GLES2_IMPL_IMPLEMENTATION', |
| 69 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', | |
| 70 ], | |
| 71 'dependencies': [ | |
| 72 '../base/base.gyp:base', | |
| 73 '../third_party/khronos/khronos.gyp:khronos_headers', | |
| 74 '../ui/gl/gl.gyp:gl', | |
| 75 '../ui/gfx/gfx.gyp:gfx_geometry', | |
| 76 '../ui/gfx/gfx.gyp:gfx', | |
| 77 'command_buffer/command_buffer.gyp:gles2_utils', | |
| 78 'gles2_cmd_helper', | |
| 79 ], | |
| 80 'sources': [ | |
| 81 '<@(gles2_implementation_source_files)', | |
| 82 ], | |
| 83 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 84 'msvs_disabled_warnings': [ 4267, ], | |
| 85 }, | |
| 86 { | |
| 87 # Library emulates GLES2 using command_buffers. | |
| 88 'target_name': 'gles2_implementation_client_side_arrays_no_check', | |
| 89 'type': '<(component)', | |
| 90 'defines': [ | |
| 91 'GLES2_IMPL_IMPLEMENTATION', | |
| 92 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', | |
| 93 'GLES2_CONFORMANCE_TESTS=1', | 68 'GLES2_CONFORMANCE_TESTS=1', |
| 94 ], | 69 ], |
| 95 'dependencies': [ | 70 'dependencies': [ |
| 96 '../base/base.gyp:base', | 71 '../base/base.gyp:base', |
| 97 '../third_party/khronos/khronos.gyp:khronos_headers', | 72 '../third_party/khronos/khronos.gyp:khronos_headers', |
| 98 '../ui/gfx/gfx.gyp:gfx', | 73 '../ui/gfx/gfx.gyp:gfx', |
| 99 '../ui/gfx/gfx.gyp:gfx_geometry', | 74 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 100 'command_buffer/command_buffer.gyp:gles2_utils', | 75 'command_buffer/command_buffer.gyp:gles2_utils', |
| 101 'gles2_cmd_helper', | 76 'gles2_cmd_helper', |
| 102 ], | 77 ], |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 'type': '<(component)', | 109 'type': '<(component)', |
| 135 'defines': [ | 110 'defines': [ |
| 136 'GLES2_C_LIB_IMPLEMENTATION', | 111 'GLES2_C_LIB_IMPLEMENTATION', |
| 137 'GLES2_CONFORMANCE_TESTS=1', | 112 'GLES2_CONFORMANCE_TESTS=1', |
| 138 ], | 113 ], |
| 139 'dependencies': [ | 114 'dependencies': [ |
| 140 '../base/base.gyp:base', | 115 '../base/base.gyp:base', |
| 141 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 116 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 142 'command_buffer/command_buffer.gyp:gles2_utils', | 117 'command_buffer/command_buffer.gyp:gles2_utils', |
| 143 'command_buffer_client', | 118 'command_buffer_client', |
| 144 'gles2_implementation_client_side_arrays_no_check', | 119 'gles2_implementation_no_check', |
| 145 ], | 120 ], |
| 146 'sources': [ | 121 'sources': [ |
| 147 '<@(gles2_c_lib_source_files)', | 122 '<@(gles2_c_lib_source_files)', |
| 148 ], | 123 ], |
| 149 }, | 124 }, |
| 150 { | 125 { |
| 151 # GN version: //gpu:angle_unittests | 126 # GN version: //gpu:angle_unittests |
| 152 'target_name': 'angle_unittests', | 127 'target_name': 'angle_unittests', |
| 153 'type': '<(gtest_target_type)', | 128 'type': '<(gtest_target_type)', |
| 154 'dependencies': [ | 129 'dependencies': [ |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 190 '../ui/gl/gl.gyp:gl', | 165 '../ui/gl/gl.gyp:gl', |
| 191 '../ui/gfx/gfx.gyp:gfx', | 166 '../ui/gfx/gfx.gyp:gfx', |
| 192 '../ui/gfx/gfx.gyp:gfx_geometry', | 167 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 193 '../ui/gfx/gfx.gyp:gfx_test_support', | 168 '../ui/gfx/gfx.gyp:gfx_test_support', |
| 194 'command_buffer/command_buffer.gyp:gles2_utils', | 169 'command_buffer/command_buffer.gyp:gles2_utils', |
| 195 'command_buffer_client', | 170 'command_buffer_client', |
| 196 'command_buffer_common', | 171 'command_buffer_common', |
| 197 'command_buffer_service', | 172 'command_buffer_service', |
| 198 'gpu', | 173 'gpu', |
| 199 'gpu_unittest_utils', | 174 'gpu_unittest_utils', |
| 200 'gles2_implementation_client_side_arrays', | 175 'gles2_implementation', |
| 201 'gles2_cmd_helper', | 176 'gles2_cmd_helper', |
| 202 'gles2_c_lib', | 177 'gles2_c_lib', |
| 203 ], | 178 ], |
| 204 'sources': [ | 179 'sources': [ |
| 205 # Note: sources list duplicated in GN build. | 180 # Note: sources list duplicated in GN build. |
| 206 'command_buffer/client/buffer_tracker_unittest.cc', | 181 'command_buffer/client/buffer_tracker_unittest.cc', |
| 207 'command_buffer/client/client_test_helper.cc', | 182 'command_buffer/client/client_test_helper.cc', |
| 208 'command_buffer/client/client_test_helper.h', | 183 'command_buffer/client/client_test_helper.h', |
| 209 'command_buffer/client/cmd_buffer_helper_test.cc', | 184 'command_buffer/client/cmd_buffer_helper_test.cc', |
| 210 'command_buffer/client/fenced_allocator_test.cc', | 185 'command_buffer/client/fenced_allocator_test.cc', |
| (...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 322 '../ui/gfx/gfx.gyp:gfx', | 297 '../ui/gfx/gfx.gyp:gfx', |
| 323 '../ui/gfx/gfx.gyp:gfx_test_support', | 298 '../ui/gfx/gfx.gyp:gfx_test_support', |
| 324 '../ui/gfx/gfx.gyp:gfx_geometry', | 299 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 325 '../ui/gl/gl.gyp:gl', | 300 '../ui/gl/gl.gyp:gl', |
| 326 'command_buffer/command_buffer.gyp:gles2_utils', | 301 'command_buffer/command_buffer.gyp:gles2_utils', |
| 327 'command_buffer_client', | 302 'command_buffer_client', |
| 328 'command_buffer_common', | 303 'command_buffer_common', |
| 329 'command_buffer_service', | 304 'command_buffer_service', |
| 330 'gpu', | 305 'gpu', |
| 331 'gpu_unittest_utils', | 306 'gpu_unittest_utils', |
| 332 'gles2_implementation_client_side_arrays', | 307 'gles2_implementation', |
| 333 'gles2_cmd_helper', | 308 'gles2_cmd_helper', |
| 334 'gles2_c_lib', | 309 'gles2_c_lib', |
| 335 #'gl_unittests', | 310 #'gl_unittests', |
| 336 ], | 311 ], |
| 337 'defines': [ | 312 'defines': [ |
| 338 'GL_GLEXT_PROTOTYPES', | 313 'GL_GLEXT_PROTOTYPES', |
| 339 ], | 314 ], |
| 340 'sources': [ | 315 'sources': [ |
| 341 # Note: sources list duplicated in GN build. | 316 # Note: sources list duplicated in GN build. |
| 342 'command_buffer/tests/compressed_texture_test.cc', | 317 'command_buffer/tests/compressed_texture_test.cc', |
| (...skipping 330 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 673 ], | 648 ], |
| 674 'variables': { | 649 'variables': { |
| 675 'test_suite_name': 'gpu_unittests', | 650 'test_suite_name': 'gpu_unittests', |
| 676 }, | 651 }, |
| 677 'includes': [ '../build/apk_test.gypi' ], | 652 'includes': [ '../build/apk_test.gypi' ], |
| 678 }, | 653 }, |
| 679 ], | 654 ], |
| 680 }], | 655 }], |
| 681 ], | 656 ], |
| 682 } | 657 } |
| OLD | NEW |