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

Unified Diff: gpu/command_buffer/common/BUILD.gn

Issue 1849313002: Pull gpu CmdBuf service/client shared GpuMemoryBuffer code to common (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update Created 4 years, 8 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
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") {
« no previous file with comments | « content/common/gpu/gpu_command_buffer_stub.cc ('k') | gpu/command_buffer/common/gpu_memory_buffer_support.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698