summaryrefslogtreecommitdiffstats
path: root/gpu/gpu.gyp
diff options
context:
space:
mode:
authorerg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 19:46:46 +0000
committererg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-09-01 19:46:46 +0000
commitc279bff31d1c989b13adffad9e82a64bace4945a (patch)
treeabbd45bf4e9bdf57dde11b82e9209cac3f315aa3 /gpu/gpu.gyp
parent8ef8d41fd3db72f5857d945055c1b629a1220b3e (diff)
downloadchromium_src-c279bff31d1c989b13adffad9e82a64bace4945a.zip
chromium_src-c279bff31d1c989b13adffad9e82a64bace4945a.tar.gz
chromium_src-c279bff31d1c989b13adffad9e82a64bace4945a.tar.bz2
Static initializers: Remove <iostream> include from GPU logging system.
GPU can't rely on base because of nacl so it has its own logger. The logger includes <iostream> in the header, so most gles2 and command buffer files have std::__ioinit static initializers. Create a common logging.cc which has a simple method that just returns std::cerr so all the __ioinits collapse down to one. BUG=94794 TEST=compiles R=apatrick TBR=noelallen Review URL: http://codereview.chromium.org/7821004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@99229 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/gpu.gyp')
-rw-r--r--gpu/gpu.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/gpu/gpu.gyp b/gpu/gpu.gyp
index 6acbc8a..436545b 100644
--- a/gpu/gpu.gyp
+++ b/gpu/gpu.gyp
@@ -59,6 +59,7 @@
'command_buffer/common/gles2_cmd_utils.h',
'command_buffer/common/id_allocator.cc',
'command_buffer/common/id_allocator.h',
+ 'command_buffer/common/logging.cc',
'command_buffer/common/logging.h',
'command_buffer/common/thread_local.h',
'command_buffer/common/types.h',