-
Notifications
You must be signed in to change notification settings - Fork 298
/
Copy pathBUCK
69 lines (65 loc) · 1.47 KB
/
BUCK
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
load("@fbcode_macros//build_defs:cpp_library.bzl", "cpp_library")
oncall("scm_client_infra")
cpp_library(
name = "model",
srcs = [
"Hash.cpp",
"ObjectId.cpp",
"RootId.cpp",
"Tree.cpp",
"TreeEntry.cpp",
],
headers = [
"Blob.h",
"BlobAuxData.h",
"EntryAttributeFlags.h",
"GlobEntry.h",
"LocalFiles.h",
"TreeAuxData.h",
],
deps = [
"//eden/common/utils:enum",
"//eden/common/utils:throw",
"//eden/fs/digest:blake3_hash",
"//folly:conv",
"//folly:string",
"//folly/logging:logging",
"//folly/ssl:openssl_hash",
],
exported_deps = [
"fbsource//third-party/fmt:fmt",
":model-fwd",
"//eden/common/utils:case_sensitivity",
"//eden/common/utils:option_set",
"//eden/common/utils:path",
"//eden/common/utils:utils",
"//eden/fs/service:thrift-cpp2-types",
"//folly:c_portability",
"//folly:fbstring",
"//folly:range",
"//folly:try",
"//folly/container:array",
"//folly/io:iobuf",
],
exported_external_deps = [
"boost",
],
)
cpp_library(
name = "testutil",
srcs = [
"TestOps.cpp",
],
exported_deps = [
":model",
],
)
cpp_library(
name = "model-fwd",
headers = [
"BlobAuxDataFwd.h",
"BlobFwd.h",
"TreeAuxDataFwd.h",
"TreeFwd.h",
],
)