diff options
Diffstat (limited to 'pw_rpc/pwpb/BUILD.gn')
-rw-r--r-- | pw_rpc/pwpb/BUILD.gn | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/pw_rpc/pwpb/BUILD.gn b/pw_rpc/pwpb/BUILD.gn index 0c611bb99..e036a8019 100644 --- a/pw_rpc/pwpb/BUILD.gn +++ b/pw_rpc/pwpb/BUILD.gn @@ -105,6 +105,7 @@ pw_source_set("client_server_testing") { public = [ "public/pw_rpc/pwpb/client_server_testing.h" ] public_deps = [ ":test_method_context", + "$dir_pw_assert", "..:client_server_testing", ] } @@ -132,6 +133,7 @@ pw_source_set("echo_service") { } pw_source_set("client_integration_test") { + testonly = pw_unit_test_TESTONLY public_configs = [ ":public" ] public_deps = [ "$dir_pw_sync:binary_semaphore", @@ -182,8 +184,10 @@ pw_test("client_reader_writer_test") { deps = [ ":client_api", ":client_testing", + "$dir_pw_sync:mutex", "..:test_protos.pwpb_rpc", ] + enable_if = pw_sync_MUTEX_BACKEND != "" sources = [ "client_reader_writer_test.cc" ] } @@ -205,8 +209,9 @@ pw_test("client_server_context_threaded_test") { ":client_api", ":client_server_testing_threaded", "$dir_pw_sync:binary_semaphore", - "$dir_pw_thread:test_threads", - "$dir_pw_thread_stl:test_threads", + "$dir_pw_sync:mutex", + "$dir_pw_thread:non_portable_test_thread_options", + "$dir_pw_thread_stl:non_portable_test_thread_options", "..:test_protos.pwpb_rpc", ] sources = [ "client_server_context_threaded_test.cc" ] @@ -318,6 +323,8 @@ pw_test("stub_generation_test") { pw_test("synchronous_call_test") { deps = [ ":test_method_context", + "$dir_pw_rpc_transport:test_loopback_service_registry", + "$dir_pw_thread:thread", "$dir_pw_work_queue:pw_work_queue", "$dir_pw_work_queue:stl_test_thread", "$dir_pw_work_queue:test_thread", |