-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathBUCK
113 lines (104 loc) · 2.04 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
prebuilt_cxx_library(
name = "boost",
header_dirs = [
"boost/1.72.0/include/",
],
# True for most Boost libraries.
# Should get a linker error if we use a Boost library that must be built separately.
header_only = True,
visibility = [
'PUBLIC',
],
)
prebuilt_cxx_library(
name = "cli11",
header_dirs = [
"cli11/include",
],
header_only = True,
visibility = [
'PUBLIC',
],
)
prebuilt_cxx_library(
name = "double_conversion",
header_dirs = [
"double-conversion/3.1.5/include/",
],
static_lib = "double-conversion/3.1.5/lib/libdouble-conversion.a",
visibility = [
'PUBLIC',
],
)
prebuilt_cxx_library(
name = "flatbuffers",
header_dirs = [
"flatbuffers/include/",
],
header_only = True,
visibility = [
'PUBLIC',
],
)
prebuilt_cxx_library(
name="folly",
header_dirs = [
"folly/2020.02.10.00/include/",
],
static_lib = "folly/2020.02.10.00/lib/libfolly.a",
visibility = [
'PUBLIC',
],
)
prebuilt_cxx_library(
name = "gflags",
header_dirs = [
"gflags/2.2.2/include/",
],
# TODO: Not sure why this works. I.e. why static_lib can be used with dylib.
static_lib = "gflags/2.2.2/lib/libgflags.2.2.2.dylib",
visibility = [
'PUBLIC',
],
)
prebuilt_cxx_library(
name = "glog",
header_dirs = [
"glog/0.4.0/include/",
],
# TODO: Not sure why this works. I.e. why static_lib can be used with dylib.
static_lib = "glog/0.4.0/lib/libglog.0.4.0.dylib",
visibility = [
'PUBLIC',
],
)
prebuilt_cxx_library(
name = "gtest",
header_dirs = [
"googletest/googletest/include/",
],
static_lib = "googletest/build/lib/libgtest.a",
visibility = [
'PUBLIC',
],
)
prebuilt_cxx_library(
name = "libevent_core",
header_dirs = [
"libevent/2.1.11_1/include/",
],
static_lib = "libevent/2.1.11_1/lib/libevent_core.a",
visibility = [
'PUBLIC',
],
)
prebuilt_cxx_library(
name = "openssl",
header_dirs = [
"openssl/1.0.2s/include/",
],
static_lib = "openssl/1.0.2s/lib/libssl.a",
visibility = [
'PUBLIC',
],
)