Add re_analysis environment varibles fields to soong_metrics
Test: Tested by following steps
1.m nothing: field is empty
2.USE_RBE=false m nothing: field log cc_wrapper and rbe_wrapper
3.USE_RBE=false m nothing: field is empty
Bug: 281922291
Change-Id: I1bbb324752b9a2dea1ff2c9df5817559d4cec3a6
diff --git a/ui/metrics/metrics_proto/metrics.proto b/ui/metrics/metrics_proto/metrics.proto
index 6db83e9..b437da7 100644
--- a/ui/metrics/metrics_proto/metrics.proto
+++ b/ui/metrics/metrics_proto/metrics.proto
@@ -131,6 +131,12 @@
// The metric of critical path in build
optional CriticalPathInfo critical_path_info = 33;
+
+ // Environment variables that have changed value since the previous build,
+ // which were responsible for retriggering build analysis.
+ // Note that not all changed environment variables result in analysis retriggering.
+ // If there was no previous build, this list will be empty.
+ repeated string changed_environment_variable = 34;
}
message BuildConfig {