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

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

Issue 7055003: Last gyp patch for cross-platform Unix support (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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) 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"', { 22 ['os_posix == 1 and OS != "mac"', {
23 'cflags': [ 23 'cflags': [
24 '-fPIC', 24 '-fPIC',
25 ], 25 ],
26 }], 26 }],
27 ], 27 ],
28 'defines': [ 28 'defines': [
29 # For Mesa 29 # For Mesa
30 'MAPI_GLAPI_CURRENT', 30 'MAPI_GLAPI_CURRENT',
31 ], 31 ],
32 }, 32 },
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 'MesaLib/src/mesa/drivers/common/driverfuncs.c', 545 'MesaLib/src/mesa/drivers/common/driverfuncs.c',
546 'MesaLib/src/mesa/drivers/common/driverfuncs.h', 546 'MesaLib/src/mesa/drivers/common/driverfuncs.h',
547 'MesaLib/src/mesa/drivers/common/meta.c', 547 'MesaLib/src/mesa/drivers/common/meta.c',
548 'MesaLib/src/mesa/drivers/common/meta.h', 548 'MesaLib/src/mesa/drivers/common/meta.h',
549 'MesaLib/src/mesa/drivers/osmesa/osmesa.c', 549 'MesaLib/src/mesa/drivers/osmesa/osmesa.c',
550 'MesaLib/src/mesa/drivers/osmesa/osmesa.def', 550 'MesaLib/src/mesa/drivers/osmesa/osmesa.def',
551 ], 551 ],
552 }, 552 },
553 ], 553 ],
554 } 554 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698