This repository has been archived by the owner on Dec 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
/
BUILD
82 lines (70 loc) · 2.04 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
71
72
73
74
75
76
77
78
79
80
81
82
package(default_visibility = ["//visibility:public"])
load("//tools/checkstyle:checkstyle.bzl", "checkstyle_test")
exports_files(["global_registry.prototxt"])
proto_library(
name = "reviewer_proto",
srcs = ["reviewer.proto"],
)
java_proto_library(
name = "reviewer_java_proto",
deps = [":reviewer_proto"],
)
proto_library(
name = "reviewer_registry_proto",
srcs = ["reviewer_registry.proto"],
deps = [":reviewer_proto"],
)
java_proto_library(
name = "reviewer_registry_java_proto",
deps = [":reviewer_registry_proto"],
)
java_library(
name = "reviewer_constants",
srcs = ["ReviewerConstants.java"],
)
checkstyle_test(
name = "reviewer_constants-checkstyle",
target = ":reviewer_constants",
)
java_test(
name = "GlobalRegistryTest",
srcs = [
"GlobalRegistryTest.java",
],
data = ["//tools/reviewer:global_registry.prototxt"],
test_class = "com.google.startupos.tools.reviewer.GlobalRegistryTest",
deps = [
":reviewer_java_proto",
":reviewer_registry_java_proto",
"//common",
"//common:dagger_with_annotation_processor",
"//third_party/maven/com/google/guava",
"//third_party/maven/javax/annotation:javax_annotation_api",
"//third_party/maven/javax/inject:javax_inject",
],
)
checkstyle_test(
name = "GlobalRegistryTest-checkstyle",
target = ":GlobalRegistryTest",
)
java_test(
name = "ReviewerConfigTest",
srcs = [
"ReviewerConfigTest.java",
],
data = ["//:reviewer_config.prototxt"],
test_class = "com.google.startupos.tools.reviewer.ReviewerConfigTest",
deps = [
":reviewer_java_proto",
":reviewer_registry_java_proto",
"//common",
"//common:dagger_with_annotation_processor",
"//third_party/maven/com/google/guava",
"//third_party/maven/javax/annotation:javax_annotation_api",
"//third_party/maven/javax/inject:javax_inject",
],
)
checkstyle_test(
name = "ReviewerConfigTest-checkstyle",
target = ":ReviewerConfigTest",
)