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

Unified Diff: third_party/mesa/BUILD.gn

Issue 303273009: gn fixes for ui/gl and mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: defines = ... Created 6 years, 7 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 | « gpu/config/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/mesa/BUILD.gn
diff --git a/third_party/mesa/BUILD.gn b/third_party/mesa/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..c0fe782b8a4e823ac73c674552ff739fb72e0120
--- /dev/null
+++ b/third_party/mesa/BUILD.gn
@@ -0,0 +1,16 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/ui.gni")
+
+config("mesa_headers_config") {
+ include_dirs = [ "src/include" ]
+ if (use_x11) {
+ defines = [ "MESA_EGL_NO_X11_HEADERS" ]
+ }
+}
+
+source_set("mesa_headers") {
+ direct_dependent_configs = [ ":mesa_headers_config" ]
+}
« no previous file with comments | « gpu/config/BUILD.gn ('k') | ui/gfx/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698