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

Side by Side Diff: gpu/gpu.gyp

Issue 525109: linux: dynamically load libGL.so.1, and use glew to dynamically resolve symbols (Closed)
Patch Set: . Created 10 years, 11 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
« no previous file with comments | « gpu/command_buffer/service/x_utils.cc ('k') | third_party/glew/include/GL/glxew.h » ('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) 2009 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2009 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 # This is defined here because we need to compile this set of files 8 # This is defined here because we need to compile this set of files
9 # twice with different defines. Once so it calls real GL, again so it 9 # twice with different defines. Once so it calls real GL, again so it
10 # calls mock GL for the unit tests. 10 # calls mock GL for the unit tests.
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 [ 'OS=="linux"', 47 [ 'OS=="linux"',
48 { 48 {
49 'all_dependent_settings': { 49 'all_dependent_settings': {
50 'defines': [ 50 'defines': [
51 'GL_GLEXT_PROTOTYPES', 51 'GL_GLEXT_PROTOTYPES',
52 ], 52 ],
53 'ldflags': [ 53 'ldflags': [
54 '-L<(PRODUCT_DIR)', 54 '-L<(PRODUCT_DIR)',
55 ], 55 ],
56 'libraries': [ 56 'libraries': [
57 '-lGL',
58 '-lX11', 57 '-lX11',
59 ], 58 ],
60 }, 59 },
61 }, 60 },
62 ], 61 ],
63 [ 'OS=="mac"', 62 [ 'OS=="mac"',
64 { 63 {
65 'direct_dependent_settings': { 64 'direct_dependent_settings': {
66 'libraries': [ 65 'libraries': [
67 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', 66 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 ], 247 ],
249 'conditions': [ 248 'conditions': [
250 ['OS == "linux"', 249 ['OS == "linux"',
251 { 250 {
252 'sources': [ 251 'sources': [
253 'command_buffer/service/gpu_processor_linux.cc', 252 'command_buffer/service/gpu_processor_linux.cc',
254 'command_buffer/service/x_utils.cc', 253 'command_buffer/service/x_utils.cc',
255 'command_buffer/service/x_utils.h', 254 'command_buffer/service/x_utils.h',
256 ], 255 ],
257 'dependencies': [ 256 'dependencies': [
257 'gl_libs',
258 '../build/linux/system.gyp:gtk', 258 '../build/linux/system.gyp:gtk',
259 ] 259 ]
260 }, 260 },
261 ], 261 ],
262 ['OS == "win"', 262 ['OS == "win"',
263 { 263 {
264 'sources': [ 264 'sources': [
265 'command_buffer/service/gpu_processor_win.cc', 265 'command_buffer/service/gpu_processor_win.cc',
266 ], 266 ],
267 }, 267 },
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 }, 381 },
382 ], 382 ],
383 ], 383 ],
384 } 384 }
385 385
386 # Local Variables: 386 # Local Variables:
387 # tab-width:2 387 # tab-width:2
388 # indent-tabs-mode:nil 388 # indent-tabs-mode:nil
389 # End: 389 # End:
390 # vim: set expandtab tabstop=2 shiftwidth=2: 390 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « gpu/command_buffer/service/x_utils.cc ('k') | third_party/glew/include/GL/glxew.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698