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 }, | 8 }, |
9 | 9 |
10 'targets': [ | 10 'targets': [ |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 'gl_context_egl.h', | 140 'gl_context_egl.h', |
141 'gl_egl_api_implementation.cc', | 141 'gl_egl_api_implementation.cc', |
142 'gl_egl_api_implementation.h', | 142 'gl_egl_api_implementation.h', |
143 'gl_fence_egl.cc', | 143 'gl_fence_egl.cc', |
144 'gl_fence_egl.h', | 144 'gl_fence_egl.h', |
145 'gl_image_egl.cc', | 145 'gl_image_egl.cc', |
146 'gl_image_egl.h', | 146 'gl_image_egl.h', |
147 'gl_surface_egl.cc', | 147 'gl_surface_egl.cc', |
148 'gl_surface_egl.h', | 148 'gl_surface_egl.h', |
149 ], | 149 ], |
| 150 'all_dependent_settings': { |
| 151 'defines': [ |
| 152 'USE_EGL', |
| 153 ], |
| 154 }, |
| 155 'defines': [ |
| 156 'USE_EGL', |
| 157 ], |
150 'include_dirs': [ | 158 'include_dirs': [ |
151 '<(DEPTH)/third_party/khronos', | 159 '<(DEPTH)/third_party/khronos', |
152 ], | 160 ], |
153 }], | 161 }], |
154 ['OS in ("android", "linux")', { | 162 ['OS in ("android", "linux")', { |
155 'sources': [ | 163 'sources': [ |
156 'gl_implementation_osmesa.cc', | 164 'gl_implementation_osmesa.cc', |
157 'gl_implementation_osmesa.h', | 165 'gl_implementation_osmesa.h', |
158 ], | 166 ], |
159 }], | 167 }], |
(...skipping 10 matching lines...) Expand all Loading... |
170 'gl_image_glx.cc', | 178 'gl_image_glx.cc', |
171 'gl_image_glx.h', | 179 'gl_image_glx.h', |
172 'gl_surface_egl_x11.cc', | 180 'gl_surface_egl_x11.cc', |
173 'gl_surface_egl_x11.h', | 181 'gl_surface_egl_x11.h', |
174 'gl_surface_glx.cc', | 182 'gl_surface_glx.cc', |
175 'gl_surface_glx.h', | 183 'gl_surface_glx.h', |
176 ], | 184 ], |
177 'all_dependent_settings': { | 185 'all_dependent_settings': { |
178 'defines': [ | 186 'defines': [ |
179 'GL_GLEXT_PROTOTYPES', | 187 'GL_GLEXT_PROTOTYPES', |
| 188 'USE_GLX', |
180 ], | 189 ], |
181 }, | 190 }, |
| 191 'defines': [ |
| 192 'USE_GLX', |
| 193 ], |
182 'dependencies': [ | 194 'dependencies': [ |
183 '<(DEPTH)/build/linux/system.gyp:x11', | 195 '<(DEPTH)/build/linux/system.gyp:x11', |
184 '<(DEPTH)/build/linux/system.gyp:xcomposite', | 196 '<(DEPTH)/build/linux/system.gyp:xcomposite', |
185 '<(DEPTH)/build/linux/system.gyp:xext', | 197 '<(DEPTH)/build/linux/system.gyp:xext', |
186 '<(DEPTH)/ui/events/platform/events_platform.gyp:events_platform', | 198 '<(DEPTH)/ui/events/platform/events_platform.gyp:events_platform', |
187 '<(DEPTH)/ui/gfx/x/gfx_x11.gyp:gfx_x11', | 199 '<(DEPTH)/ui/gfx/x/gfx_x11.gyp:gfx_x11', |
188 ], | 200 ], |
189 'copies': [{ | 201 'copies': [{ |
190 'destination': '<(PRODUCT_DIR)', | 202 'destination': '<(PRODUCT_DIR)', |
191 'files': | 203 'files': |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
364 ], | 376 ], |
365 'variables': { | 377 'variables': { |
366 'jni_gen_package': 'ui/gl', | 378 'jni_gen_package': 'ui/gl', |
367 }, | 379 }, |
368 'includes': [ '../../build/jni_generator.gypi' ], | 380 'includes': [ '../../build/jni_generator.gypi' ], |
369 }, | 381 }, |
370 ], | 382 ], |
371 }], | 383 }], |
372 ], | 384 ], |
373 } | 385 } |
OLD | NEW |