mirror of
https://github.com/nestriness/cdc-file-transfer.git
synced 2026-05-01 18:43:08 +03:00
Releasing the former Stadia file transfer tools
The tools allow efficient and fast synchronization of large directory trees from a Windows workstation to a Linux target machine. cdc_rsync* support efficient copy of files by using content-defined chunking (CDC) to identify chunks within files that can be reused. asset_stream_manager + cdc_fuse_fs support efficient streaming of a local directory to a remote virtual file system based on FUSE. It also employs CDC to identify and reuse unchanged data chunks.
This commit is contained in:
44
cdc_rsync_cli/BUILD
Normal file
44
cdc_rsync_cli/BUILD
Normal file
@@ -0,0 +1,44 @@
|
||||
package(default_visibility = [
|
||||
"//:__subpackages__",
|
||||
])
|
||||
|
||||
cc_binary(
|
||||
name = "cdc_rsync",
|
||||
srcs = ["main.cc"],
|
||||
deps = [
|
||||
":params",
|
||||
"//cdc_rsync",
|
||||
],
|
||||
)
|
||||
|
||||
cc_library(
|
||||
name = "params",
|
||||
srcs = ["params.cc"],
|
||||
hdrs = ["params.h"],
|
||||
deps = [
|
||||
"//cdc_rsync",
|
||||
"@com_github_zstd//:zstd",
|
||||
"@com_google_absl//absl/status",
|
||||
],
|
||||
)
|
||||
|
||||
cc_test(
|
||||
name = "params_test",
|
||||
srcs = ["params_test.cc"],
|
||||
data = ["testdata/root.txt"] + glob(["testdata/params/**"]),
|
||||
deps = [
|
||||
":params",
|
||||
"//common:test_main",
|
||||
"@com_google_googletest//:gtest",
|
||||
],
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "all_test_sources",
|
||||
srcs = glob(["*_test.cc"]),
|
||||
)
|
||||
|
||||
filegroup(
|
||||
name = "all_test_data",
|
||||
srcs = glob(["testdata/**"]),
|
||||
)
|
||||
Reference in New Issue
Block a user