diff options
author | 2016-05-20 10:44:21 +0000 | |
---|---|---|
committer | 2016-05-20 14:41:43 +0000 | |
commit | a4c7d25d219e8d748c18f8c49d1366fa1d683ab7 (patch) | |
tree | a3113726f02361e84a803d8acf38b2126a6e67b1 /src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java | |
parent | f62db46b49fb2016ca4dad300374ddbbe5ffee43 (diff) |
experimental UI: improve message shortening
When a progress message has to be shortened, as it does not fit in a
line in the progress bar, add a new first attempt: if the message the
path implicit to the label, only shorten that path within the message
(if that gets short enough, leaving a reasonable part of the path);
usually, the additional information is more useful than having a longer
part of the path present.
While there, also fix incorrect length computation in a different case
of message shortening.
--
Change-Id: Ied80e03cace1b249fc0f4e11bce41f2b4207b6ad
Reviewed-on: https://bazel-review.googlesource.com/#/c/3670
MOS_MIGRATED_REVID=122818198
Diffstat (limited to 'src/main/java/com/google/devtools/build/lib/rules/cpp/CppRuleClasses.java')
0 files changed, 0 insertions, 0 deletions