summaryrefslogtreecommitdiffstats
path: root/ipc/ipc_message.h
diff options
context:
space:
mode:
authordalecurtis@google.com <dalecurtis@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-26 20:56:27 +0000
committerdalecurtis@google.com <dalecurtis@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2012-11-26 20:56:27 +0000
commitfd75b64acc5d47397ca1f3cc7bb0288684adf9ba (patch)
treea09ddc204646b2147175bd0d0ebfc7302f4411e2 /ipc/ipc_message.h
parentaccd262301a232893579e1df7879be3d85f8c0e9 (diff)
downloadchromium_src-fd75b64acc5d47397ca1f3cc7bb0288684adf9ba.zip
chromium_src-fd75b64acc5d47397ca1f3cc7bb0288684adf9ba.tar.gz
chromium_src-fd75b64acc5d47397ca1f3cc7bb0288684adf9ba.tar.bz2
Revert 169453 - Enable IPC logging for component build
Since I refactored the registering of IPC loggers to go through a proper API, there's no dependency from ipc to chrome anymore, and we can enable it in debug builds BUG=none TEST=compiles in debug build ------------------------------------------------------ Caused "unresolved external" link errors on Windows Debug builds: http://build.chromium.org/p/chromium.win/builders/Win%20Builder%20%28dbg%29/builds/5494/steps/compile/logs/stdio Possibly the cause of various "malloc" related failures seen elsewhere in the tree: http://build.chromium.org/p/chromium.mac/buildstatus?builder=Mac10.6%20Sync&number=25248 Review URL: https://chromiumcodereview.appspot.com/11415122 TBR=jochen@chromium.org Review URL: https://codereview.chromium.org/11428013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@169486 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ipc/ipc_message.h')
-rw-r--r--ipc/ipc_message.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ipc/ipc_message.h b/ipc/ipc_message.h
index e79216d..1ae9e75 100644
--- a/ipc/ipc_message.h
+++ b/ipc/ipc_message.h
@@ -16,7 +16,10 @@
// from here.
#include "ipc/ipc_sender.h"
-#if !defined(NDEBUG)
+// Ipc logging adds a dependency from the 'chrome' target on all ipc message
+// classes. In a component build, this would require exporting all message
+// classes, so don't support ipc logging in the components build.
+#if !defined(NDEBUG) && !defined(COMPONENT_BUILD)
#define IPC_MESSAGE_LOG_ENABLED
#endif