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

Unified Diff: ui/gl/DEPS

Issue 476403002: Restrict usage of mesa headers to targets that really need them (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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 | « cc/cc.gyp ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/DEPS
diff --git a/ui/gl/DEPS b/ui/gl/DEPS
index 263169bb16b209afdb313987251bb234b722a3c1..e2ba0d1a62e54ec77e7baf30ddc56601ccd5f740 100644
--- a/ui/gl/DEPS
+++ b/ui/gl/DEPS
@@ -1,8 +1,15 @@
include_rules = [
"+third_party/khronos",
- "+third_party/mesa/src/include",
"+third_party/skia",
"+ui/events",
"+ui/gfx",
"+ui/ozone/public",
]
+
+specific_include_rules = {
+# This is the only target that should use the mesa headers, everything else
+# should use the headers from khronos.
piman 2014/08/16 00:18:06 That's kinda misleading... anything that uses gl_b
+ "gl_surface_osmesa.cc": [
+ "+third_party/mesa/src/include",
+ ]
+}
« no previous file with comments | « cc/cc.gyp ('k') | ui/gl/gl.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698