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 want to be able to compile them on | 8 # These are defined here because we want to be able to compile them on |
9 # the buildbots without needed the OpenGL ES 2.0 conformance tests | 9 # the buildbots without needed the OpenGL ES 2.0 conformance tests |
10 # which are not open source. | 10 # which are not open source. |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 'egl_native', | 114 'egl_native', |
115 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 115 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
116 '../../gpu/gpu.gyp:gles2_c_lib_nocheck', | 116 '../../gpu/gpu.gyp:gles2_c_lib_nocheck', |
117 '../../third_party/expat/expat.gyp:expat', | 117 '../../third_party/expat/expat.gyp:expat', |
118 ], | 118 ], |
119 'conditions': [ | 119 'conditions': [ |
120 ['toolkit_uses_gtk == 1', { | 120 ['toolkit_uses_gtk == 1', { |
121 'dependencies': ['../../build/linux/system.gyp:gtk'], | 121 'dependencies': ['../../build/linux/system.gyp:gtk'], |
122 }], | 122 }], |
123 # See http://crbug.com/162998#c4 for why this is needed. | 123 # See http://crbug.com/162998#c4 for why this is needed. |
124 ['OS=="linux" and linux_use_tcmalloc==1', { | 124 # TODO(dmikurube): Kill linux_use_tcmalloc. http://crbug.com/345554 |
| 125 ['OS=="linux" and ((use_allocator!="none" and use_allocator!="see_use_tc
malloc") or (use_allocator=="see_use_tcmalloc" and linux_use_tcmalloc==1))', { |
125 'dependencies': [ | 126 'dependencies': [ |
126 '../../base/allocator/allocator.gyp:allocator', | 127 '../../base/allocator/allocator.gyp:allocator', |
127 ], | 128 ], |
128 }], | 129 }], |
129 ], | 130 ], |
130 'defines': [ | 131 'defines': [ |
131 'GLES2_CONFORM_SUPPORT_ONLY', | 132 'GLES2_CONFORM_SUPPORT_ONLY', |
132 'GTF_GLES20', | 133 'GTF_GLES20', |
133 'EGLAPI=', | 134 'EGLAPI=', |
134 'EGLAPIENTRY=', | 135 'EGLAPIENTRY=', |
135 ], | 136 ], |
136 'sources': [ | 137 'sources': [ |
137 '<@(bootstrap_sources_native)', | 138 '<@(bootstrap_sources_native)', |
138 'gles2_conform_support.c' | 139 'gles2_conform_support.c' |
139 ], | 140 ], |
140 }, | 141 }, |
141 ], | 142 ], |
142 } | 143 } |
OLD | NEW |