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

Side by Side Diff: gpu/gpu.gyp

Issue 656014: Add '-ldl' to Linux targets that use dynamic loader functions. (Closed)
Patch Set: Created 10 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
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | 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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 { 55 {
56 'all_dependent_settings': { 56 'all_dependent_settings': {
57 'defines': [ 57 'defines': [
58 'GL_GLEXT_PROTOTYPES', 58 'GL_GLEXT_PROTOTYPES',
59 ], 59 ],
60 'ldflags': [ 60 'ldflags': [
61 '-L<(PRODUCT_DIR)', 61 '-L<(PRODUCT_DIR)',
62 ], 62 ],
63 'libraries': [ 63 'libraries': [
64 '-lX11', 64 '-lX11',
65 # For dlsym() in '../third_party/glew/src/glew.c'
66 '-ldl',
65 ], 67 ],
66 }, 68 },
67 }, 69 },
68 ], 70 ],
69 [ 'OS=="mac"', 71 [ 'OS=="mac"',
70 { 72 {
71 'direct_dependent_settings': { 73 'direct_dependent_settings': {
72 'libraries': [ 74 'libraries': [
73 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework', 75 '$(SDKROOT)/System/Library/Frameworks/OpenGL.framework',
74 ], 76 ],
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after
438 }, 440 },
439 ], 441 ],
440 ], 442 ],
441 } 443 }
442 444
443 # Local Variables: 445 # Local Variables:
444 # tab-width:2 446 # tab-width:2
445 # indent-tabs-mode:nil 447 # indent-tabs-mode:nil
446 # End: 448 # End:
447 # vim: set expandtab tabstop=2 shiftwidth=2: 449 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « chrome/chrome_browser.gypi ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698