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:
Christian Schneider
2022-10-07 10:47:04 +02:00
commit 4326e972ac
364 changed files with 49410 additions and 0 deletions

44
cdc_rsync_cli/BUILD Normal file
View 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/**"]),
)