mirror of
https://gitee.com/openharmony/third_party_ninja
synced 2024-11-23 07:20:07 +00:00
Signed-off-by: liangxinyan <liangxinyan2@huawei.com>
This commit is contained in:
parent
feabb94884
commit
67d7e8c464
@ -773,7 +773,8 @@ static std::vector<std::string> SplitStringBySpace(std::string content)
|
||||
return words;
|
||||
}
|
||||
|
||||
static std::string SplicingWholeContent(std::string content, std::string whole_content, bool is_whole_archive) {
|
||||
static std::string SplicingWholeContent(std::string content, std::string whole_content, bool is_whole_archive)
|
||||
{
|
||||
if (whole_content.empty()) {
|
||||
return content;
|
||||
}
|
||||
@ -805,7 +806,8 @@ static std::string SplicingWholeContent(std::string content, std::string whole_c
|
||||
return result;
|
||||
}
|
||||
|
||||
std::string Builder::GetContent(Edge* edge) {
|
||||
std::string Builder::GetContent(Edge* edge)
|
||||
{
|
||||
std::string content = edge->GetBinding("rspfile_content");
|
||||
std::string toolchain_whole_status = edge->env_->LookupVariable("toolchain_whole_status");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user