2017-06-02 03:41:11 +03:00
|
|
|
include_defs("//eden/DEFS")
|
2017-03-31 21:23:02 +03:00
|
|
|
|
2017-06-28 07:08:54 +03:00
|
|
|
stats_deps = ["@/common/stats:threadlocal"] if is_facebook_internal() else []
|
|
|
|
|
2017-08-31 05:18:47 +03:00
|
|
|
thrift_library(
|
|
|
|
name = "handlemap",
|
|
|
|
languages = [
|
|
|
|
"cpp2",
|
|
|
|
],
|
|
|
|
thrift_args = ["--strict"],
|
|
|
|
thrift_srcs = {
|
|
|
|
"handlemap.thrift": [],
|
|
|
|
},
|
|
|
|
)
|
|
|
|
|
2016-05-13 02:07:33 +03:00
|
|
|
cpp_library(
|
2017-06-02 03:41:11 +03:00
|
|
|
name = "fusell",
|
|
|
|
srcs = glob(["*.cpp"]),
|
|
|
|
headers = glob(["*.h"]),
|
2017-06-28 07:08:54 +03:00
|
|
|
deps = stats_deps + [
|
2017-08-31 05:18:47 +03:00
|
|
|
":handlemap-cpp2",
|
2017-06-02 03:41:11 +03:00
|
|
|
"@/eden/fs/fuse/privhelper:privhelper",
|
|
|
|
"@/eden/fs/utils:utils",
|
2017-06-28 07:08:54 +03:00
|
|
|
"@/folly:array",
|
|
|
|
"@/folly:exception",
|
|
|
|
"@/folly:fbvector",
|
|
|
|
"@/folly:file",
|
|
|
|
"@/folly:format",
|
|
|
|
"@/folly:move_wrapper",
|
|
|
|
"@/folly:portability",
|
|
|
|
"@/folly:random",
|
|
|
|
"@/folly:range",
|
2017-06-30 06:13:49 +03:00
|
|
|
"@/folly:string",
|
2017-06-02 03:41:11 +03:00
|
|
|
"@/folly:synchronized",
|
2017-06-28 07:08:54 +03:00
|
|
|
"@/folly:thread_local",
|
2017-06-22 23:39:57 +03:00
|
|
|
"@/folly/experimental/logging:logging",
|
2017-06-28 07:08:54 +03:00
|
|
|
"@/folly/futures:core",
|
|
|
|
"@/folly/io:iobuf",
|
|
|
|
"@/folly/io/async:request_context",
|
|
|
|
"@/folly/stats:timeseries_histogram",
|
2017-06-02 03:41:11 +03:00
|
|
|
"@/wangle:wangle",
|
2017-06-28 07:08:54 +03:00
|
|
|
],
|
2017-06-02 03:41:11 +03:00
|
|
|
external_deps = [
|
|
|
|
("fuse", None, "fuse"),
|
|
|
|
],
|
2016-05-13 02:07:33 +03:00
|
|
|
)
|