summaryrefslogtreecommitdiffhomepage
path: root/tools/parsers/BUILD
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2020-10-26 10:27:25 -0700
committergVisor bot <gvisor-bot@google.com>2020-10-26 10:29:20 -0700
commite2dce046037c30b585cc62db45d517f59d1a08fc (patch)
tree6344e2ed13193c0822d3136d495bef111f3f9380 /tools/parsers/BUILD
parent73a18635385d6a90942370e15fe2cbeb2a5a4386 (diff)
Add parser for open source benchmarks.
Add a parser binary for parsing files containing Benchmark output and sending data to BigQuery. PiperOrigin-RevId: 339066396
Diffstat (limited to 'tools/parsers/BUILD')
-rw-r--r--tools/parsers/BUILD14
1 files changed, 13 insertions, 1 deletions
diff --git a/tools/parsers/BUILD b/tools/parsers/BUILD
index 8038be606..dab954e25 100644
--- a/tools/parsers/BUILD
+++ b/tools/parsers/BUILD
@@ -1,4 +1,4 @@
-load("//tools:defs.bzl", "go_library", "go_test")
+load("//tools:defs.bzl", "go_binary", "go_library", "go_test")
package(licenses = ["notice"])
@@ -27,3 +27,15 @@ go_library(
"//tools/bigquery",
],
)
+
+go_binary(
+ name = "parser",
+ testonly = 1,
+ srcs = ["parser_main.go"],
+ nogo = False,
+ deps = [
+ ":parsers",
+ "//runsc/flag",
+ "//tools/bigquery",
+ ],
+)