aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/pprof/BUILD
diff options
context:
space:
mode:
authorGravatar Tomas Lundell <tomlu@google.com>2017-10-09 13:55:02 -0400
committerGravatar Damien Martin-Guillerez <dmarting@google.com>2017-10-11 13:35:49 +0200
commit8e04f24517feb48024f21aa2cf672550463107cf (patch)
treee88060afec309f84ecf41f84e18615ee853b6040 /third_party/pprof/BUILD
parent8882192897fa3453d51fe907d19f948215a581af (diff)
Add pprof proto (#3878)
Sourced from https://github.com/google/pprof. Will be used to output pprof-compatible profiling data from bazel. Closes #3878. Change-Id: Ia6a0ab6bf71012a1e6bda3ac9300d759ea9aeab5
Diffstat (limited to 'third_party/pprof/BUILD')
-rw-r--r--third_party/pprof/BUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/third_party/pprof/BUILD b/third_party/pprof/BUILD
new file mode 100644
index 0000000000..faa199b6ee
--- /dev/null
+++ b/third_party/pprof/BUILD
@@ -0,0 +1,13 @@
+package(default_visibility = ["//visibility:public"])
+
+licenses(["notice"]) # Apache 2.0
+
+proto_library(
+ name = "profile_proto",
+ srcs = ["profile.proto"],
+)
+
+java_proto_library(
+ name = "profile_java_proto",
+ deps = [":profile_proto"],
+)