-
Notifications
You must be signed in to change notification settings - Fork 1
/
BUILD
70 lines (63 loc) · 1.1 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
59
60
61
62
63
64
65
66
67
68
69
70
COMMON_COPTS = ["--std=c++1y"]
cc_library(
name = "error",
hdrs = ["error.h"],
copts = COMMON_COPTS,
)
cc_library(
name = "value",
hdrs = ["value.h"],
copts = COMMON_COPTS,
)
cc_library(
name = "input",
hdrs = ["input.h"],
copts = COMMON_COPTS,
deps = [
":error",
":value",
],
)
cc_library(
name = "output",
hdrs = ["output.h"],
copts = COMMON_COPTS,
deps = [
":error",
":value",
],
)
cc_library(
name = "node",
srcs = ["node.cc"],
hdrs = ["node.h"],
copts = COMMON_COPTS,
deps = [
":error",
":input",
":output",
],
)
cc_library(
name = "producer_graph",
hdrs = ["producer_graph.h"],
copts = COMMON_COPTS,
deps = [
":error",
":input",
":node",
":output",
],
)
cc_test(
name = "producers_integration_test",
srcs = ["producers_integration_test.cc"],
copts = COMMON_COPTS + [
"-Iexternal/gtest/include",
],
deps = [
":output",
":producer_graph",
"//third_party/gtest",
],
)