mirror of
https://gitee.com/openharmony/third_party_ninja
synced 2024-11-27 01:21:30 +00:00
Signed-off-by: liangxinyan <liangxinyan2@huawei.com>
This commit is contained in:
parent
03745fb315
commit
0ff2536f46
@ -880,8 +880,7 @@ bool Builder::FinishCommand(CommandRunner::Result* result, string* err) {
|
||||
if (!deps_type.empty()) {
|
||||
string extract_err;
|
||||
if (!ExtractDeps(result, deps_type, deps_prefix, &deps_nodes,
|
||||
&extract_err) &&
|
||||
result->success()) {
|
||||
&extract_err) && result->success()) {
|
||||
if (!result->output.empty())
|
||||
result->output.append("\n");
|
||||
result->output.append(extract_err);
|
||||
|
@ -324,7 +324,6 @@ yy32:
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
int len = (int)(out - filename);
|
||||
|
@ -427,8 +427,7 @@ void StatusPrinter::PrintStatus(const Edge* edge, int64_t time_millis) {
|
||||
to_print = FormatProgressStatus(progress_status_format_, time_millis)
|
||||
+ to_print;
|
||||
|
||||
printer_.Print(to_print,
|
||||
force_full_command ? LinePrinter::FULL : LinePrinter::ELIDE);
|
||||
printer_.Print(to_print,force_full_command ? LinePrinter::FULL : LinePrinter::ELIDE);
|
||||
}
|
||||
|
||||
void StatusPrinter::Warning(const char* msg, ...) {
|
||||
|
Loading…
Reference in New Issue
Block a user