| Index: ipc/ipc_message.h
|
| diff --git a/ipc/ipc_message.h b/ipc/ipc_message.h
|
| index b978cf23680924924141d105020541d66511bd4a..5c266819363eb95ea1c950c4a51b5850399b2a61 100644
|
| --- a/ipc/ipc_message.h
|
| +++ b/ipc/ipc_message.h
|
| @@ -12,7 +12,10 @@
|
| #include "base/pickle.h"
|
| #include "ipc/ipc_export.h"
|
|
|
| -#ifndef 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
|
|
|
|
|