Make process-wrapper output execution statistics for executed commands.
For example, it now outputs resource usage statistics like the amount of user time and system time used.
RELNOTES: None
PiperOrigin-RevId: 177263221
diff --git a/src/main/protobuf/BUILD b/src/main/protobuf/BUILD
index 89afb79..d48de43 100644
--- a/src/main/protobuf/BUILD
+++ b/src/main/protobuf/BUILD
@@ -5,6 +5,13 @@
load("//third_party/protobuf/3.4.0:protobuf.bzl", "py_proto_library")
load("//third_party/grpc:build_defs.bzl", "java_grpc_library")
+exports_files(
+ ["execution_statitics.proto"],
+ visibility = [
+ "//src/test/shell/integration:process_wrapper_test",
+ ],
+)
+
FILES = [
"action_cache",
"android_deploy_info",
@@ -15,6 +22,7 @@
"crosstool_config",
"deps",
"desugar_deps",
+ "execution_statistics",
"extra_actions_base",
"invocation_policy",
"java_compilation",
@@ -114,6 +122,11 @@
deps = ["//third_party/pprof:profile_java_proto"],
)
+cc_proto_library(
+ name = "execution_statistics_cc_proto",
+ deps = [":execution_statistics_proto"],
+)
+
filegroup(
name = "srcs",
srcs = glob(["**"]),