| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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_lib.h', | 14 'command_buffer/client/gles2_lib.h', |
| 15 'command_buffer/client/gles2_lib.cc', | 15 'command_buffer/client/gles2_lib.cc', |
| 16 ], | 16 ], |
| 17 # These are defined here because we need to build this library twice. Once | 17 # 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 | 18 # with without support for client side arrays and once with for pepper and |
| 19 # the OpenGL ES 2.0 compliant for the conformance tests. | 19 # the OpenGL ES 2.0 compliant for the conformance tests. |
| 20 'gles2_implementation_source_files': [ | 20 'gles2_implementation_source_files': [ |
| 21 'command_buffer/client/gles2_implementation_autogen.h', | 21 'command_buffer/client/gles2_implementation_autogen.h', |
| 22 'command_buffer/client/gles2_implementation.cc', | 22 'command_buffer/client/gles2_implementation.cc', |
| 23 'command_buffer/client/gles2_implementation.h', | 23 'command_buffer/client/gles2_implementation.h', |
| 24 ] | 24 ] |
| 25 }, | 25 }, |
| 26 'targets': [ | 26 'targets': [ |
| 27 { | 27 { |
| 28 'target_name': 'gpu_common', |
| 29 'type': 'static_library', |
| 30 'dependencies': [ |
| 31 '../base/base.gyp:base', |
| 32 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dynamic
_annotations', |
| 33 ], |
| 34 'include_dirs': [ |
| 35 '..', |
| 36 ], |
| 37 'sources': [ |
| 38 'common/gpu_trace_event.cc', |
| 39 'common/gpu_trace_event.h', |
| 40 ], |
| 41 }, |
| 42 { |
| 28 'target_name': 'command_buffer_common', | 43 'target_name': 'command_buffer_common', |
| 29 'type': 'static_library', | 44 'type': 'static_library', |
| 30 'include_dirs': [ | 45 'include_dirs': [ |
| 31 '.', | 46 '.', |
| 32 ], | 47 ], |
| 33 'all_dependent_settings': { | 48 'all_dependent_settings': { |
| 34 'include_dirs': [ | 49 'include_dirs': [ |
| 35 '.', | 50 '.', |
| 36 ], | 51 ], |
| 37 }, | 52 }, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 'command_buffer/client/gles2_cmd_helper.cc', | 88 'command_buffer/client/gles2_cmd_helper.cc', |
| 74 'command_buffer/client/gles2_cmd_helper.h', | 89 'command_buffer/client/gles2_cmd_helper.h', |
| 75 'command_buffer/client/gles2_cmd_helper_autogen.h', | 90 'command_buffer/client/gles2_cmd_helper_autogen.h', |
| 76 ], | 91 ], |
| 77 }, | 92 }, |
| 78 { | 93 { |
| 79 # Library emulates GLES2 using command_buffers. | 94 # Library emulates GLES2 using command_buffers. |
| 80 'target_name': 'gles2_implementation', | 95 'target_name': 'gles2_implementation', |
| 81 'type': 'static_library', | 96 'type': 'static_library', |
| 82 'dependencies': [ | 97 'dependencies': [ |
| 83 '../base/base.gyp:base', | |
| 84 'gles2_cmd_helper', | 98 'gles2_cmd_helper', |
| 85 ], | 99 ], |
| 86 'all_dependent_settings': { | 100 'all_dependent_settings': { |
| 87 'include_dirs': [ | 101 'include_dirs': [ |
| 88 # For GLES2/gl2.h | 102 # For GLES2/gl2.h |
| 89 '.', | 103 '.', |
| 90 ], | 104 ], |
| 91 }, | 105 }, |
| 92 'sources': [ | 106 'sources': [ |
| 93 '<@(gles2_implementation_source_files)', | 107 '<@(gles2_implementation_source_files)', |
| (...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 'include_dirs': [ | 160 'include_dirs': [ |
| 147 '..', | 161 '..', |
| 148 ], | 162 ], |
| 149 'all_dependent_settings': { | 163 'all_dependent_settings': { |
| 150 'include_dirs': [ | 164 'include_dirs': [ |
| 151 '..', | 165 '..', |
| 152 ], | 166 ], |
| 153 }, | 167 }, |
| 154 'dependencies': [ | 168 'dependencies': [ |
| 155 'command_buffer_common', | 169 'command_buffer_common', |
| 170 'gpu_common', |
| 156 ], | 171 ], |
| 157 'sources': [ | 172 'sources': [ |
| 158 'command_buffer/client/cmd_buffer_helper.cc', | 173 'command_buffer/client/cmd_buffer_helper.cc', |
| 159 'command_buffer/client/cmd_buffer_helper.h', | 174 'command_buffer/client/cmd_buffer_helper.h', |
| 160 'command_buffer/client/fenced_allocator.cc', | 175 'command_buffer/client/fenced_allocator.cc', |
| 161 'command_buffer/client/fenced_allocator.h', | 176 'command_buffer/client/fenced_allocator.h', |
| 162 'command_buffer/client/mapped_memory.cc', | 177 'command_buffer/client/mapped_memory.cc', |
| 163 'command_buffer/client/mapped_memory.h', | 178 'command_buffer/client/mapped_memory.h', |
| 164 'command_buffer/client/ring_buffer.cc', | 179 'command_buffer/client/ring_buffer.cc', |
| 165 'command_buffer/client/ring_buffer.h', | 180 'command_buffer/client/ring_buffer.h', |
| 166 ], | 181 ], |
| 167 }, | 182 }, |
| 168 { | 183 { |
| 169 'target_name': 'command_buffer_service', | 184 'target_name': 'command_buffer_service', |
| 170 'type': 'static_library', | 185 'type': 'static_library', |
| 171 'include_dirs': [ | 186 'include_dirs': [ |
| 172 '..', | 187 '..', |
| 173 ], | 188 ], |
| 174 'all_dependent_settings': { | 189 'all_dependent_settings': { |
| 175 'include_dirs': [ | 190 'include_dirs': [ |
| 176 '..', | 191 '..', |
| 177 ], | 192 ], |
| 178 }, | 193 }, |
| 179 'dependencies': [ | 194 'dependencies': [ |
| 180 'command_buffer_common', | 195 'command_buffer_common', |
| 196 'gpu_common', |
| 181 '../base/base.gyp:base', | 197 '../base/base.gyp:base', |
| 182 '../ui/gfx/gl/gl.gyp:gl', | 198 '../ui/gfx/gl/gl.gyp:gl', |
| 183 '../ui/gfx/surface/surface.gyp:surface', | 199 '../ui/gfx/surface/surface.gyp:surface', |
| 184 '../ui/ui.gyp:ui_gfx', | 200 '../ui/ui.gyp:ui_gfx', |
| 185 '../third_party/angle/src/build_angle.gyp:translator_glsl', | 201 '../third_party/angle/src/build_angle.gyp:translator_glsl', |
| 186 ], | 202 ], |
| 187 'sources': [ | 203 'sources': [ |
| 188 'command_buffer/service/buffer_manager.h', | 204 'command_buffer/service/buffer_manager.h', |
| 189 'command_buffer/service/buffer_manager.cc', | 205 'command_buffer/service/buffer_manager.cc', |
| 190 'command_buffer/service/framebuffer_manager.h', | 206 'command_buffer/service/framebuffer_manager.h', |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 'type': 'executable', | 257 'type': 'executable', |
| 242 'dependencies': [ | 258 'dependencies': [ |
| 243 '../app/app.gyp:app_base', | 259 '../app/app.gyp:app_base', |
| 244 '../testing/gmock.gyp:gmock', | 260 '../testing/gmock.gyp:gmock', |
| 245 '../testing/gmock.gyp:gmock_main', | 261 '../testing/gmock.gyp:gmock_main', |
| 246 '../testing/gtest.gyp:gtest', | 262 '../testing/gtest.gyp:gtest', |
| 247 '../ui/gfx/gl/gl.gyp:gl', | 263 '../ui/gfx/gl/gl.gyp:gl', |
| 248 'command_buffer_client', | 264 'command_buffer_client', |
| 249 'command_buffer_common', | 265 'command_buffer_common', |
| 250 'command_buffer_service', | 266 'command_buffer_service', |
| 267 'gpu_common', |
| 251 'gpu_unittest_utils', | 268 'gpu_unittest_utils', |
| 252 'gles2_implementation_client_side_arrays', | 269 'gles2_implementation_client_side_arrays', |
| 253 'gles2_cmd_helper', | 270 'gles2_cmd_helper', |
| 254 ], | 271 ], |
| 255 'sources': [ | 272 'sources': [ |
| 256 '<@(gles2_c_lib_source_files)', | 273 '<@(gles2_c_lib_source_files)', |
| 257 'command_buffer/client/cmd_buffer_helper_test.cc', | 274 'command_buffer/client/cmd_buffer_helper_test.cc', |
| 258 'command_buffer/client/fenced_allocator_test.cc', | 275 'command_buffer/client/fenced_allocator_test.cc', |
| 259 'command_buffer/client/gles2_implementation_unittest.cc', | 276 'command_buffer/client/gles2_implementation_unittest.cc', |
| 260 'command_buffer/client/mapped_memory_unittest.cc', | 277 'command_buffer/client/mapped_memory_unittest.cc', |
| 261 'command_buffer/client/ring_buffer_test.cc', | 278 'command_buffer/client/ring_buffer_test.cc', |
| 262 'command_buffer/common/bitfield_helpers_test.cc', | 279 'command_buffer/common/bitfield_helpers_test.cc', |
| 263 'command_buffer/common/command_buffer_mock.cc', | 280 'command_buffer/common/command_buffer_mock.cc', |
| 264 'command_buffer/common/command_buffer_mock.h', | 281 'command_buffer/common/command_buffer_mock.h', |
| 265 'command_buffer/common/gles2_cmd_format_test.cc', | 282 'command_buffer/common/gles2_cmd_format_test.cc', |
| 266 'command_buffer/common/gles2_cmd_format_test_autogen.h', | 283 'command_buffer/common/gles2_cmd_format_test_autogen.h', |
| 267 'command_buffer/common/gles2_cmd_id_test.cc', | 284 'command_buffer/common/gles2_cmd_id_test.cc', |
| 268 'command_buffer/common/gles2_cmd_id_test_autogen.h', | 285 'command_buffer/common/gles2_cmd_id_test_autogen.h', |
| 286 'command_buffer/common/gles2_cmd_format_test.cc', |
| 287 'command_buffer/common/gles2_cmd_format_test_autogen.h', |
| 288 'command_buffer/common/gles2_cmd_id_test.cc', |
| 289 'command_buffer/common/gles2_cmd_id_test_autogen.h', |
| 290 'command_buffer/common/gles2_cmd_format_test.cc', |
| 291 'command_buffer/common/gles2_cmd_format_test_autogen.h', |
| 292 'command_buffer/common/gles2_cmd_id_test.cc', |
| 293 'command_buffer/common/gles2_cmd_id_test_autogen.h', |
| 269 'command_buffer/common/id_allocator_test.cc', | 294 'command_buffer/common/id_allocator_test.cc', |
| 270 'command_buffer/common/trace_event.h', | |
| 271 'command_buffer/common/unittest_main.cc', | 295 'command_buffer/common/unittest_main.cc', |
| 272 'command_buffer/service/buffer_manager_unittest.cc', | 296 'command_buffer/service/buffer_manager_unittest.cc', |
| 297 'command_buffer/service/context_group_unittest.cc', |
| 298 'command_buffer/service/cmd_parser_test.cc', |
| 273 'command_buffer/service/cmd_parser_test.cc', | 299 'command_buffer/service/cmd_parser_test.cc', |
| 274 'command_buffer/service/common_decoder_unittest.cc', | 300 'command_buffer/service/common_decoder_unittest.cc', |
| 275 'command_buffer/service/context_group_unittest.cc', | |
| 276 'command_buffer/service/feature_info_unittest.cc', | 301 'command_buffer/service/feature_info_unittest.cc', |
| 277 'command_buffer/service/framebuffer_manager_unittest.cc', | 302 'command_buffer/service/framebuffer_manager_unittest.cc', |
| 303 'command_buffer/service/gpu_scheduler_unittest.cc', |
| 304 'command_buffer/service/gles2_cmd_decoder_unittest_base.h', |
| 305 'command_buffer/service/gles2_cmd_decoder_unittest_base.cc', |
| 278 'command_buffer/service/gles2_cmd_decoder_unittest.cc', | 306 'command_buffer/service/gles2_cmd_decoder_unittest.cc', |
| 279 'command_buffer/service/gles2_cmd_decoder_unittest_1.cc', | 307 'command_buffer/service/gles2_cmd_decoder_unittest_1.cc', |
| 280 'command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h', | 308 'command_buffer/service/gles2_cmd_decoder_unittest_1_autogen.h', |
| 281 'command_buffer/service/gles2_cmd_decoder_unittest_2.cc', | 309 'command_buffer/service/gles2_cmd_decoder_unittest_2.cc', |
| 282 'command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h', | 310 'command_buffer/service/gles2_cmd_decoder_unittest_2_autogen.h', |
| 283 'command_buffer/service/gles2_cmd_decoder_unittest_3.cc', | 311 'command_buffer/service/gles2_cmd_decoder_unittest_3.cc', |
| 284 'command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h', | 312 'command_buffer/service/gles2_cmd_decoder_unittest_3_autogen.h', |
| 285 'command_buffer/service/gles2_cmd_decoder_unittest_base.cc', | |
| 286 'command_buffer/service/gles2_cmd_decoder_unittest_base.h', | |
| 287 'command_buffer/service/gpu_scheduler_unittest.cc', | |
| 288 'command_buffer/service/id_manager_unittest.cc', | 313 'command_buffer/service/id_manager_unittest.cc', |
| 289 'command_buffer/service/mocks.cc', | 314 'command_buffer/service/mocks.cc', |
| 290 'command_buffer/service/mocks.h', | 315 'command_buffer/service/mocks.h', |
| 291 'command_buffer/service/program_manager_unittest.cc', | 316 'command_buffer/service/program_manager_unittest.cc', |
| 292 'command_buffer/service/renderbuffer_manager_unittest.cc', | 317 'command_buffer/service/renderbuffer_manager_unittest.cc', |
| 293 'command_buffer/service/shader_manager_unittest.cc', | 318 'command_buffer/service/shader_manager_unittest.cc', |
| 294 'command_buffer/service/shader_translator_unittest.cc', | 319 'command_buffer/service/shader_translator_unittest.cc', |
| 320 'command_buffer/service/test_helper.h', |
| 295 'command_buffer/service/test_helper.cc', | 321 'command_buffer/service/test_helper.cc', |
| 296 'command_buffer/service/test_helper.h', | |
| 297 'command_buffer/service/texture_manager_unittest.cc', | 322 'command_buffer/service/texture_manager_unittest.cc', |
| 298 ], | 323 ], |
| 299 }, | 324 }, |
| 300 { | 325 { |
| 301 'target_name': 'gpu_unittest_utils', | 326 'target_name': 'gpu_unittest_utils', |
| 302 'type': 'static_library', | 327 'type': 'static_library', |
| 303 'dependencies': [ | 328 'dependencies': [ |
| 304 '../testing/gmock.gyp:gmock', | 329 '../testing/gmock.gyp:gmock', |
| 305 '../testing/gtest.gyp:gtest', | 330 '../testing/gtest.gyp:gtest', |
| 306 '../ui/gfx/gl/gl.gyp:gl', | 331 '../ui/gfx/gl/gl.gyp:gl', |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 373 }, | 398 }, |
| 374 ], | 399 ], |
| 375 ], | 400 ], |
| 376 } | 401 } |
| 377 | 402 |
| 378 # Local Variables: | 403 # Local Variables: |
| 379 # tab-width:2 | 404 # tab-width:2 |
| 380 # indent-tabs-mode:nil | 405 # indent-tabs-mode:nil |
| 381 # End: | 406 # End: |
| 382 # vim: set expandtab tabstop=2 shiftwidth=2: | 407 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |