Add enable_ipc_logging build argument

Implement a build option to enable the IPC logging system
in release builds. It's useful to save time and resources when
debugging IPC communication (e.g. in automated testing
environments).

It also turns IPC_MESSAGE_LOG_ENABLED macro to a build flag.

BUG=

Review-Url: https://codereview.chromium.org/2770653002
Cr-Original-Commit-Position: refs/heads/master@{#459094}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 76890ec11e7402591d1c9add533d4e61c30f8e08
1 file changed