mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 08:47:12 +03:00
3da68e5adc
Summary: This is a mechanical and dumb move of the code from MountPoint and into the EdenMount class. Of note, it doesn't merge together the two different state/status fields into a unified thing; that will be tackled in a follow on diff. Reviewed By: bolinfest Differential Revision: D5778212 fbshipit-source-id: 6e91a90a5cc760429d87a475ec12f81b93f87be0
84 lines
2.0 KiB
Plaintext
84 lines
2.0 KiB
Plaintext
# @autodeps
|
|
|
|
thrift_library(
|
|
name = "serialization",
|
|
languages = [
|
|
"cpp2",
|
|
"py",
|
|
],
|
|
py_base_module = "facebook.eden",
|
|
thrift_args = ["--strict"],
|
|
thrift_srcs = {
|
|
"overlay.thrift": [],
|
|
},
|
|
deps = [
|
|
":hgdirstate",
|
|
],
|
|
)
|
|
|
|
thrift_library(
|
|
name = "hgdirstate",
|
|
# Need to support .java and .py because eden.thrift depends on this file.
|
|
languages = [
|
|
"cpp2",
|
|
"java",
|
|
"py",
|
|
],
|
|
py_base_module = "facebook",
|
|
thrift_args = ["--strict"],
|
|
thrift_srcs = {
|
|
"hgdirstate.thrift": None,
|
|
},
|
|
)
|
|
|
|
cpp_library(
|
|
name = "inodes",
|
|
srcs = glob(["*.cpp"]),
|
|
headers = glob(["*.h"]),
|
|
deps = [
|
|
":hgdirstate-cpp2",
|
|
":serialization-cpp2",
|
|
"@/eden/fs/config:config",
|
|
"@/eden/fs/fuse:fusell",
|
|
"@/eden/fs/fuse/privhelper:privhelper",
|
|
"@/eden/fs/journal:journal",
|
|
"@/eden/fs/model:model",
|
|
"@/eden/fs/model/git:gitignore",
|
|
"@/eden/fs/service:thrift-streaming-cpp2",
|
|
"@/eden/fs/service:thrift_cpp",
|
|
"@/eden/fs/store:store",
|
|
"@/eden/fs/utils:path",
|
|
"@/eden/fs/utils:utils",
|
|
"@/folly:exception",
|
|
"@/folly:exception_wrapper",
|
|
"@/folly:fbstring",
|
|
"@/folly:file",
|
|
"@/folly:file_util",
|
|
"@/folly:format",
|
|
"@/folly:likely",
|
|
"@/folly:map_util",
|
|
"@/folly:optional",
|
|
"@/folly:portability",
|
|
"@/folly:range",
|
|
"@/folly:shared_mutex",
|
|
"@/folly:string",
|
|
"@/folly:synchronized",
|
|
"@/folly:thread_local",
|
|
"@/folly:thread_name",
|
|
"@/folly:unit",
|
|
"@/folly/experimental:string_keyed_unordered_map",
|
|
"@/folly/experimental/logging:logging",
|
|
"@/folly/futures:core",
|
|
"@/folly/io:iobuf",
|
|
"@/thrift/lib/cpp2/protocol:protocol",
|
|
"@/wangle:wangle",
|
|
],
|
|
external_deps = [
|
|
"boost",
|
|
"gflags",
|
|
"glog",
|
|
("boost", None, "boost_filesystem"),
|
|
("openssl", None, "crypto"),
|
|
],
|
|
)
|