| 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 'chromium_code': 1, | 7 'chromium_code': 1, |
| 8 # These are defined here because we need to build this library twice. Once | 8 # These are defined here because we need to build this library twice. Once |
| 9 # with extra parameter checking. Once with no parameter checking to be 100% | 9 # with extra parameter checking. Once with no parameter checking to be 100% |
| 10 # OpenGL ES 2.0 compliant for the conformance tests. | 10 # OpenGL ES 2.0 compliant for the conformance tests. |
| 11 'gles2_c_lib_source_files': [ | 11 'gles2_c_lib_source_files': [ |
| 12 'command_buffer/client/gles2_c_lib.cc', | 12 'command_buffer/client/gles2_c_lib.cc', |
| 13 'command_buffer/client/gles2_c_lib_autogen.h', | 13 'command_buffer/client/gles2_c_lib_autogen.h', |
| 14 'command_buffer/client/gles2_c_lib_export.h', |
| 14 'command_buffer/client/gles2_lib.h', | 15 'command_buffer/client/gles2_lib.h', |
| 15 'command_buffer/client/gles2_lib.cc', | 16 'command_buffer/client/gles2_lib.cc', |
| 16 ], | 17 ], |
| 17 # These are defined here because we need to build this library twice. Once | 18 # These are defined here because we need to build this library twice. Once |
| 18 # with without support for client side arrays and once with for pepper and | 19 # with without support for client side arrays and once with for pepper and |
| 19 # the OpenGL ES 2.0 compliant for the conformance tests. | 20 # the OpenGL ES 2.0 compliant for the conformance tests. |
| 20 'gles2_implementation_source_files': [ | 21 'gles2_implementation_source_files': [ |
| 21 'command_buffer/client/gles2_implementation_autogen.h', | 22 'command_buffer/client/gles2_implementation_autogen.h', |
| 22 'command_buffer/client/gles2_implementation.cc', | 23 'command_buffer/client/gles2_implementation.cc', |
| 23 'command_buffer/client/gles2_implementation.h', | 24 'command_buffer/client/gles2_implementation.h', |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 ], | 135 ], |
| 135 }, | 136 }, |
| 136 'sources': [ | 137 'sources': [ |
| 137 '<@(gles2_implementation_source_files)', | 138 '<@(gles2_implementation_source_files)', |
| 138 ], | 139 ], |
| 139 }, | 140 }, |
| 140 { | 141 { |
| 141 # Stub to expose gles2_implemenation in C instead of C++. | 142 # Stub to expose gles2_implemenation in C instead of C++. |
| 142 # so GLES2 C programs can work with no changes. | 143 # so GLES2 C programs can work with no changes. |
| 143 'target_name': 'gles2_c_lib', | 144 'target_name': 'gles2_c_lib', |
| 144 'type': 'static_library', | 145 'type': '<(component)', |
| 145 'dependencies': [ | 146 'dependencies': [ |
| 146 '../base/base.gyp:base', | 147 '../base/base.gyp:base', |
| 148 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 147 'gles2_implementation', | 149 'gles2_implementation', |
| 148 ], | 150 ], |
| 151 'defines': [ |
| 152 'GLES2_C_LIB_IMPLEMENTATION', |
| 153 ], |
| 149 'sources': [ | 154 'sources': [ |
| 150 '<@(gles2_c_lib_source_files)', | 155 '<@(gles2_c_lib_source_files)', |
| 151 ], | 156 ], |
| 152 }, | 157 }, |
| 153 { | 158 { |
| 154 # Same as gles2_c_lib except with no parameter checking. Required for | 159 # Same as gles2_c_lib except with no parameter checking. Required for |
| 155 # OpenGL ES 2.0 conformance tests. | 160 # OpenGL ES 2.0 conformance tests. |
| 156 'target_name': 'gles2_c_lib_nocheck', | 161 'target_name': 'gles2_c_lib_nocheck', |
| 157 'type': 'static_library', | 162 'type': '<(component)', |
| 158 'defines': [ | 163 'defines': [ |
| 164 'GLES2_C_LIB_IMPLEMENTATION', |
| 159 'GLES2_CONFORMANCE_TESTS=1', | 165 'GLES2_CONFORMANCE_TESTS=1', |
| 160 ], | 166 ], |
| 161 'dependencies': [ | 167 'dependencies': [ |
| 168 '../base/base.gyp:base', |
| 169 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 162 'gles2_implementation_client_side_arrays_no_check', | 170 'gles2_implementation_client_side_arrays_no_check', |
| 163 ], | 171 ], |
| 164 'sources': [ | 172 'sources': [ |
| 165 '<@(gles2_c_lib_source_files)', | 173 '<@(gles2_c_lib_source_files)', |
| 166 ], | 174 ], |
| 167 }, | 175 }, |
| 168 { | 176 { |
| 169 'target_name': 'command_buffer_client', | 177 'target_name': 'command_buffer_client', |
| 170 'type': 'static_library', | 178 'type': 'static_library', |
| 171 'include_dirs': [ | 179 'include_dirs': [ |
| (...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 282 '../testing/gmock.gyp:gmock_main', | 290 '../testing/gmock.gyp:gmock_main', |
| 283 '../testing/gtest.gyp:gtest', | 291 '../testing/gtest.gyp:gtest', |
| 284 '../ui/gfx/gl/gl.gyp:gl', | 292 '../ui/gfx/gl/gl.gyp:gl', |
| 285 'command_buffer_client', | 293 'command_buffer_client', |
| 286 'command_buffer_common', | 294 'command_buffer_common', |
| 287 'command_buffer_service', | 295 'command_buffer_service', |
| 288 'gpu_unittest_utils', | 296 'gpu_unittest_utils', |
| 289 'gles2_implementation_client_side_arrays', | 297 'gles2_implementation_client_side_arrays', |
| 290 'gles2_cmd_helper', | 298 'gles2_cmd_helper', |
| 291 ], | 299 ], |
| 300 'defines': [ |
| 301 'GLES2_C_LIB_IMPLEMENTATION', |
| 302 ], |
| 292 'sources': [ | 303 'sources': [ |
| 293 '<@(gles2_c_lib_source_files)', | 304 '<@(gles2_c_lib_source_files)', |
| 294 'command_buffer/client/cmd_buffer_helper_test.cc', | 305 'command_buffer/client/cmd_buffer_helper_test.cc', |
| 295 'command_buffer/client/fenced_allocator_test.cc', | 306 'command_buffer/client/fenced_allocator_test.cc', |
| 296 'command_buffer/client/gles2_implementation_unittest.cc', | 307 'command_buffer/client/gles2_implementation_unittest.cc', |
| 297 'command_buffer/client/mapped_memory_unittest.cc', | 308 'command_buffer/client/mapped_memory_unittest.cc', |
| 298 'command_buffer/client/program_info_manager_unittest.cc', | 309 'command_buffer/client/program_info_manager_unittest.cc', |
| 299 'command_buffer/client/ring_buffer_test.cc', | 310 'command_buffer/client/ring_buffer_test.cc', |
| 300 'command_buffer/common/bitfield_helpers_test.cc', | 311 'command_buffer/common/bitfield_helpers_test.cc', |
| 301 'command_buffer/common/command_buffer_mock.cc', | 312 'command_buffer/common/command_buffer_mock.cc', |
| (...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 372 '..', | 383 '..', |
| 373 '<(DEPTH)/third_party/khronos', | 384 '<(DEPTH)/third_party/khronos', |
| 374 ], | 385 ], |
| 375 'sources': [ | 386 'sources': [ |
| 376 'ipc/gpu_command_buffer_traits.cc', | 387 'ipc/gpu_command_buffer_traits.cc', |
| 377 'ipc/gpu_command_buffer_traits.h', | 388 'ipc/gpu_command_buffer_traits.h', |
| 378 ], | 389 ], |
| 379 }, | 390 }, |
| 380 ], | 391 ], |
| 381 } | 392 } |
| OLD | NEW |