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:
SupSuper 2019-07-01 01:57:26 +01:00
parent cfee64e630
commit 74f9e0dfc0

View File

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