| 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', |
| 11 ], | 11 ], |
| 12 'targets': [ | 12 'targets': [ |
| 13 { | 13 { |
| 14 # Library emulates GLES2 using command_buffers. | 14 # Library emulates GLES2 using command_buffers. |
| 15 'target_name': 'gles2_implementation', | 15 'target_name': 'gles2_implementation', |
| 16 'type': '<(component)', | 16 'type': '<(component)', |
| 17 'dependencies': [ | 17 'dependencies': [ |
| 18 '../base/base.gyp:base', | 18 '../base/base.gyp:base', |
| 19 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 19 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 20 '../third_party/khronos/khronos.gyp:khronos_headers', | 20 '../third_party/khronos/khronos.gyp:khronos_headers', |
| 21 '../ui/gl/gl.gyp:gl', | 21 '../ui/gl/gl.gyp:gl', |
| 22 '../ui/gfx/gfx.gyp:gfx', | 22 '../ui/gfx/gfx.gyp:gfx', |
| 23 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 23 'command_buffer/command_buffer.gyp:gles2_utils', | 24 'command_buffer/command_buffer.gyp:gles2_utils', |
| 24 'gles2_cmd_helper', | 25 'gles2_cmd_helper', |
| 25 ], | 26 ], |
| 26 'defines': [ | 27 'defines': [ |
| 27 'GLES2_IMPL_IMPLEMENTATION', | 28 'GLES2_IMPL_IMPLEMENTATION', |
| 28 ], | 29 ], |
| 29 'sources': [ | 30 'sources': [ |
| 30 '<@(gles2_implementation_source_files)', | 31 '<@(gles2_implementation_source_files)', |
| 31 'command_buffer/client/gl_in_process_context.h', | 32 'command_buffer/client/gl_in_process_context.h', |
| 32 'command_buffer/client/gl_in_process_context.cc', | 33 'command_buffer/client/gl_in_process_context.cc', |
| 33 ], | 34 ], |
| 34 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 35 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 35 'msvs_disabled_warnings': [4267, ], | 36 'msvs_disabled_warnings': [4267, ], |
| 36 }, | 37 }, |
| 37 { | 38 { |
| 38 # Library emulates GLES2 using command_buffers. | 39 # Library emulates GLES2 using command_buffers. |
| 39 'target_name': 'gles2_implementation_client_side_arrays', | 40 'target_name': 'gles2_implementation_client_side_arrays', |
| 40 'type': '<(component)', | 41 'type': '<(component)', |
| 41 'defines': [ | 42 'defines': [ |
| 42 'GLES2_IMPL_IMPLEMENTATION', | 43 'GLES2_IMPL_IMPLEMENTATION', |
| 43 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', | 44 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', |
| 44 ], | 45 ], |
| 45 'dependencies': [ | 46 'dependencies': [ |
| 46 '../base/base.gyp:base', | 47 '../base/base.gyp:base', |
| 47 '../third_party/khronos/khronos.gyp:khronos_headers', | 48 '../third_party/khronos/khronos.gyp:khronos_headers', |
| 48 '../ui/gl/gl.gyp:gl', | 49 '../ui/gl/gl.gyp:gl', |
| 50 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 49 '../ui/gfx/gfx.gyp:gfx', | 51 '../ui/gfx/gfx.gyp:gfx', |
| 50 'command_buffer/command_buffer.gyp:gles2_utils', | 52 'command_buffer/command_buffer.gyp:gles2_utils', |
| 51 'gles2_cmd_helper', | 53 'gles2_cmd_helper', |
| 52 ], | 54 ], |
| 53 'sources': [ | 55 'sources': [ |
| 54 '<@(gles2_implementation_source_files)', | 56 '<@(gles2_implementation_source_files)', |
| 55 ], | 57 ], |
| 56 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 58 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 57 'msvs_disabled_warnings': [ 4267, ], | 59 'msvs_disabled_warnings': [ 4267, ], |
| 58 }, | 60 }, |
| 59 { | 61 { |
| 60 # Library emulates GLES2 using command_buffers. | 62 # Library emulates GLES2 using command_buffers. |
| 61 'target_name': 'gles2_implementation_client_side_arrays_no_check', | 63 'target_name': 'gles2_implementation_client_side_arrays_no_check', |
| 62 'type': '<(component)', | 64 'type': '<(component)', |
| 63 'defines': [ | 65 'defines': [ |
| 64 'GLES2_IMPL_IMPLEMENTATION', | 66 'GLES2_IMPL_IMPLEMENTATION', |
| 65 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', | 67 'GLES2_SUPPORT_CLIENT_SIDE_ARRAYS=1', |
| 66 'GLES2_CONFORMANCE_TESTS=1', | 68 'GLES2_CONFORMANCE_TESTS=1', |
| 67 ], | 69 ], |
| 68 'dependencies': [ | 70 'dependencies': [ |
| 69 '../base/base.gyp:base', | 71 '../base/base.gyp:base', |
| 70 '../third_party/khronos/khronos.gyp:khronos_headers', | 72 '../third_party/khronos/khronos.gyp:khronos_headers', |
| 71 '../ui/gfx/gfx.gyp:gfx', | 73 '../ui/gfx/gfx.gyp:gfx', |
| 74 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 72 'command_buffer/command_buffer.gyp:gles2_utils', | 75 'command_buffer/command_buffer.gyp:gles2_utils', |
| 73 'gles2_cmd_helper', | 76 'gles2_cmd_helper', |
| 74 ], | 77 ], |
| 75 'sources': [ | 78 'sources': [ |
| 76 '<@(gles2_implementation_source_files)', | 79 '<@(gles2_implementation_source_files)', |
| 77 ], | 80 ], |
| 78 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 81 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 79 'msvs_disabled_warnings': [ 4267, ], | 82 'msvs_disabled_warnings': [ 4267, ], |
| 80 }, | 83 }, |
| 81 { | 84 { |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 'type': '<(gtest_target_type)', | 155 'type': '<(gtest_target_type)', |
| 153 'dependencies': [ | 156 'dependencies': [ |
| 154 '../base/base.gyp:base', | 157 '../base/base.gyp:base', |
| 155 '../base/base.gyp:test_support_base', | 158 '../base/base.gyp:test_support_base', |
| 156 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 159 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 157 '../testing/gmock.gyp:gmock', | 160 '../testing/gmock.gyp:gmock', |
| 158 '../testing/gtest.gyp:gtest', | 161 '../testing/gtest.gyp:gtest', |
| 159 '<(angle_path)/src/build_angle.gyp:translator', | 162 '<(angle_path)/src/build_angle.gyp:translator', |
| 160 '../ui/gl/gl.gyp:gl', | 163 '../ui/gl/gl.gyp:gl', |
| 161 '../ui/gfx/gfx.gyp:gfx', | 164 '../ui/gfx/gfx.gyp:gfx', |
| 165 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 162 'command_buffer/command_buffer.gyp:gles2_utils', | 166 'command_buffer/command_buffer.gyp:gles2_utils', |
| 163 'command_buffer_client', | 167 'command_buffer_client', |
| 164 'command_buffer_common', | 168 'command_buffer_common', |
| 165 'command_buffer_service', | 169 'command_buffer_service', |
| 166 'gpu', | 170 'gpu', |
| 167 'gpu_unittest_utils', | 171 'gpu_unittest_utils', |
| 168 'gles2_implementation_client_side_arrays', | 172 'gles2_implementation_client_side_arrays', |
| 169 'gles2_cmd_helper', | 173 'gles2_cmd_helper', |
| 170 ], | 174 ], |
| 171 'defines': [ | 175 'defines': [ |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 275 { | 279 { |
| 276 'target_name': 'gl_tests', | 280 'target_name': 'gl_tests', |
| 277 'type': '<(gtest_target_type)', | 281 'type': '<(gtest_target_type)', |
| 278 'dependencies': [ | 282 'dependencies': [ |
| 279 '../base/base.gyp:base', | 283 '../base/base.gyp:base', |
| 280 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 284 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 281 '../testing/gmock.gyp:gmock', | 285 '../testing/gmock.gyp:gmock', |
| 282 '../testing/gtest.gyp:gtest', | 286 '../testing/gtest.gyp:gtest', |
| 283 '<(angle_path)/src/build_angle.gyp:translator', | 287 '<(angle_path)/src/build_angle.gyp:translator', |
| 284 '../ui/gfx/gfx.gyp:gfx', | 288 '../ui/gfx/gfx.gyp:gfx', |
| 289 '../ui/gfx/gfx.gyp:gfx_geometry', |
| 285 'command_buffer/command_buffer.gyp:gles2_utils', | 290 'command_buffer/command_buffer.gyp:gles2_utils', |
| 286 'command_buffer_client', | 291 'command_buffer_client', |
| 287 'command_buffer_common', | 292 'command_buffer_common', |
| 288 'command_buffer_service', | 293 'command_buffer_service', |
| 289 'gpu', | 294 'gpu', |
| 290 'gpu_unittest_utils', | 295 'gpu_unittest_utils', |
| 291 'gles2_implementation_client_side_arrays', | 296 'gles2_implementation_client_side_arrays', |
| 292 'gles2_cmd_helper', | 297 'gles2_cmd_helper', |
| 293 #'gl_unittests', | 298 #'gl_unittests', |
| 294 ], | 299 ], |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 572 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)gl_tests<
(SHARED_LIB_SUFFIX)', | 577 'input_shlib_path': '<(SHARED_LIB_DIR)/<(SHARED_LIB_PREFIX)gl_tests<
(SHARED_LIB_SUFFIX)', |
| 573 }, | 578 }, |
| 574 'includes': [ | 579 'includes': [ |
| 575 '../build/apk_test.gypi', | 580 '../build/apk_test.gypi', |
| 576 ], | 581 ], |
| 577 }, | 582 }, |
| 578 ], | 583 ], |
| 579 }], | 584 }], |
| 580 ], | 585 ], |
| 581 } | 586 } |
| OLD | NEW |