diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-02-15 16:36:11 +0100 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-02-16 14:51:54 +0000 |
commit | ce18222f27e0507e6045e2d8f993a73614b5fae7 (patch) | |
tree | 692253ff782a680fcb88d3c8ba5acfdf8c359c15 | |
parent | bee8ab44cb3489fe27a9fb3d304b4c3cae9611d6 (diff) |
Force to disable IPC logging
It is enabled by default in Chromium for debug build.
See //ipc/features.gni.
Disable it for debug build too because it adds and extra
SetIPCLoggingEnabled mojo message (see
//content/common/child_process.mojom) and it results different mojo
message ids for the debug and release binaries. This is undesirable
when setting QTWEBENGINEPROCESS_PATH environment variable to use release
QtWebEngineProcess with debug browser process or the other way around.
The messages and the corresponding ids can be listed by executing the
following command in the QtWebEngine build directory:
find . -name "*-message-ids.h" | xargs grep -h "constexpr uint32_t"
Task-number: QTBUG-110504
Change-Id: I80f24117ae20d02fb53ea482d04bea7a9dcb38c1
Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
(cherry picked from commit 114c6d0543e1ebe4ec12693b0d462ec05037e3a4)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | src/core/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/CMakeLists.txt b/src/core/CMakeLists.txt index 792ad7e16..b1e99987e 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -300,6 +300,7 @@ foreach(arch ${archs}) enable_background_contents=false enable_background_mode=false enable_ipc_fuzzer=false + enable_ipc_logging=false enable_js_type_check=false enable_media_remoting=false enable_message_center=false |