sapling/eden/fs/utils/TARGETS
Yedidya Feldblum 5866f01d0d Move folly/Hash.h to folly/hash/
Summary: [Folly] Move `folly/Hash.h` to `folly/hash/`.

Reviewed By: jsedgwick

Differential Revision: D6050464

fbshipit-source-id: 64eb65aac8e3e7cd0126e65ca3998bfe167e2d73
2017-10-19 00:51:37 -07:00

80 lines
1.5 KiB
Plaintext

# @autodeps
PATH_SRCS = ["PathFuncs.cpp"]
PATH_HEADERS = ["PathFuncs.h"]
IO_SRCS = [
"ControlMsg.cpp",
"IoFuture.cpp",
]
IO_HEADERS = [
"ControlMsg.h",
"IoFuture.h",
]
cpp_library(
name = "utils",
srcs = glob(
["*.cpp"],
excludes = PATH_SRCS + IO_SRCS,
),
headers = glob(
["*.h"],
excludes = PATH_HEADERS + IO_HEADERS,
),
deps = [
":path",
"@/folly:conv",
"@/folly:dynamic",
"@/folly:evicting_cache_map",
"@/folly:exception",
"@/folly:exception_wrapper",
"@/folly:fbvector",
"@/folly:format",
"@/folly:singleton",
"@/folly:string",
"@/folly:subprocess",
"@/folly/experimental/logging:logging",
"@/folly/futures:core",
"@/folly/futures:shared_promise",
],
external_deps = [
"gflags",
"glog",
],
)
cpp_library(
name = "path",
srcs = PATH_SRCS,
headers = PATH_HEADERS,
deps = [
"@/folly:exception",
"@/folly:format",
"@/folly:optional",
"@/folly:string",
"@/folly/hash:hash",
"@/folly/portability:stdlib",
],
external_deps = [
"boost",
],
)
cpp_library(
name = "io",
srcs = IO_SRCS,
headers = IO_HEADERS,
deps = [
"@/folly:conv",
"@/folly:portability",
"@/folly/futures:core",
"@/folly/io/async:async",
],
external_deps = [
"glog",
],
)