forked from Qihoo360/evpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUCK
34 lines (31 loc) · 713 Bytes
/
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
include_defs('//BUCKAROO_DEPS')
cxx_library(
name = 'event', exported_linker_flags = ['-levent']
)
cxx_library(
name = 'evpp',
header_namespace = 'evpp',
srcs = glob([
('evpp/*.cc'),
('evpp/**/*.cc')
]),
exported_headers = subdir_glob([
('evpp', '*.h'),
('evpp', '**/*.h')
]),
deps = BUCKAROO_DEPS + [':event'],
visibility = ['PUBLIC']
)
cxx_library(
name = 'evnsq',
header_namespace = 'evnsq',
compiler_flags = ['-DRAPIDJSON_HAS_STDSTRING=1'],
srcs = glob([
('apps/evnsq/*.cc')
]),
exported_headers = subdir_glob([
('apps/evnsq', '*.h')
]),
deps = BUCKAROO_DEPS,
visibility = ['PUBLIC']
)