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

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

Issue 603273003: Prevent static mojo builds from pulling //ui/gl into mojo_shell (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Share kEnableGPUClientLogging Created 6 years, 3 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/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",
]
}

Powered by Google App Engine
This is Rietveld 408576698