aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/java/com/google/devtools/build/lib/runtime
diff options
context:
space:
mode:
authorGravatar Googler <noreply@google.com>2017-08-31 23:12:18 +0200
committerGravatar Vladimir Moskva <vladmos@google.com>2017-09-01 12:28:26 +0200
commitcb375a453491fc3be5e9bd0e76e235ae0d18670b (patch)
tree93058b62490f12c330ca25e72d1ff459580d3466 /src/main/java/com/google/devtools/build/lib/runtime
parent7c953bfae9d650813b2fe6ab934cbac5db1497ba (diff)
Publish TARGET_SKIPPED status to Goops and Master Log for targets with incompatible CPU constraints.
PiperOrigin-RevId: 167189106
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/runtime')
-rw-r--r--src/main/java/com/google/devtools/build/lib/runtime/BuildPhase.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BuildPhase.java b/src/main/java/com/google/devtools/build/lib/runtime/BuildPhase.java
index 7dedc91d68..20333ff7d4 100644
--- a/src/main/java/com/google/devtools/build/lib/runtime/BuildPhase.java
+++ b/src/main/java/com/google/devtools/build/lib/runtime/BuildPhase.java
@@ -30,7 +30,9 @@ public enum BuildPhase {
BLAZE_HALTED("blaze-halted", false),
COMPLETE("built", true),
// We skip a target when a previous target has failed to build with --nokeep_going.
- BUILD_SKIPPED("build-skipped", false);
+ BUILD_SKIPPED("build-skipped", false),
+ // The target was skipped due to CPU constraints.
+ TARGET_SKIPPED("target-skipped", true);
private final String msg;
private final boolean success;