OLD | NEW |
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...) Loading... |
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 } |
OLD | NEW |