mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 00:45:18 +03:00
5866f01d0d
Summary: [Folly] Move `folly/Hash.h` to `folly/hash/`. Reviewed By: jsedgwick Differential Revision: D6050464 fbshipit-source-id: 64eb65aac8e3e7cd0126e65ca3998bfe167e2d73
80 lines
1.5 KiB
Plaintext
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",
|
|
],
|
|
)
|