xref: /aosp_15_r20/external/pigweed/pw_rpc/Kconfig (revision 61c4878ac05f98d0ceed94b57d316916de578985)
1# Copyright 2021 The Pigweed Authors
2#
3# Licensed under the Apache License, Version 2.0 (the "License"); you may not
4# use this file except in compliance with the License. You may obtain a copy of
5# the License at
6#
7#     https://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
11# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
12# License for the specific language governing permissions and limitations under
13# the License.
14
15menu "pw_rpc"
16
17rsource "nanopb/Kconfig"
18
19config PIGWEED_RPC_SERVER
20    bool "Link pw_rpc.server library"
21    select PIGWEED_RPC_COMMON
22    select PIGWEED_LOG
23    help
24      See :ref:`module-pw_rpc` for module details.
25
26config PIGWEED_RPC_CLIENT
27    bool "Link pw_rpc.client library"
28    select PIGWEED_RPC_COMMON
29    select PIGWEED_RESULT
30    select PIGWEED_LOG
31    help
32      See :ref:`module-pw_rpc` for module details.
33
34config PIGWEED_RPC_CLIENT_SERVER
35    bool "Link pw_rpc.client_server library"
36    select PIGWEED_RPC_CLIENT
37    select PIGWEED_RPC_SERVER
38    help
39      See :ref:`module-pw_rpc` for module details.
40
41config PIGWEED_RPC_COMMON
42    bool "Link pw_rpc.common library"
43    select PIGWEED_ASSERT
44    select PIGWEED_BYTES
45    select PIGWEED_CONTAINERS
46    select PIGWEED_FUNCTION
47    select PIGWEED_SPAN
48    select PIGWEED_STATUS
49    select PIGWEED_LOG
50    select PIGWEED_SYNC_MUTEX
51    help
52      See :ref:`module-pw_rpc` for module details.
53
54endmenu
55