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

Side by Side Diff: ui/gl/gl.gyp

Issue 23868030: Make it possible to use OSMesa on Android (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 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 | « third_party/mesa/mesa.gyp ('k') | ui/gl/gl_context_android.cc » ('j') | 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) 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 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
77 'gl_image_ozone.cc', 77 'gl_image_ozone.cc',
78 'gl_image_shm.cc', 78 'gl_image_shm.cc',
79 'gl_image_shm.h', 79 'gl_image_shm.h',
80 'gl_image_stub.cc', 80 'gl_image_stub.cc',
81 'gl_image_stub.h', 81 'gl_image_stub.h',
82 'gl_image_win.cc', 82 'gl_image_win.cc',
83 'gl_image_x11.cc', 83 'gl_image_x11.cc',
84 'gl_implementation.cc', 84 'gl_implementation.cc',
85 'gl_implementation.h', 85 'gl_implementation.h',
86 'gl_implementation_android.cc', 86 'gl_implementation_android.cc',
87 'gl_implementation_linux.cc',
88 'gl_implementation_linux.h',
89 'gl_implementation_ozone.cc', 87 'gl_implementation_ozone.cc',
90 'gl_implementation_mac.cc', 88 'gl_implementation_mac.cc',
91 'gl_implementation_win.cc', 89 'gl_implementation_win.cc',
92 'gl_implementation_x11.cc', 90 'gl_implementation_x11.cc',
93 'gl_osmesa_api_implementation.cc', 91 'gl_osmesa_api_implementation.cc',
94 'gl_osmesa_api_implementation.h', 92 'gl_osmesa_api_implementation.h',
95 'gl_share_group.cc', 93 'gl_share_group.cc',
96 'gl_share_group.h', 94 'gl_share_group.h',
97 'gl_state_restorer.cc', 95 'gl_state_restorer.cc',
98 'gl_state_restorer.h', 96 'gl_state_restorer.h',
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
180 'gl_surface_egl.h', 178 'gl_surface_egl.h',
181 'gl_egl_api_implementation.cc', 179 'gl_egl_api_implementation.cc',
182 'gl_egl_api_implementation.h', 180 'gl_egl_api_implementation.h',
183 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', 181 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc',
184 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', 182 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h',
185 ], 183 ],
186 'include_dirs': [ 184 'include_dirs': [
187 '<(DEPTH)/third_party/khronos', 185 '<(DEPTH)/third_party/khronos',
188 ], 186 ],
189 }], 187 }],
188 ['OS in ("android", "linux")', {
189 'sources': [
190 'gl_implementation_osmesa.cc',
191 'gl_implementation_osmesa.h',
192 ],
193 }],
190 ['use_x11 == 1', { 194 ['use_x11 == 1', {
191 'sources': [ 195 'sources': [
192 'gl_context_glx.cc', 196 'gl_context_glx.cc',
193 'gl_context_glx.h', 197 'gl_context_glx.h',
194 'gl_glx_api_implementation.cc', 198 'gl_glx_api_implementation.cc',
195 'gl_glx_api_implementation.h', 199 'gl_glx_api_implementation.h',
196 'gl_image_glx.cc', 200 'gl_image_glx.cc',
197 'gl_image_glx.h', 201 'gl_image_glx.h',
198 'gl_surface_glx.cc', 202 'gl_surface_glx.cc',
199 'gl_surface_glx.h', 203 'gl_surface_glx.h',
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
270 'sources': [ 274 'sources': [
271 'gl_image_egl.cc', 275 'gl_image_egl.cc',
272 'gl_image_egl.h', 276 'gl_image_egl.h',
273 ], 277 ],
274 'link_settings': { 278 'link_settings': {
275 'libraries': [ 279 'libraries': [
276 '-landroid', 280 '-landroid',
277 ], 281 ],
278 }, 282 },
279 'sources!': [ 283 'sources!': [
280 'gl_context_osmesa.cc',
281 'system_monitor_posix.cc', 284 'system_monitor_posix.cc',
282 ], 285 ],
283 'defines': [ 286 'defines': [
284 'GL_GLEXT_PROTOTYPES', 287 'GL_GLEXT_PROTOTYPES',
285 'EGL_EGLEXT_PROTOTYPES', 288 'EGL_EGLEXT_PROTOTYPES',
286 ], 289 ],
287 }], 290 }],
288 ['OS!="android"', { 291 ['OS!="android"', {
289 'sources/': [ ['exclude', '^android/'] ], 292 'sources/': [ ['exclude', '^android/'] ],
290 }], 293 }],
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
350 'variables': { 353 'variables': {
351 'jni_gen_package': 'ui/gl', 354 'jni_gen_package': 'ui/gl',
352 'jni_generator_ptr_type': 'long', 355 'jni_generator_ptr_type': 'long',
353 }, 356 },
354 'includes': [ '../../build/jni_generator.gypi' ], 357 'includes': [ '../../build/jni_generator.gypi' ],
355 }, 358 },
356 ], 359 ],
357 }], 360 }],
358 ], 361 ],
359 } 362 }
OLDNEW
« no previous file with comments | « third_party/mesa/mesa.gyp ('k') | ui/gl/gl_context_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698