-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBUILD
43 lines (40 loc) · 784 Bytes
/
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
# generated by huangwf @ 2021.02.07
cc_binary (
name = 'test_uniq_id',
srcs = [
'cpp_common/demo/test_uniq_id.cpp',
],
deps = [
'//cpp_common:cpp_common',
],
extra_linkflags = [
'-pthread',
],
)
cc_binary (
name = 'http_server',
srcs = [
'servers/main.cpp',
],
deps = [
':http_server_lib',
'#gflags',
'#brpc',
'#protobuf',
],
)
cc_library (
name = 'http_server_lib',
srcs = [
'servers/http_server.cpp',
],
hdrs = [
'incubator-brpc/src/butil/logging.h',
'incubator-brpc/src/brpc/server.h',
'incubator-brpc/src/brpc/restful.h',
'servers/http_server.h',
],
deps = [
'//proto:gateway_proto',
],
)