aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/buildtool/buildevent
diff options
context:
space:
mode:
authorGravatar Klaus Aehlig <aehlig@google.com>2017-03-27 06:28:31 +0000
committerGravatar Philipp Wollermann <philwo@google.com>2017-03-27 11:37:31 +0000
commit33356b65da339e463ba619d6767fe7458da2c193 (patch)
tree352317e66f7062146582041ea0038525017ca73e /src/main/java/com/google/devtools/build/lib/buildtool/buildevent
parent9288fe48edcde4c584224791e66b5ea8b64016a5 (diff)
BEP: Also report options
Additionally to reporting on the originally received command line, also report it in a parsed form. This, in particular, includes reconstructing the options originally provided by the user. -- Change-Id: I5a1c6ed57874f1d37d10bf11d597256d63bc5516 Reviewed-on: https://cr.bazel.build/9459 PiperOrigin-RevId: 151288656 MOS_MIGRATED_REVID=151288656
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/buildtool/buildevent')
-rw-r--r--src/main/java/com/google/devtools/build/lib/buildtool/buildevent/BuildStartingEvent.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/buildtool/buildevent/BuildStartingEvent.java b/src/main/java/com/google/devtools/build/lib/buildtool/buildevent/BuildStartingEvent.java
index 41829d4f4b..01c148d84b 100644
--- a/src/main/java/com/google/devtools/build/lib/buildtool/buildevent/BuildStartingEvent.java
+++ b/src/main/java/com/google/devtools/build/lib/buildtool/buildevent/BuildStartingEvent.java
@@ -83,6 +83,7 @@ public final class BuildStartingEvent implements BuildEvent {
return ImmutableList.of(
ProgressEvent.INITIAL_PROGRESS_UPDATE,
BuildEventId.commandlineId(),
+ BuildEventId.optionsParsedId(),
BuildEventId.targetPatternExpanded(request.getTargets()),
BuildEventId.buildFinished());
}