mirror of
https://gitee.com/openharmony/third_party_ninja
synced 2024-11-26 17:11:14 +00:00
Signed-off-by: liangxinyan <liangxinyan2@huawei.com>
This commit is contained in:
parent
d7d6b49f97
commit
29d4d00863
@ -187,7 +187,7 @@ bool DepfileParser::Parse(string* content, string* err) {
|
||||
} else {
|
||||
// Check for a new output.
|
||||
if (std::find(outs_.begin(), outs_.end(), piece) == outs_.end())
|
||||
outs_.push_back(piece);
|
||||
outs_.push_back(piece);
|
||||
}
|
||||
} else if (!is_dependency) {
|
||||
// We've passed an input on the left side; reject new inputs.
|
||||
|
Loading…
Reference in New Issue
Block a user