aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/protobuf/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/protobuf/BUILD')
-rw-r--r--src/main/protobuf/BUILD18
1 files changed, 17 insertions, 1 deletions
diff --git a/src/main/protobuf/BUILD b/src/main/protobuf/BUILD
index 3ed9d1f541..5db4c8504f 100644
--- a/src/main/protobuf/BUILD
+++ b/src/main/protobuf/BUILD
@@ -14,7 +14,6 @@ exports_files(
FILES = [
"action_cache",
- "analysis",
"android_deploy_info",
"bazel_flags",
"build",
@@ -47,6 +46,22 @@ FILES = [
deps = [":" + s + "_java_proto"],
) for s in FILES]
+proto_library(
+ name = "analysis_proto",
+ srcs = ["analysis.proto"],
+ deps = [":build_proto"],
+)
+
+java_proto_library(
+ name = "analysis_java_proto",
+ deps = [":analysis_proto"],
+)
+
+java_library_srcs(
+ name = "analysis_java_proto_srcs",
+ deps = [":analysis_java_proto"],
+)
+
# This new option tagging method is in flux while being applied to the options
# in the Bazel code base. The visibility should not be changed to allow external
# dependencies until the interface has stabilized and can commit to maintaining
@@ -156,6 +171,7 @@ filegroup(
filegroup(
name = "dist_jars",
srcs = [s + "_java_proto_srcs" for s in FILES] + [
+ ":analysis_java_proto_srcs",
":command_line_java_proto_srcs",
":command_server_java_grpc_srcs",
":option_filters_java_proto_srcs",