Skip to content

Commit e309202

Browse files
committed
[MESSAGING] Add the messaging option.
1 parent 77902c8 commit e309202

2 files changed

Lines changed: 15 additions & 0 deletions

File tree

package/bridge/bridge/Config.in

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,13 @@ config BR2_PACKAGE_BRIDGE_OOM_ADJUST
6767
string "oom-adjust"
6868
default ""
6969

70+
config BR2_PACKAGE_BRIDGE_MESSAGING
71+
bool "Use messaging i.s.o. tracing"
72+
default n
73+
help
74+
Use messaging which replaces the tracing + logging into one
75+
frmaework to relay the information to the parent process.
76+
7077
source "package/bridge/bridge-devtools/Config.in"
7178

7279
endmenu

package/bridge/bridge/bridge.mk

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,14 @@ else
7070
BRIDGE_CONF_OPTS += -DCMAKE_BUILD_TYPE=Release
7171
endif
7272

73+
ifeq ($(BR2_PACKAGE_BRIDGE_MESSAGING), y)
74+
WPEFRAMEWORK_CONF_OPTS += -DMESSAGING=ON
75+
WPEFRAMEWORK_CONF_OPTS += -DTRACING=OFF
76+
else
77+
WPEFRAMEWORK_CONF_OPTS += -DMESSAGING=OFF
78+
WPEFRAMEWORK_CONF_OPTS += -DTRACING=ON
79+
endif
80+
7381
ifeq ($(BR2_PACKAGE_BRIDGE_VIRTUALINPUT),y)
7482
BRIDGE_CONF_OPTS += -DVIRTUALINPUT=ON
7583
endif

0 commit comments

Comments
 (0)