mirror of
https://github.com/google/cdc-file-transfer.git
synced 2026-11-06 10:20:14 +03:00
Remove port manager and range parser
That code is no longer needed since both cdc_stream and cdc_rsync use ephemeral ports assigned by the OS now.
This commit is contained in:
1 parent
370023a944
commit
12a98d2326
18 files changed
+2
-1030
No files matched your search
@@ -300,54 +300,6 @@ cc_library(
|
||||
hdrs = ["platform.h"],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "port_manager",
|
||||
srcs = ["port_manager_win.cc"],
|
||||
hdrs = ["port_manager.h"],
|
||||
target_compatible_with = ["@platforms//os:windows"],
|
||||
deps = [
|
||||
":arch_type",
|
||||
":remote_util",
|
||||
":status",
|
||||
":stopwatch",
|
||||
":util",
|
||||
"@com_google_absl//absl/status:statusor",
|
||||
],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "port_manager_test",
|
||||
srcs = ["port_manager_test.cc"],
|
||||
target_compatible_with = ["@platforms//os:windows"],
|
||||
deps = [
|
||||
":port_manager",
|
||||
":status_test_macros",
|
||||
":stub_process",
|
||||
":test_main",
|
||||
":testing_clock",
|
||||
"@com_google_googletest//:gtest",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "port_range_parser",
|
||||
srcs = ["port_range_parser.cc"],
|
||||
hdrs = ["port_range_parser.h"],
|
||||
deps = [
|
||||
"@com_google_absl//absl/strings",
|
||||
],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "port_range_parser_test",
|
||||
srcs = ["port_range_parser_test.cc"],
|
||||
deps = [
|
||||
":port_range_parser",
|
||||
":test_main",
|
||||
"@com_google_googletest//:gtest",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "process",
|
||||
srcs = ["process_win.cc"],
|
||||
|
||||
Reference in new issue
Block a user