From 47348e5a21fda63b246c1d9ab9581da5970f0a0e Mon Sep 17 00:00:00 2001 From: "mostynb@opera.com" Date: Fri, 26 Jul 2013 15:07:43 +0000 Subject: 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 --- third_party/mesa/mesa.gyp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'third_party/mesa/mesa.gyp') 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', -- cgit v1.1