| 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 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # Library emulates GLES2 using command_buffers. | 8 # Library emulates GLES2 using command_buffers. |
| 9 'target_name': 'gles2_implementation', | 9 'target_name': 'gles2_implementation', |
| 10 'type': '<(component)', | 10 'type': '<(component)', |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 }, | 77 }, |
| 78 { | 78 { |
| 79 # Stub to expose gles2_implemenation in C instead of C++. | 79 # Stub to expose gles2_implemenation in C instead of C++. |
| 80 # so GLES2 C programs can work with no changes. | 80 # so GLES2 C programs can work with no changes. |
| 81 'target_name': 'gles2_c_lib', | 81 'target_name': 'gles2_c_lib', |
| 82 'type': '<(component)', | 82 'type': '<(component)', |
| 83 'dependencies': [ | 83 'dependencies': [ |
| 84 '../base/base.gyp:base', | 84 '../base/base.gyp:base', |
| 85 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 85 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 86 'command_buffer/command_buffer.gyp:gles2_utils', | 86 'command_buffer/command_buffer.gyp:gles2_utils', |
| 87 'command_buffer_client', |
| 87 'gles2_implementation', | 88 'gles2_implementation', |
| 88 ], | 89 ], |
| 89 'defines': [ | 90 'defines': [ |
| 90 'GLES2_C_LIB_IMPLEMENTATION', | 91 'GLES2_C_LIB_IMPLEMENTATION', |
| 91 ], | 92 ], |
| 92 'sources': [ | 93 'sources': [ |
| 93 '<@(gles2_c_lib_source_files)', | 94 '<@(gles2_c_lib_source_files)', |
| 94 ], | 95 ], |
| 95 }, | 96 }, |
| 96 { | 97 { |
| 97 # Same as gles2_c_lib except with no parameter checking. Required for | 98 # Same as gles2_c_lib except with no parameter checking. Required for |
| 98 # OpenGL ES 2.0 conformance tests. | 99 # OpenGL ES 2.0 conformance tests. |
| 99 'target_name': 'gles2_c_lib_nocheck', | 100 'target_name': 'gles2_c_lib_nocheck', |
| 100 'type': '<(component)', | 101 'type': '<(component)', |
| 101 'defines': [ | 102 'defines': [ |
| 102 'GLES2_C_LIB_IMPLEMENTATION', | 103 'GLES2_C_LIB_IMPLEMENTATION', |
| 103 'GLES2_CONFORMANCE_TESTS=1', | 104 'GLES2_CONFORMANCE_TESTS=1', |
| 104 ], | 105 ], |
| 105 'dependencies': [ | 106 'dependencies': [ |
| 106 '../base/base.gyp:base', | 107 '../base/base.gyp:base', |
| 107 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', | 108 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 108 'command_buffer/command_buffer.gyp:gles2_utils', | 109 'command_buffer/command_buffer.gyp:gles2_utils', |
| 110 'command_buffer_client', |
| 109 'gles2_implementation_client_side_arrays_no_check', | 111 'gles2_implementation_client_side_arrays_no_check', |
| 110 ], | 112 ], |
| 111 'sources': [ | 113 'sources': [ |
| 112 '<@(gles2_c_lib_source_files)', | 114 '<@(gles2_c_lib_source_files)', |
| 113 ], | 115 ], |
| 114 }, | 116 }, |
| 115 { | 117 { |
| 116 'target_name': 'gpu_unittests', | 118 'target_name': 'gpu_unittests', |
| 117 'type': 'executable', | 119 'type': 'executable', |
| 118 'dependencies': [ | 120 'dependencies': [ |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 203 ], | 205 ], |
| 204 'sources': [ | 206 'sources': [ |
| 205 'command_buffer/common/gl_mock.h', | 207 'command_buffer/common/gl_mock.h', |
| 206 'command_buffer/common/gl_mock.cc', | 208 'command_buffer/common/gl_mock.cc', |
| 207 'command_buffer/service/gles2_cmd_decoder_mock.cc', | 209 'command_buffer/service/gles2_cmd_decoder_mock.cc', |
| 208 'command_buffer/service/gles2_cmd_decoder_mock.cc', | 210 'command_buffer/service/gles2_cmd_decoder_mock.cc', |
| 209 ], | 211 ], |
| 210 }, | 212 }, |
| 211 ], | 213 ], |
| 212 } | 214 } |
| OLD | NEW |