Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: tools/gn/input_file_manager.cc

Issue 21983003: Make the Mac build work. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: dunnow Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/gn/input_file_manager.h ('k') | tools/gn/ninja_build_writer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/gn/input_file_manager.cc
diff --git a/tools/gn/input_file_manager.cc b/tools/gn/input_file_manager.cc
index d9a3a00b8efeed64093538a655180f2a7c1a67f1..33ab16abe38a575b8aa6ed9ca2ae95755fec0131 100644
--- a/tools/gn/input_file_manager.cc
+++ b/tools/gn/input_file_manager.cc
@@ -168,13 +168,14 @@ int InputFileManager::GetInputFileCount() const {
return input_files_.size();
}
-void InputFileManager::GetAllInputFileNames(
- std::vector<SourceFile>* result) const {
+void InputFileManager::GetAllPhysicalInputFileNames(
+ std::vector<base::FilePath>* result) const {
base::AutoLock lock(lock_);
result->reserve(input_files_.size());
for (InputFileMap::const_iterator i = input_files_.begin();
i != input_files_.end(); ++i) {
- result->push_back(i->second->file.name());
+ if (!i->second->file.physical_name().empty())
+ result->push_back(i->second->file.physical_name());
}
}
« no previous file with comments | « tools/gn/input_file_manager.h ('k') | tools/gn/ninja_build_writer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698