#
# Copyright (C) 2020 Xiaomi Corporation
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
config LIB_DBUS
tristate "D-bus library"
default n
---help---
D-Bus is a simple system for interprocess communication and
coordination.
if LIB_DBUS
config DBUS_DAEMON
bool "Enable dbus daemon"
default n
depends on LIB_EXPAT
---help---
Message bus daemon.
config DBUS_PRIORITY
int "Libdbus task priority"
default 100
config DBUS_STACKSIZE
int "Libdbus stack size"
default 6144
config LIB_DBUS_RPMSG_SERVER_CPUNAME
string "The cpu name of running dbusdaemon"
default ""
depends on NET_RPMSG && !DBUS_DAEMON
---help---
The cpu name of running dbusdaemon. Libdbus need to get connection
from specified name of remote proc.
config DBUS_SEND
bool "Enable dbus_send tool"
default n
---help---
Send a message to a message bus by dbus_send.
config DBUS_MONITOR
bool "Enable dbus_monitor tool"
default n
---help---
Debug probe to print message bus messages by dbus_monitor.
config DBUS_TEST_TOOL
bool "Enable dbus_test_tool"
default n
---help---
A multi-purpose tool for debugging and profiling D-Bus by dbus_test_tool.
config DBUS_UPDATE_ACTIVATION_ENVIRONMENT
bool "Enable dbus_update_activation_environment tool"
default n
---help---
Update environment used for D-Bus session services by
dbus_update_activation_environment.
config DBUS_TEST
bool "Enable dbus_test"
default n
---help---
Integration testcases for D-Bus
config DBUS_WASM
bool "Compile to Wasm"
default n
---help---
Compile dbus to Wasm module instead of builitn app,
only available if any wasm runtime eanbled.
endif