diff options
author | 2016-05-09 09:58:40 +0000 | |
---|---|---|
committer | 2016-05-09 10:52:14 +0000 | |
commit | 0e27fded9d74e86d7fee412995d75601ed3d4380 (patch) | |
tree | d3121363bfcdf93ce19356740001926e45908fd5 /src/main/java/com/google/devtools/build/lib | |
parent | 3f6975140b1ddea4eb6b1ce0eae2b018a8c59e48 (diff) |
Do not hard-code Blaze as product name
...use Constants.PRODUCT_NAME instead. Fixes #1244.
--
Change-Id: Icdf07c5e0cdadc0e459708f13dae78f70b5ef026
Reviewed-on: https://bazel-review.googlesource.com/#/c/3580
MOS_MIGRATED_REVID=121819053
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib')
-rw-r--r-- | src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java b/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java index 58f09d8ce5..ab251c74aa 100644 --- a/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java +++ b/src/main/java/com/google/devtools/build/lib/runtime/BlazeRuntime.java @@ -27,6 +27,7 @@ import com.google.common.eventbus.SubscriberExceptionContext; import com.google.common.eventbus.SubscriberExceptionHandler; import com.google.common.util.concurrent.Futures; import com.google.common.util.concurrent.Uninterruptibles; +import com.google.devtools.build.lib.Constants; import com.google.devtools.build.lib.analysis.BlazeDirectories; import com.google.devtools.build.lib.analysis.BlazeVersionInfo; import com.google.devtools.build.lib.analysis.ConfiguredRuleClassProvider; @@ -376,7 +377,7 @@ public final class BlazeRuntime { } if (profiledTasks != ProfiledTaskKinds.NONE) { Profiler.instance().start(profiledTasks, out, - "Blaze profile for " + env.getOutputBase() + " at " + new Date() + Constants.PRODUCT_NAME + " profile for " + env.getOutputBase() + " at " + new Date() + ", build ID: " + buildID, recordFullProfilerData, clock, execStartTimeNanos); return true; |