-
Notifications
You must be signed in to change notification settings - Fork 25
/
BUILD
58 lines (56 loc) · 1.13 KB
/
BUILD
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
cc_binary(
name = "ratelimit",
srcs = [
"RateLimitServer.cpp",
],
deps = [
":ratelimit_handler",
"//pipeline:redis_pipeline_bootstrap",
],
copts = [
"-std=c++14",
],
)
cc_library(
name = "ratelimit_handler",
srcs = [
"RateLimitCompactionFilter.cpp",
"RateLimitHandler.cpp",
],
hdrs = [
"RateLimitCompactionFilter.h",
"RateLimitHandler.h",
],
deps = [
"//codec:redis_value",
"//external:boost",
"//external:folly",
"//external:glog",
"//external:rocksdb",
"//external:wangle",
"//pipeline:redis_handler",
],
copts = [
"-std=c++14",
],
)
cc_test(
name = "ratelimit_handler_test",
srcs = [
"RateLimitHandlerTest.cpp",
],
size = "small",
deps = [
":ratelimit_handler",
"//codec:redis_value",
"//external:folly",
"//external:gmock_main",
"//external:gtest",
"//external:rocksdb",
"//external:wangle",
"//stesting:test_helpers",
],
copts = [
"-std=c++14",
],
)