Index: gpu/command_buffer/client/BUILD.gn |
diff --git a/gpu/command_buffer/client/BUILD.gn b/gpu/command_buffer/client/BUILD.gn |
index d3e9b425900a57f97f795450bb99764a6ddd9e61..1bb6df6a2be46279a6a05a3a121e075b2dcc3eb3 100644 |
--- a/gpu/command_buffer/client/BUILD.gn |
+++ b/gpu/command_buffer/client/BUILD.gn |
@@ -77,7 +77,6 @@ gles2_implementation_source_files = [ |
"gles2_implementation.cc", |
"gles2_implementation.h", |
"gles2_implementation_impl_autogen.h", |
- "gles2_interface.h", |
"gles2_trace_implementation_autogen.h", |
"gles2_trace_implementation.cc", |
"gles2_trace_implementation.h", |
@@ -95,6 +94,14 @@ gles2_implementation_source_files = [ |
"vertex_array_object_manager.h", |
] |
+source_set("gles2_interface") { |
brettw
2014/09/15 16:47:55
Can you add a comment here about what this target
jbroman
2014/09/15 20:20:41
Done.
|
+ sources = [ "gles2_interface.h" ] |
+ direct_dependent_configs = [ "//third_party/khronos:khronos_headers" ] |
+ deps = [ |
+ "//base", |
+ ] |
+} |
+ |
# Library emulates GLES2 using command_buffers. |
component("gles2_implementation") { |
sources = gles2_implementation_source_files |
@@ -109,6 +116,7 @@ component("gles2_implementation") { |
deps = [ |
":gles2_cmd_helper", |
+ ":gles2_interface", |
"//base", |
"//gpu/command_buffer/common", |
"//ui/gfx/geometry", |
@@ -133,6 +141,7 @@ component("gles2_implementation_client_side_arrays") { |
deps = [ |
":gles2_cmd_helper", |
+ ":gles2_interface", |
"//base", |
"//gpu/command_buffer/common", |
"//ui/gfx/geometry", |
@@ -171,6 +180,7 @@ component("gles2_c_lib") { |
deps = [ |
":client", |
+ ":gles2_interface", |
"//base", |
"//base/third_party/dynamic_annotations", |
"//gpu/command_buffer/common", |