Chromium Code Reviews

Side by Side Diff: third_party/mesa/mesa.gyp

Issue 4318005: Made OSMesa shared library position independent on linux.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 10 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
« no previous file with comments | « no previous file | tools/valgrind/gtest_exclude/ui_tests.gtest.txt » ('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) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 }, 7 },
8 'target_defaults': { 8 'target_defaults': {
9 'conditions': [ 9 'conditions': [
10 ['OS!="win"', { 10 ['OS!="win"', {
11 'defines': [ 11 'defines': [
12 # For talloc 12 # For talloc
13 'HAVE_VA_COPY', 13 'HAVE_VA_COPY',
14 ], 14 ],
15 }], 15 }],
16 ['OS!="mac"', { 16 ['OS!="mac"', {
17 'defines': [ 17 'defines': [
18 # For talloc 18 # For talloc
19 'HAVE_STRNLEN', 19 'HAVE_STRNLEN',
20 ], 20 ],
21 }], 21 }],
22 ['OS=="linux"', {
23 'cflags': [
24 '-fPIC',
25 ],
26 }],
22 ], 27 ],
23 'defines': [ 28 'defines': [
24 # For Mesa 29 # For Mesa
25 'MAPI_GLAPI_CURRENT', 30 'MAPI_GLAPI_CURRENT',
26 ], 31 ],
27 }, 32 },
28 'targets': [ 33 'targets': [
29 { 34 {
30 'target_name': 'mesa', 35 'target_name': 'mesa',
31 'type': 'static_library', 36 'type': 'static_library',
(...skipping 508 matching lines...)
540 'MesaLib/src/mesa/drivers/common/driverfuncs.c', 545 'MesaLib/src/mesa/drivers/common/driverfuncs.c',
541 'MesaLib/src/mesa/drivers/common/driverfuncs.h', 546 'MesaLib/src/mesa/drivers/common/driverfuncs.h',
542 'MesaLib/src/mesa/drivers/common/meta.c', 547 'MesaLib/src/mesa/drivers/common/meta.c',
543 'MesaLib/src/mesa/drivers/common/meta.h', 548 'MesaLib/src/mesa/drivers/common/meta.h',
544 'MesaLib/src/mesa/drivers/osmesa/osmesa.c', 549 'MesaLib/src/mesa/drivers/osmesa/osmesa.c',
545 'MesaLib/src/mesa/drivers/osmesa/osmesa.def', 550 'MesaLib/src/mesa/drivers/osmesa/osmesa.def',
546 ], 551 ],
547 }, 552 },
548 ], 553 ],
549 } 554 }
OLDNEW
« no previous file with comments | « no previous file | tools/valgrind/gtest_exclude/ui_tests.gtest.txt » ('j') | no next file with comments »

Powered by Google App Engine