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
1 changed files with 0 additions and 6 deletions
|
@ -133,12 +133,6 @@ bool shouldSkipFileForTarget(const std::string &fileID, const std::string &targe
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
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
|
// macOS target: we skip all files with the "_ios" suffix
|
||||||
if (name.length() > 4 && name.substr(name.length() - 4) == "_ios") {
|
if (name.length() > 4 && name.substr(name.length() - 4) == "_ios") {
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue