Wyatt Hepler | 01145c9 | 2021-02-05 09:07:12 -0800 | [diff] [blame] | 1 | # Copyright 2021 The Pigweed Authors |
Alexei Frolov | 26e3ae6 | 2020-05-04 17:06:17 -0700 | [diff] [blame] | 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 | |
Armando Montanez | fb3d3fb | 2020-06-09 18:12:12 -0700 | [diff] [blame] | 15 | import("//build_overrides/pigweed.gni") |
| 16 | |
Alexei Frolov | bf33d21 | 2020-09-15 17:13:45 -0700 | [diff] [blame] | 17 | import("$dir_pw_bloat/bloat.gni") |
Wyatt Hepler | db5a7cc | 2020-11-25 10:53:25 -0800 | [diff] [blame] | 18 | import("$dir_pw_build/module_config.gni") |
Wyatt Hepler | 9174147 | 2021-02-03 08:45:10 -0800 | [diff] [blame] | 19 | import("$dir_pw_build/python.gni") |
Wyatt Hepler | 438caa0 | 2021-01-15 17:13:11 -0800 | [diff] [blame] | 20 | import("$dir_pw_build/python_action.gni") |
Alexei Frolov | edd2f14 | 2020-06-09 19:11:27 -0700 | [diff] [blame] | 21 | import("$dir_pw_build/target_types.gni") |
Alexei Frolov | 26e3ae6 | 2020-05-04 17:06:17 -0700 | [diff] [blame] | 22 | import("$dir_pw_docgen/docs.gni") |
Alexei Frolov | 5d6d392 | 2020-05-08 13:57:02 -0700 | [diff] [blame] | 23 | import("$dir_pw_protobuf_compiler/proto.gni") |
Alexei Frolov | bf33d21 | 2020-09-15 17:13:45 -0700 | [diff] [blame] | 24 | import("$dir_pw_third_party/nanopb/nanopb.gni") |
Alexei Frolov | 26e3ae6 | 2020-05-04 17:06:17 -0700 | [diff] [blame] | 25 | import("$dir_pw_unit_test/test.gni") |
Wyatt Hepler | d49f8fe | 2020-10-15 10:13:47 -0700 | [diff] [blame] | 26 | |
Wyatt Hepler | db5a7cc | 2020-11-25 10:53:25 -0800 | [diff] [blame] | 27 | declare_args() { |
| 28 | # The build target that overrides the default configuration options for this |
| 29 | # module. This should point to a source set that provides defines through a |
| 30 | # public config (which may -include a file or add defines directly). |
| 31 | pw_rpc_CONFIG = pw_build_DEFAULT_MODULE_CONFIG |
| 32 | } |
| 33 | |
| 34 | config("public_include_path") { |
Alexei Frolov | 26e3ae6 | 2020-05-04 17:06:17 -0700 | [diff] [blame] | 35 | include_dirs = [ "public" ] |
Wyatt Hepler | 80f26ff | 2020-06-01 09:30:17 -0700 | [diff] [blame] | 36 | visibility = [ ":*" ] |
Alexei Frolov | 26e3ae6 | 2020-05-04 17:06:17 -0700 | [diff] [blame] | 37 | } |
| 38 | |
Wyatt Hepler | db5a7cc | 2020-11-25 10:53:25 -0800 | [diff] [blame] | 39 | pw_source_set("config") { |
| 40 | sources = [ "public/pw_rpc/internal/config.h" ] |
| 41 | public_configs = [ ":public_include_path" ] |
| 42 | public_deps = [ pw_rpc_CONFIG ] |
| 43 | visibility = [ "./*" ] |
| 44 | friend = [ "./*" ] |
| 45 | } |
| 46 | |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 47 | pw_source_set("server") { |
Wyatt Hepler | db5a7cc | 2020-11-25 10:53:25 -0800 | [diff] [blame] | 48 | public_configs = [ ":public_include_path" ] |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 49 | public_deps = [ ":common" ] |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 50 | deps = [ dir_pw_log ] |
Wyatt Hepler | d159142 | 2020-09-15 10:04:41 -0700 | [diff] [blame] | 51 | public = [ |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 52 | "public/pw_rpc/server.h", |
| 53 | "public/pw_rpc/server_context.h", |
Wyatt Hepler | d159142 | 2020-09-15 10:04:41 -0700 | [diff] [blame] | 54 | "public/pw_rpc/service.h", |
| 55 | ] |
Alexei Frolov | 5d6d392 | 2020-05-08 13:57:02 -0700 | [diff] [blame] | 56 | sources = [ |
Wyatt Hepler | 7da973a | 2020-06-09 10:04:48 -0700 | [diff] [blame] | 57 | "public/pw_rpc/internal/call.h", |
Wyatt Hepler | 1532e52 | 2020-07-30 11:44:58 -0700 | [diff] [blame] | 58 | "public/pw_rpc/internal/hash.h", |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 59 | "public/pw_rpc/internal/method.h", |
Wyatt Hepler | afd2914 | 2020-11-23 07:58:59 -0800 | [diff] [blame] | 60 | "public/pw_rpc/internal/method_lookup.h", |
Alexei Frolov | a4d7150 | 2020-10-14 12:43:14 -0700 | [diff] [blame] | 61 | "public/pw_rpc/internal/method_union.h", |
Wyatt Hepler | 74e7ab6 | 2021-06-15 19:44:32 -0700 | [diff] [blame] | 62 | "public/pw_rpc/internal/responder.h", |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 63 | "public/pw_rpc/internal/server.h", |
Wyatt Hepler | 74e7ab6 | 2021-06-15 19:44:32 -0700 | [diff] [blame] | 64 | "responder.cc", |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 65 | "server.cc", |
| 66 | "service.cc", |
Alexei Frolov | 5d6d392 | 2020-05-08 13:57:02 -0700 | [diff] [blame] | 67 | ] |
Wyatt Hepler | 948f547 | 2020-06-02 16:52:28 -0700 | [diff] [blame] | 68 | friend = [ "./*" ] |
Wyatt Hepler | 948f547 | 2020-06-02 16:52:28 -0700 | [diff] [blame] | 69 | } |
| 70 | |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 71 | pw_source_set("client") { |
Wyatt Hepler | db5a7cc | 2020-11-25 10:53:25 -0800 | [diff] [blame] | 72 | public_configs = [ ":public_include_path" ] |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 73 | public_deps = [ ":common" ] |
| 74 | deps = [ dir_pw_log ] |
| 75 | public = [ |
| 76 | "public/pw_rpc/client.h", |
| 77 | "public/pw_rpc/internal/base_client_call.h", |
| 78 | ] |
| 79 | sources = [ |
| 80 | "base_client_call.cc", |
| 81 | "client.cc", |
| 82 | ] |
| 83 | } |
| 84 | |
Alexei Frolov | 3e28092 | 2021-04-12 14:53:06 -0700 | [diff] [blame] | 85 | pw_source_set("client_server") { |
| 86 | public_configs = [ ":public_include_path" ] |
| 87 | public_deps = [ |
| 88 | ":client", |
| 89 | ":server", |
| 90 | ] |
| 91 | public = [ "public/pw_rpc/client_server.h" ] |
| 92 | sources = [ "client_server.cc" ] |
| 93 | } |
| 94 | |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 95 | # Classes shared by the server and client. |
| 96 | pw_source_set("common") { |
Wyatt Hepler | db5a7cc | 2020-11-25 10:53:25 -0800 | [diff] [blame] | 97 | public_configs = [ ":public_include_path" ] |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 98 | public_deps = [ |
Alexei Frolov | 8e30d46 | 2020-10-22 13:54:36 -0700 | [diff] [blame] | 99 | ":protos.pwpb", |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 100 | "$dir_pw_containers:intrusive_list", |
| 101 | dir_pw_assert, |
| 102 | dir_pw_bytes, |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 103 | dir_pw_status, |
| 104 | ] |
| 105 | deps = [ dir_pw_log ] |
| 106 | public = [ "public/pw_rpc/channel.h" ] |
| 107 | sources = [ |
| 108 | "channel.cc", |
| 109 | "packet.cc", |
| 110 | "public/pw_rpc/internal/channel.h", |
| 111 | "public/pw_rpc/internal/method_type.h", |
| 112 | "public/pw_rpc/internal/packet.h", |
| 113 | ] |
| 114 | friend = [ "./*" ] |
| 115 | } |
| 116 | |
Alexei Frolov | e39af8d | 2020-12-30 14:55:09 -0800 | [diff] [blame] | 117 | pw_source_set("synchronized_channel_output") { |
| 118 | public_configs = [ ":public_include_path" ] |
| 119 | public_deps = [ |
| 120 | ":common", |
Ewout van Bekkum | cc9ef83 | 2021-04-08 08:51:16 -0700 | [diff] [blame] | 121 | "$dir_pw_sync:lock_annotations", |
Alexei Frolov | e39af8d | 2020-12-30 14:55:09 -0800 | [diff] [blame] | 122 | "$dir_pw_sync:mutex", |
| 123 | ] |
| 124 | public = [ "public/pw_rpc/synchronized_channel_output.h" ] |
| 125 | } |
| 126 | |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 127 | pw_source_set("test_utils") { |
| 128 | public = [ |
| 129 | "public/pw_rpc/internal/test_method.h", |
Wyatt Hepler | 5ba8064 | 2021-06-18 12:56:17 -0700 | [diff] [blame] | 130 | "pw_rpc_private/fake_channel_output.h", |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 131 | "pw_rpc_private/internal_test_utils.h", |
Wyatt Hepler | b6495b3 | 2020-11-23 07:50:59 -0800 | [diff] [blame] | 132 | "pw_rpc_private/method_impl_tester.h", |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 133 | ] |
Wyatt Hepler | 5ba8064 | 2021-06-18 12:56:17 -0700 | [diff] [blame] | 134 | sources = [ "fake_channel_output.cc" ] |
| 135 | public_configs = [ |
| 136 | ":public_include_path", |
| 137 | ":private_includes", |
| 138 | ] |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 139 | public_deps = [ |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 140 | ":client", |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 141 | ":server", |
Wyatt Hepler | 5ba8064 | 2021-06-18 12:56:17 -0700 | [diff] [blame] | 142 | dir_pw_assert, |
| 143 | dir_pw_bytes, |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 144 | ] |
| 145 | visibility = [ "./*" ] |
| 146 | } |
| 147 | |
Wyatt Hepler | 948f547 | 2020-06-02 16:52:28 -0700 | [diff] [blame] | 148 | config("private_includes") { |
| 149 | include_dirs = [ "." ] |
Wyatt Hepler | 7da973a | 2020-06-09 10:04:48 -0700 | [diff] [blame] | 150 | visibility = [ ":*" ] |
Wyatt Hepler | cb9d957 | 2020-06-01 11:25:58 -0700 | [diff] [blame] | 151 | } |
| 152 | |
Alexei Frolov | 5d6d392 | 2020-05-08 13:57:02 -0700 | [diff] [blame] | 153 | pw_proto_library("protos") { |
Wyatt Hepler | 9174147 | 2021-02-03 08:45:10 -0800 | [diff] [blame] | 154 | sources = [ |
Wyatt Hepler | 752d7d3 | 2021-03-02 09:02:23 -0800 | [diff] [blame] | 155 | "echo.proto", |
| 156 | "internal/packet.proto", |
Wyatt Hepler | 9174147 | 2021-02-03 08:45:10 -0800 | [diff] [blame] | 157 | ] |
Wyatt Hepler | 752d7d3 | 2021-03-02 09:02:23 -0800 | [diff] [blame] | 158 | inputs = [ "echo.options" ] |
Wyatt Hepler | ba325e4 | 2021-03-08 14:23:34 -0800 | [diff] [blame] | 159 | python_package = "py" |
| 160 | prefix = "pw_rpc" |
Alexei Frolov | 26e3ae6 | 2020-05-04 17:06:17 -0700 | [diff] [blame] | 161 | } |
| 162 | |
| 163 | pw_doc_group("docs") { |
| 164 | sources = [ "docs.rst" ] |
Alexei Frolov | 7c7a386 | 2020-07-16 15:36:02 -0700 | [diff] [blame] | 165 | inputs = [ |
Wyatt Hepler | 752d7d3 | 2021-03-02 09:02:23 -0800 | [diff] [blame] | 166 | "echo.proto", |
| 167 | "internal/packet.proto", |
Alexei Frolov | 7c7a386 | 2020-07-16 15:36:02 -0700 | [diff] [blame] | 168 | ] |
Wyatt Hepler | 830d26d | 2021-02-17 09:07:43 -0800 | [diff] [blame] | 169 | group_deps = [ |
| 170 | "nanopb:docs", |
| 171 | "py:docs", |
| 172 | ] |
Alexei Frolov | bf33d21 | 2020-09-15 17:13:45 -0700 | [diff] [blame] | 173 | report_deps = [ ":server_size" ] |
| 174 | } |
| 175 | |
| 176 | pw_size_report("server_size") { |
| 177 | title = "Pigweed RPC server size report" |
| 178 | |
| 179 | binaries = [ |
| 180 | { |
| 181 | target = "size_report:server_only" |
| 182 | base = "size_report:base" |
| 183 | label = "Server by itself" |
| 184 | }, |
| 185 | ] |
| 186 | |
| 187 | if (dir_pw_third_party_nanopb != "") { |
| 188 | binaries += [ |
| 189 | { |
| 190 | target = "size_report:server_with_echo_service" |
| 191 | base = "size_report:base_with_nanopb" |
| 192 | label = "Server with a registered nanopb EchoService" |
| 193 | }, |
| 194 | ] |
| 195 | } |
Alexei Frolov | 26e3ae6 | 2020-05-04 17:06:17 -0700 | [diff] [blame] | 196 | } |
| 197 | |
| 198 | pw_test_group("tests") { |
Alexei Frolov | 5d6d392 | 2020-05-08 13:57:02 -0700 | [diff] [blame] | 199 | tests = [ |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 200 | ":base_client_call_test", |
Wyatt Hepler | 671946e | 2020-06-09 14:39:33 -0700 | [diff] [blame] | 201 | ":channel_test", |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 202 | ":client_test", |
Alexei Frolov | 3e28092 | 2021-04-12 14:53:06 -0700 | [diff] [blame] | 203 | ":client_server_test", |
Wyatt Hepler | 541a190 | 2020-10-12 08:09:47 -0700 | [diff] [blame] | 204 | ":ids_test", |
Alexei Frolov | 5d6d392 | 2020-05-08 13:57:02 -0700 | [diff] [blame] | 205 | ":packet_test", |
Wyatt Hepler | ea9b8a1 | 2021-06-18 15:14:26 -0700 | [diff] [blame] | 206 | ":responder_test", |
Alexei Frolov | 5d6d392 | 2020-05-08 13:57:02 -0700 | [diff] [blame] | 207 | ":server_test", |
Wyatt Hepler | d159142 | 2020-09-15 10:04:41 -0700 | [diff] [blame] | 208 | ":service_test", |
Alexei Frolov | 5d6d392 | 2020-05-08 13:57:02 -0700 | [diff] [blame] | 209 | ] |
Alexei Frolov | b705971 | 2020-10-07 10:02:00 -0700 | [diff] [blame] | 210 | group_deps = [ |
| 211 | "nanopb:tests", |
| 212 | "raw:tests", |
| 213 | ] |
Alexei Frolov | 26e3ae6 | 2020-05-04 17:06:17 -0700 | [diff] [blame] | 214 | } |
| 215 | |
Wyatt Hepler | 948f547 | 2020-06-02 16:52:28 -0700 | [diff] [blame] | 216 | pw_proto_library("test_protos") { |
| 217 | sources = [ "pw_rpc_test_protos/test.proto" ] |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 218 | inputs = [ "pw_rpc_test_protos/test.options" ] |
Wyatt Hepler | 948f547 | 2020-06-02 16:52:28 -0700 | [diff] [blame] | 219 | visibility = [ "./*" ] |
Alexei Frolov | 26e3ae6 | 2020-05-04 17:06:17 -0700 | [diff] [blame] | 220 | } |
Alexei Frolov | 5d6d392 | 2020-05-08 13:57:02 -0700 | [diff] [blame] | 221 | |
Wyatt Hepler | ea9b8a1 | 2021-06-18 15:14:26 -0700 | [diff] [blame] | 222 | pw_test("responder_test") { |
Wyatt Hepler | cb9d957 | 2020-06-01 11:25:58 -0700 | [diff] [blame] | 223 | deps = [ |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 224 | ":server", |
| 225 | ":test_utils", |
Wyatt Hepler | cb9d957 | 2020-06-01 11:25:58 -0700 | [diff] [blame] | 226 | ] |
Wyatt Hepler | 74e7ab6 | 2021-06-15 19:44:32 -0700 | [diff] [blame] | 227 | sources = [ "responder_test.cc" ] |
Wyatt Hepler | cb9d957 | 2020-06-01 11:25:58 -0700 | [diff] [blame] | 228 | } |
| 229 | |
Wyatt Hepler | 671946e | 2020-06-09 14:39:33 -0700 | [diff] [blame] | 230 | pw_test("channel_test") { |
| 231 | deps = [ |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 232 | ":server", |
| 233 | ":test_utils", |
Wyatt Hepler | 671946e | 2020-06-09 14:39:33 -0700 | [diff] [blame] | 234 | ] |
| 235 | sources = [ "channel_test.cc" ] |
| 236 | } |
| 237 | |
Wyatt Hepler | 438caa0 | 2021-01-15 17:13:11 -0800 | [diff] [blame] | 238 | pw_python_action("generate_ids_test") { |
Wyatt Hepler | 541a190 | 2020-10-12 08:09:47 -0700 | [diff] [blame] | 239 | outputs = [ "$target_gen_dir/generated_ids_test.cc" ] |
Wyatt Hepler | ba325e4 | 2021-03-08 14:23:34 -0800 | [diff] [blame] | 240 | |
| 241 | script = "py/tests/ids_test.py" |
Michael Spang | c8b9390 | 2021-05-30 15:53:56 -0400 | [diff] [blame] | 242 | args = [ "--generate-cc-test" ] + rebase_path(outputs, root_build_dir) |
Wyatt Hepler | 438caa0 | 2021-01-15 17:13:11 -0800 | [diff] [blame] | 243 | python_deps = [ |
| 244 | "$dir_pw_build/py", |
| 245 | "py", |
| 246 | ] |
Wyatt Hepler | 541a190 | 2020-10-12 08:09:47 -0700 | [diff] [blame] | 247 | } |
| 248 | |
| 249 | pw_test("ids_test") { |
| 250 | deps = [ |
| 251 | ":generate_ids_test", |
| 252 | ":server", |
| 253 | ] |
| 254 | sources = get_target_outputs(":generate_ids_test") |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 255 | } |
| 256 | |
Alexei Frolov | 5d6d392 | 2020-05-08 13:57:02 -0700 | [diff] [blame] | 257 | pw_test("packet_test") { |
| 258 | deps = [ |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 259 | ":server", |
Wyatt Hepler | 0f26235 | 2020-07-29 09:51:27 -0700 | [diff] [blame] | 260 | dir_pw_bytes, |
Alexei Frolov | 5d6d392 | 2020-05-08 13:57:02 -0700 | [diff] [blame] | 261 | dir_pw_protobuf, |
| 262 | ] |
| 263 | sources = [ "packet_test.cc" ] |
| 264 | } |
Wyatt Hepler | 80f26ff | 2020-06-01 09:30:17 -0700 | [diff] [blame] | 265 | |
Wyatt Hepler | d159142 | 2020-09-15 10:04:41 -0700 | [diff] [blame] | 266 | pw_test("service_test") { |
| 267 | deps = [ |
Alexei Frolov | 8e30d46 | 2020-10-22 13:54:36 -0700 | [diff] [blame] | 268 | ":protos.pwpb", |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 269 | ":server", |
Wyatt Hepler | d159142 | 2020-09-15 10:04:41 -0700 | [diff] [blame] | 270 | dir_pw_assert, |
| 271 | ] |
| 272 | sources = [ "service_test.cc" ] |
| 273 | } |
| 274 | |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 275 | pw_test("client_test") { |
| 276 | deps = [ |
| 277 | ":client", |
| 278 | ":test_utils", |
| 279 | ] |
| 280 | sources = [ "client_test.cc" ] |
| 281 | } |
| 282 | |
Alexei Frolov | 3e28092 | 2021-04-12 14:53:06 -0700 | [diff] [blame] | 283 | pw_test("client_server_test") { |
| 284 | deps = [ |
| 285 | ":client_server", |
| 286 | ":test_utils", |
| 287 | "raw:method_union", |
| 288 | ] |
| 289 | sources = [ "client_server_test.cc" ] |
| 290 | } |
| 291 | |
Alexei Frolov | 4d2adde | 2020-08-04 10:19:24 -0700 | [diff] [blame] | 292 | pw_test("base_client_call_test") { |
| 293 | deps = [ |
| 294 | ":client", |
| 295 | ":test_utils", |
| 296 | ] |
| 297 | sources = [ "base_client_call_test.cc" ] |
| 298 | } |
| 299 | |
Wyatt Hepler | 80f26ff | 2020-06-01 09:30:17 -0700 | [diff] [blame] | 300 | pw_test("server_test") { |
| 301 | deps = [ |
Alexei Frolov | 8e30d46 | 2020-10-22 13:54:36 -0700 | [diff] [blame] | 302 | ":protos.pwpb", |
Wyatt Hepler | cbd09c2 | 2020-09-15 11:17:24 -0700 | [diff] [blame] | 303 | ":server", |
| 304 | ":test_utils", |
Wyatt Hepler | 80f26ff | 2020-06-01 09:30:17 -0700 | [diff] [blame] | 305 | dir_pw_assert, |
| 306 | ] |
| 307 | sources = [ "server_test.cc" ] |
| 308 | } |