Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(7)

Side by Side Diff: gpu/gpu.gyp

Issue 6282008: Fix to allow the gles2 conformance tests to run... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
9 # with extra parameter checking. Once with no parameter checking to be 100%
10 # OpenGL ES 2.0 compliant for the conformance tests.
11 'gles2_c_lib_source_files': [
12 'command_buffer/client/gles2_c_lib.h',
13 'command_buffer/client/gles2_c_lib.cc',
14 'command_buffer/client/gles2_c_lib_autogen.h',
15 ],
8 }, 16 },
9 'targets': [ 17 'targets': [
10 { 18 {
11 'target_name': 'command_buffer_common', 19 'target_name': 'command_buffer_common',
12 'type': 'static_library', 20 'type': 'static_library',
13 'include_dirs': [ 21 'include_dirs': [
14 '.', 22 '.',
15 ], 23 ],
16 'all_dependent_settings': { 24 'all_dependent_settings': {
17 'include_dirs': [ 25 'include_dirs': [
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 }, 94 },
87 { 95 {
88 # Stub to expose gles2_implemenation in C instead of C++. 96 # Stub to expose gles2_implemenation in C instead of C++.
89 # so GLES2 C programs can work with no changes. 97 # so GLES2 C programs can work with no changes.
90 'target_name': 'gles2_c_lib', 98 'target_name': 'gles2_c_lib',
91 'type': 'static_library', 99 'type': 'static_library',
92 'dependencies': [ 100 'dependencies': [
93 'gles2_lib', 101 'gles2_lib',
94 ], 102 ],
95 'sources': [ 103 'sources': [
96 'command_buffer/client/gles2_c_lib.h', 104 '<@(gles2_c_lib_source_files)',
97 'command_buffer/client/gles2_c_lib.cc', 105 ],
98 'command_buffer/client/gles2_c_lib_autogen.h', 106 },
107 {
108 # Same as gles2_c_lib except with no parameter checking. Required for
109 # OpenGL ES 2.0 conformance tests.
110 'target_name': 'gles2_c_lib_nocheck',
111 'type': 'static_library',
112 'defines': [
113 'GLES2_CONFORMANCE_TESTS=1',
114 ],
115 'dependencies': [
116 'gles2_lib',
117 ],
118 'sources': [
119 '<@(gles2_c_lib_source_files)',
99 ], 120 ],
100 }, 121 },
101 { 122 {
102 'target_name': 'command_buffer_client', 123 'target_name': 'command_buffer_client',
103 'type': 'static_library', 124 'type': 'static_library',
104 'dependencies': [ 125 'dependencies': [
105 'command_buffer_common', 126 'command_buffer_common',
106 ], 127 ],
107 'sources': [ 128 'sources': [
108 'command_buffer/client/cmd_buffer_helper.cc', 129 'command_buffer/client/cmd_buffer_helper.cc',
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after
339 }, 360 },
340 ], 361 ],
341 ], 362 ],
342 } 363 }
343 364
344 # Local Variables: 365 # Local Variables:
345 # tab-width:2 366 # tab-width:2
346 # indent-tabs-mode:nil 367 # indent-tabs-mode:nil
347 # End: 368 # End:
348 # vim: set expandtab tabstop=2 shiftwidth=2: 369 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gpu/command_buffer/client/gles2_c_lib.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698