-
Notifications
You must be signed in to change notification settings - Fork 17
/
Copy pathBUILD
50 lines (44 loc) · 949 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
44
45
46
47
48
49
50
// Test objects
[
{ "config": {
"component": "testdata/a",
"plugins": [ "//third_party/protobuf:proto_library" ]
} },
{ "proto_library": {
"name" : "a_proto",
"sources" : [ "a.proto" ],
"generate_cc": true,
"generate_java": true,
"generate_go": true,
"generate_python": true
}
},
{ "cc_library": {
"name" : "foo_pred_a",
"cc_sources" : [ "foo.cc" ],
"cc_headers" : [ "foo.h" ],
"dependencies" : [ ":a_proto" ]
}
},
{ "cc_library": {
"name" : "bar_pred_a",
"cc_sources" : [ "bar.cc" ]
}
},
{ "go_library": {
"name" : "bar_go",
"go_sources" : [ "bar.go" ],
"dependencies": [ ":a_proto" ]
}
},
{ "py_library": {
"name": "test",
"py_sources": [ "test.py" ],
"dependencies": [ ":a_proto" ]
} },
{ "java_library": {
"name": "test_java",
"java_classnames": [ "ATest.java" ],
"dependencies": [ ":a_proto" ]
} }
]