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