| Index: tools/gn/xcode_writer.cc
|
| diff --git a/tools/gn/xcode_writer.cc b/tools/gn/xcode_writer.cc
|
| index 07b50e4b8a2898846e717c305145e04e9f450c3d..b0526836a6928a2780cf5a279f1c21e0c982be9b 100644
|
| --- a/tools/gn/xcode_writer.cc
|
| +++ b/tools/gn/xcode_writer.cc
|
| @@ -353,7 +353,8 @@ void XcodeWriter::CreateSourcesProject(
|
| for (const SourceFile& source : sources) {
|
| std::string source_file =
|
| RebasePath(source.value(), source_dir, absolute_source_path);
|
| - sources_for_indexing->AddSourceFile(source_file, source_file);
|
| + sources_for_indexing->AddSourceFileToIndexingTarget(source_file,
|
| + source_file);
|
| }
|
|
|
| projects_.push_back(std::move(sources_for_indexing));
|
|
|