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 |