aboutsummaryrefslogtreecommitdiff
path: root/pw_system/backend.gni
diff options
context:
space:
mode:
authorArmando Montanez <amontanez@google.com>2022-03-16 11:14:28 -0700
committerCQ Bot Account <pigweed-scoped@luci-project-accounts.iam.gserviceaccount.com>2022-03-17 20:15:11 +0000
commitce59a87a09dcef5290da7a4ba1596a493be7262a (patch)
treec8d1b6a84e9e728e58f01e3852043bd692ad61a9 /pw_system/backend.gni
parent9be916213676099eebeb83c82bb5e98c380d751e (diff)
downloadpigweed-ce59a87a09dcef5290da7a4ba1596a493be7262a.tar.gz
pw_system: Make RPC server a facade
Makes pw_system's RPC server a public facade so users can: 1. Access the RPC server to register services. 2. Provide a custom server implementation with more channels and different transports. Also adds some real docs to pw_system. Change-Id: I789089573359061c5f3254575e540c27a63deed3 Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/88364 Reviewed-by: Carlos Chinchilla <cachinchilla@google.com> Reviewed-by: Tom Craig <tommycraig@gmail.com> Reviewed-by: Chad Norvell <chadnorvell@google.com> Commit-Queue: Armando Montanez <amontanez@google.com>
Diffstat (limited to 'pw_system/backend.gni')
-rw-r--r--pw_system/backend.gni12
1 files changed, 12 insertions, 0 deletions
diff --git a/pw_system/backend.gni b/pw_system/backend.gni
index 727004ef0..3b4d470df 100644
--- a/pw_system/backend.gni
+++ b/pw_system/backend.gni
@@ -17,8 +17,20 @@ import("//build_overrides/pigweed.gni")
declare_args() {
# The pw_system backend that provides thread options for the appropriate
# scheduler.
+ #
+ # There's no default backend as this is target/os specific. pw_system_target
+ # can automatically configure this for your project.
pw_system_TARGET_HOOKS_BACKEND = ""
# The pw_system backend that provides read/write streams for RPC and logging.
+ #
+ # There's no default backend as this is target specific. pw_system_target
+ # can automatically configure this for your project.
pw_system_IO_BACKEND = ""
+
+ # The pw_system backend that provides the system RPC server.
+ #
+ # This defaults to a single-channel HDLC server provided by pw_system
+ # when using a pw_system_target.
+ pw_system_RPC_SERVER_BACKEND = ""
}