Index: gpu/command_buffer/client/BUILD.gn |
diff --git a/gpu/command_buffer/client/BUILD.gn b/gpu/command_buffer/client/BUILD.gn |
index 01a90a3a2e3bb65baa177d7b61e7e1a0ac4b2ec3..f087d7e3d806dd74fd215a5cb5e4246edba36062 100644 |
--- a/gpu/command_buffer/client/BUILD.gn |
+++ b/gpu/command_buffer/client/BUILD.gn |
@@ -9,6 +9,8 @@ source_set("client") { |
"fenced_allocator.cc", |
"fenced_allocator.h", |
"gpu_control.h", |
+ "gpu_switches.cc", |
+ "gpu_switches.h", |
"mapped_memory.cc", |
"mapped_memory.h", |
"ring_buffer.cc", |
@@ -109,7 +111,7 @@ source_set("gles2_interface") { |
component("gles2_implementation") { |
sources = gles2_implementation_source_files |
- defines = [ "GLES2_IMPL_IMPLEMENTATION" ] |
+ defines = ["GLES2_IMPL_IMPLEMENTATION", "GPU_IMPLEMENTATION" ] |
jamesr
2014/09/26 22:46:18
this is not GPU_IMPLEMENTATION, it's a different c
DaveMoore
2014/09/26 22:52:07
Urp. I realized that and moved the files to the cl
|
all_dependent_configs = [ "//third_party/khronos:khronos_headers" ] |
if (is_win) { |
@@ -123,7 +125,6 @@ component("gles2_implementation") { |
"//base", |
"//gpu/command_buffer/common", |
"//ui/gfx/geometry", |
- "//ui/gl", |
] |
} |