Index: gpu/command_buffer/common/BUILD.gn |
diff --git a/gpu/command_buffer/common/BUILD.gn b/gpu/command_buffer/common/BUILD.gn |
index 5952a94e3fe4dcfc09e2470e2b062b7eead28427..e6d604a8ce00e13b2880ad50c470b651b01769e0 100644 |
--- a/gpu/command_buffer/common/BUILD.gn |
+++ b/gpu/command_buffer/common/BUILD.gn |
@@ -62,6 +62,20 @@ source_set("common_sources") { |
":gles2_utils", |
"//base", |
] |
+ |
+ # gpu_memory_buffer_support.cc includes //ui/gl/gl_bindings.h which doesn't |
+ # compile on nacl. |
piman
2016/04/04 20:49:10
Can you replace the include by <GLES2/gl2.h> and u
Peng
2016/04/04 20:54:35
gpu_memory_buffer_support.cc needs some chromium s
Peng
2016/04/06 14:28:54
Done.
|
+ if (!is_nacl) { |
+ sources += [ |
+ "gpu_memory_buffer_support.cc", |
+ "gpu_memory_buffer_support.h", |
+ ] |
+ public_deps = [ |
+ "//ui/gfx", |
+ "//ui/gfx/geometry", |
+ ] |
+ deps += [ "//ui/gl" ] |
+ } |
} |
component("gles2_utils") { |