diff options
Diffstat (limited to 'pw_rpc/raw/BUILD.gn')
-rw-r--r-- | pw_rpc/raw/BUILD.gn | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/pw_rpc/raw/BUILD.gn b/pw_rpc/raw/BUILD.gn index 89d049207..e2f4cfa2b 100644 --- a/pw_rpc/raw/BUILD.gn +++ b/pw_rpc/raw/BUILD.gn @@ -40,20 +40,11 @@ pw_source_set("method_union") { public_deps = [ ":method" ] } -pw_source_set("service_method_traits") { - public_configs = [ ":public" ] - public = [ "public/pw_rpc/internal/raw_service_method_traits.h" ] - public_deps = [ - ":method_union", - "..:service_method_traits", - ] -} - pw_source_set("test_method_context") { public_configs = [ ":public" ] public = [ "public/pw_rpc/raw_test_method_context.h" ] public_deps = [ - ":service_method_traits", + ":method", dir_pw_assert, dir_pw_containers, ] @@ -64,6 +55,7 @@ pw_test_group("tests") { ":codegen_test", ":raw_method_test", ":raw_method_union_test", + ":stub_generation_test", ] } @@ -79,8 +71,10 @@ pw_test("codegen_test") { pw_test("raw_method_test") { deps = [ + ":method", ":method_union", "..:test_protos.pwpb", + "..:test_protos.raw_rpc", "..:test_utils", dir_pw_protobuf, ] @@ -96,3 +90,8 @@ pw_test("raw_method_union_test") { ] sources = [ "raw_method_union_test.cc" ] } + +pw_test("stub_generation_test") { + deps = [ "..:test_protos.raw_rpc" ] + sources = [ "stub_generation_test.cc" ] +} |