diff options
author | mostynb@opera.com <mostynb@opera.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-26 15:07:43 +0000 |
---|---|---|
committer | mostynb@opera.com <mostynb@opera.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-07-26 15:07:43 +0000 |
commit | 47348e5a21fda63b246c1d9ab9581da5970f0a0e (patch) | |
tree | a1a79977d9eb6337ddd991180e5ccfa693dff047 /third_party/mesa/mesa.gyp | |
parent | e31e558ff3977234e6c78b019b846ff2850a1c6f (diff) | |
download | chromium_src-47348e5a21fda63b246c1d9ab9581da5970f0a0e.zip chromium_src-47348e5a21fda63b246c1d9ab9581da5970f0a0e.tar.gz chromium_src-47348e5a21fda63b246c1d9ab9581da5970f0a0e.tar.bz2 |
mesa should not to use X11 headers when use_x11==0
Mesa checks if MESA_EGL_NO_X11_HEADERS is defined before trying to
include X11 headers, we should set this if use_x11==0.
BUG=238755
Review URL: https://chromiumcodereview.appspot.com/20265003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@213918 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/mesa/mesa.gyp')
-rw-r--r-- | third_party/mesa/mesa.gyp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/mesa/mesa.gyp b/third_party/mesa/mesa.gyp index a9e884e..67daf52 100644 --- a/third_party/mesa/mesa.gyp +++ b/third_party/mesa/mesa.gyp @@ -103,6 +103,15 @@ '-Wno-unknown-pragmas', ], }, + 'conditions': [ + ['use_x11==0', { + 'direct_dependent_settings': { + 'defines': [ + 'MESA_EGL_NO_X11_HEADERS', + ], + }, + }], + ], }, { 'target_name': 'mesa_libglslcommon', |