OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'generated_src_dir': 'src/chromium_gensrc', | 7 'generated_src_dir': 'src/chromium_gensrc', |
8 }, | 8 }, |
9 'target_defaults': { | 9 'target_defaults': { |
10 'defines': [ | 10 'defines': [ |
(...skipping 25 matching lines...) Expand all Loading... |
36 #"USE_X86_64_ASM", | 36 #"USE_X86_64_ASM", |
37 "IN_DRI_DRIVER", | 37 "IN_DRI_DRIVER", |
38 "USE_XCB", | 38 "USE_XCB", |
39 "GLX_INDIRECT_RENDERING", | 39 "GLX_INDIRECT_RENDERING", |
40 "GLX_DIRECT_RENDERING", | 40 "GLX_DIRECT_RENDERING", |
41 "USE_EXTERNAL_DXTN_LIB=1", | 41 "USE_EXTERNAL_DXTN_LIB=1", |
42 "IN_DRI_DRIVER", | 42 "IN_DRI_DRIVER", |
43 "HAVE_ALIAS", | 43 "HAVE_ALIAS", |
44 "HAVE_MINCORE", | 44 "HAVE_MINCORE", |
45 "HAVE_LIBUDEV", | 45 "HAVE_LIBUDEV", |
| 46 "_GLAPI_NO_EXPORTS", |
46 ], | 47 ], |
47 'conditions': [ | 48 'conditions': [ |
48 ['OS=="android"', { | 49 ['OS=="android"', { |
49 'defines': [ | 50 'defines': [ |
50 '__GLIBC__', | 51 '__GLIBC__', |
51 '_GNU_SOURCE', | 52 '_GNU_SOURCE', |
52 ], | 53 ], |
53 }], | 54 }], |
54 ['OS=="linux"', { | 55 ['OS=="linux"', { |
55 'defines': [ | 56 'defines': [ |
(...skipping 15 matching lines...) Expand all Loading... |
71 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 72 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
72 'cflags': [ | 73 'cflags': [ |
73 '-fPIC', | 74 '-fPIC', |
74 ], | 75 ], |
75 }], | 76 }], |
76 ['OS=="win"', { | 77 ['OS=="win"', { |
77 # Pick up emulation headers not supported by Visual Studio. | 78 # Pick up emulation headers not supported by Visual Studio. |
78 'include_dirs': [ | 79 'include_dirs': [ |
79 'src/include/c99', | 80 'src/include/c99', |
80 ], | 81 ], |
81 'defines': [ | |
82 '_GLAPI_NO_EXPORTS', | |
83 ], | |
84 }], | 82 }], |
85 ], | 83 ], |
86 }, | 84 }, |
87 'targets': [ | 85 'targets': [ |
88 { | 86 { |
89 'target_name': 'mesa_headers', | 87 'target_name': 'mesa_headers', |
90 'type': 'none', | 88 'type': 'none', |
91 'direct_dependent_settings': { | 89 'direct_dependent_settings': { |
92 'include_dirs': [ | 90 'include_dirs': [ |
93 'src/include', | 91 'src/include', |
(...skipping 713 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
807 'src/src/mesa/drivers/common/driverfuncs.c', | 805 'src/src/mesa/drivers/common/driverfuncs.c', |
808 'src/src/mesa/drivers/common/driverfuncs.h', | 806 'src/src/mesa/drivers/common/driverfuncs.h', |
809 'src/src/mesa/drivers/common/meta.c', | 807 'src/src/mesa/drivers/common/meta.c', |
810 'src/src/mesa/drivers/common/meta.h', | 808 'src/src/mesa/drivers/common/meta.h', |
811 'src/src/mesa/drivers/osmesa/osmesa.c', | 809 'src/src/mesa/drivers/osmesa/osmesa.c', |
812 'src/src/mesa/drivers/osmesa/osmesa.def', | 810 'src/src/mesa/drivers/osmesa/osmesa.def', |
813 ], | 811 ], |
814 }, | 812 }, |
815 ], | 813 ], |
816 } | 814 } |
OLD | NEW |