Reland "Add enable_ipc_logging build argument"

It caused a build flake due to incorrect dependents on //ipc
and it was reverted. Fixes committed in order to fix these:
- https://codereview.chromium.org/2767193005
- https://codereview.chromium.org/2852273002

> 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/2847003005
Cr-Commit-Position: refs/heads/master@{#471255}


CrOS-Libchrome-Original-Commit: 041528ae6e6abe67ac2f5c14cd4991b8e181ecf2
8 files changed
tree: 4cd6ab6e4e818d23c339100fe597a8bb8720ccd6
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/