diff options
author | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-02-15 16:36:11 +0100 |
---|---|---|
committer | Peter Varga <pvarga@inf.u-szeged.hu> | 2023-02-20 11:40:01 +0100 |
commit | faffeebbad7bd1fdefb0537387193b1827b936ac (patch) | |
tree | 96ce17cf4ca2dfbf332e3fdc58683591a76f5b37 | |
parent | 9fda1a154f1539f7a6b09fdd31ce66d6de08b182 (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)
-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 dbeea777c..10cae5768 100644 --- a/src/core/CMakeLists.txt +++ b/src/core/CMakeLists.txt @@ -287,6 +287,7 @@ foreach(arch ${archs}) list(APPEND gnArgArg qtwebengine_target="${buildDir}/${config}/${arch}:QtWebEngineCore" enable_ipc_fuzzer=false + enable_ipc_logging=false enable_media_remoting=false enable_message_center=false enable_nacl=false |