mirror of
https://github.com/libretro/scummvm.git
synced 2024-12-13 12:39:56 +00:00
CREATE_PROJECT: Remove obsolete "browser.cpp" hack
browser.cpp no longer depends on the target platform since pull request #1414
This commit is contained in:
parent
cfee64e630
commit
74f9e0dfc0
@ -133,12 +133,6 @@ bool shouldSkipFileForTarget(const std::string &fileID, const std::string &targe
|
||||
}
|
||||
}
|
||||
else {
|
||||
// Ugly hack: explicitly remove the browser.cpp file.
|
||||
// The problem is that we have only one project for two different targets,
|
||||
// and the parsing of the "mk" files added this file for both targets...
|
||||
if (fileID.length() > 12 && fileID.substr(fileID.length() - 12) == "/browser.cpp") {
|
||||
return true;
|
||||
}
|
||||
// macOS target: we skip all files with the "_ios" suffix
|
||||
if (name.length() > 4 && name.substr(name.length() - 4) == "_ios") {
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user