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

Unified Diff: ui/gl/BUILD.gn

Issue 289953004: Add GPU command buffer sevice and protobuf to GN build (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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 | « ui/gfx/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/BUILD.gn
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
index f280f9ab371411085628c38a404b7e2ff050789b..04f652d87128aa17bde44d06263b6e6f8f5b7053 100644
--- a/ui/gl/BUILD.gn
+++ b/ui/gl/BUILD.gn
@@ -10,6 +10,10 @@ config("gl_config") {
if (use_x11) {
defines = [ "GL_GLEXT_PROTOTYPES" ]
}
+
+ # TODO(brettw) this should be removed and the the files using the generated
+ # GL bindings should use the path inside the gen directory.
+ include_dirs = [ gl_binding_output_dir ]
}
component("gl") {
@@ -239,6 +243,8 @@ component("gl") {
}
action("generate_gl_bindings") {
+ visibility = ":*" # Only targets in this file can see this.
+
script = "generate_bindings.py"
# TODO(brettw) make this dynamic. The GYP version calls "generate_bindings.py
« no previous file with comments | « ui/gfx/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698