| 192 | } |
| 193 | |
| 194 | bool TargetSourcesImpl::HandleFileSetMode( |
| 195 | std::string const& scope, std::vector<std::string> const& content) |
| 196 | { |
| 197 | auto args = FileSetsArgsParser.Parse(content, /*unparsedArguments=*/nullptr); |
| 198 | |
| 199 | for (auto& argList : args.FileSets) { |
| 200 | argList.emplace(argList.begin(), "FILE_SET"_s); |
| 201 | if (!this->HandleOneFileSet(scope, argList)) { |
| 202 | return false; |
| 203 | } |
| 204 | } |
| 205 | |
| 206 | return true; |
| 207 | } |
| 208 | |
| 209 | bool TargetSourcesImpl::HandleOneFileSet( |
| 210 | std::string const& scope, std::vector<std::string> const& content) |
no test coverage detected