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

Unified Diff: third_party/mesa/mesa.gyp

Issue 20265003: mesa should not to use X11 headers when use_x11==0 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mesa/mesa.gyp
diff --git a/third_party/mesa/mesa.gyp b/third_party/mesa/mesa.gyp
index a9e884e6b07147667ea161710afac03bf7ae86c9..67daf5210aa9b8d3b8f78bbf479972377da48a9c 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',
« 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