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

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

Issue 23803008: libosmesa.so should have static glapi linkage (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 3 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
« no previous file with comments | « no previous file | 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) 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
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
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
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 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698