xref: /aosp_15_r20/external/pigweed/pw_system/backend.gni (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
15import("//build_overrides/pigweed.gni")
16
17declare_args() {
18  # The pw_system backend that provides thread options for the appropriate
19  # scheduler.
20  #
21  # There's no default backend as this is target/os specific. pw_system_target
22  # can automatically configure this for your project.
23  pw_system_TARGET_HOOKS_BACKEND = ""
24
25  # The pw_system backend that provides read/write streams for RPC and logging.
26  #
27  # There's no default backend as this is target specific. pw_system_target
28  # can automatically configure this for your project.
29  pw_system_IO_BACKEND = ""
30
31  # The pw_system backend that provides an interface for device specific
32  # functions such as reboot to be implemented in the relevant target.
33  #
34  # There's no default backend as this is target specific. pw_system_target
35  # can automatically configure this for your project.
36  pw_system_DEVICE_HANDLER = ""
37
38  # The pw_system backend that provides the system RPC server.
39  #
40  # This defaults to a single-channel HDLC server provided by pw_system
41  # when using a pw_system_target.
42  pw_system_RPC_SERVER_BACKEND = ""
43}
44