Signed-off-by: liangxinyan <liangxinyan2@huawei.com>
This commit is contained in:
liangxinyan 2024-10-16 09:41:37 +08:00
parent feabb94884
commit 67d7e8c464

View File

@ -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");