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

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 7 years, 2 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
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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after
75 'gl_image_ozone.cc', 75 'gl_image_ozone.cc',
76 'gl_image_shm.cc', 76 'gl_image_shm.cc',
77 'gl_image_shm.h', 77 'gl_image_shm.h',
78 'gl_image_stub.cc', 78 'gl_image_stub.cc',
79 'gl_image_stub.h', 79 'gl_image_stub.h',
80 'gl_image_win.cc', 80 'gl_image_win.cc',
81 'gl_image_x11.cc', 81 'gl_image_x11.cc',
82 'gl_implementation.cc', 82 'gl_implementation.cc',
83 'gl_implementation.h', 83 'gl_implementation.h',
84 'gl_implementation_android.cc', 84 'gl_implementation_android.cc',
85 'gl_implementation_linux.cc',
86 'gl_implementation_linux.h',
87 'gl_implementation_ozone.cc', 85 'gl_implementation_ozone.cc',
88 'gl_implementation_mac.cc', 86 'gl_implementation_mac.cc',
89 'gl_implementation_win.cc', 87 'gl_implementation_win.cc',
90 'gl_implementation_x11.cc', 88 'gl_implementation_x11.cc',
91 'gl_interface.cc', 89 'gl_interface.cc',
92 'gl_interface.h', 90 'gl_interface.h',
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',
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
186 'gl_context_egl.h', 184 'gl_context_egl.h',
187 'gl_surface_egl.cc', 185 'gl_surface_egl.cc',
188 'gl_surface_egl.h', 186 'gl_surface_egl.h',
189 'gl_egl_api_implementation.cc', 187 'gl_egl_api_implementation.cc',
190 'gl_egl_api_implementation.h', 188 'gl_egl_api_implementation.h',
191 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc', 189 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.cc',
192 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h', 190 '<(gl_binding_output_dir)/gl_bindings_autogen_egl.h',
193 ], 191 ],
194 'include_dirs': [ 192 'include_dirs': [
195 '<(DEPTH)/third_party/khronos', 193 '<(DEPTH)/third_party/khronos',
196 ], 194 ],
195 }],
196 ['OS in ("android", "linux", "openbsd", "freebsd")', {
197 'sources': [
198 'gl_implementation_osmesa.cc',
199 'gl_implementation_osmesa.h',
200 ],
197 }], 201 }],
198 ['use_x11 == 1', { 202 ['use_x11 == 1', {
199 'sources': [ 203 'sources': [
200 'gl_context_glx.cc', 204 'gl_context_glx.cc',
201 'gl_context_glx.h', 205 'gl_context_glx.h',
202 'gl_glx_api_implementation.cc', 206 'gl_glx_api_implementation.cc',
203 'gl_glx_api_implementation.h', 207 'gl_glx_api_implementation.h',
204 'gl_image_glx.cc', 208 'gl_image_glx.cc',
205 'gl_image_glx.h', 209 'gl_image_glx.h',
206 'gl_surface_glx.cc', 210 'gl_surface_glx.cc',
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
264 'sources': [ 268 'sources': [
265 'gl_image_egl.cc', 269 'gl_image_egl.cc',
266 'gl_image_egl.h', 270 'gl_image_egl.h',
267 ], 271 ],
268 'link_settings': { 272 'link_settings': {
269 'libraries': [ 273 'libraries': [
270 '-landroid', 274 '-landroid',
271 ], 275 ],
272 }, 276 },
273 'sources!': [ 277 'sources!': [
274 'gl_context_osmesa.cc',
275 'system_monitor_posix.cc', 278 'system_monitor_posix.cc',
276 ], 279 ],
277 'defines': [ 280 'defines': [
278 'GL_GLEXT_PROTOTYPES', 281 'GL_GLEXT_PROTOTYPES',
279 'EGL_EGLEXT_PROTOTYPES', 282 'EGL_EGLEXT_PROTOTYPES',
280 ], 283 ],
281 }], 284 }],
282 ['OS!="android"', { 285 ['OS!="android"', {
283 'sources/': [ ['exclude', '^android/'] ], 286 'sources/': [ ['exclude', '^android/'] ],
284 }], 287 }],
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
335 ], 338 ],
336 'variables': { 339 'variables': {
337 'jni_gen_package': 'ui/gl', 340 'jni_gen_package': 'ui/gl',
338 }, 341 },
339 'includes': [ '../../build/jni_generator.gypi' ], 342 'includes': [ '../../build/jni_generator.gypi' ],
340 }, 343 },
341 ], 344 ],
342 }], 345 }],
343 ], 346 ],
344 } 347 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698