summaryrefslogtreecommitdiffstats
path: root/third_party/mesa
diff options
context:
space:
mode:
authortrchen@chromium.org <trchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-07 01:02:35 +0000
committertrchen@chromium.org <trchen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-09-07 01:02:35 +0000
commit36b819493f590c01aee23aea9ecf0a0f7d2135dc (patch)
tree618d2e7c615aaeb484ad9ea9e5f5eba49934d548 /third_party/mesa
parent76e9cc47a41f18c2a29398c0b894fadfa7dbf5f2 (diff)
downloadchromium_src-36b819493f590c01aee23aea9ecf0a0f7d2135dc.zip
chromium_src-36b819493f590c01aee23aea9ecf0a0f7d2135dc.tar.gz
chromium_src-36b819493f590c01aee23aea9ecf0a0f7d2135dc.tar.bz2
libosmesa.so should have static glapi linkage
Define _GLAPI_NO_EXPORTS for all platforms. BUG=286467 R=kbr@chromium.org Review URL: https://chromiumcodereview.appspot.com/23803008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@221844 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/mesa')
-rw-r--r--third_party/mesa/mesa.gyp4
1 files changed, 1 insertions, 3 deletions
diff --git a/third_party/mesa/mesa.gyp b/third_party/mesa/mesa.gyp
index 384a123..da12643 100644
--- a/third_party/mesa/mesa.gyp
+++ b/third_party/mesa/mesa.gyp
@@ -43,6 +43,7 @@
"HAVE_ALIAS",
"HAVE_MINCORE",
"HAVE_LIBUDEV",
+ "_GLAPI_NO_EXPORTS",
],
'conditions': [
['OS=="android"', {
@@ -78,9 +79,6 @@
'include_dirs': [
'src/include/c99',
],
- 'defines': [
- '_GLAPI_NO_EXPORTS',
- ],
}],
],
},