CLOUD: Move openUrl to OSystem

This commit is contained in:
Thierry Crozat 2016-09-09 23:51:40 +01:00
parent dff88b1058
commit 1f2a50bcd3
20 changed files with 115 additions and 333 deletions

View file

@ -113,11 +113,6 @@ bool shouldSkipFileForTarget(const std::string &fileID, const std::string &targe
splitFilename(fileName, name, ext);
if (targetIsIOS(targetName)) {
// networking backend for iOS is openurl-default
if (name == "openurl-posix" || name == "openurl-osx") {
return true;
}
// iOS target: we skip all files with the "_osx" suffix
if (name.length() > 4 && name.substr(name.length() - 4) == "_osx") {
return true;
@ -156,11 +151,6 @@ bool shouldSkipFileForTarget(const std::string &fileID, const std::string &targe
if (directory.length() > iphone_directory.length() && directory.substr(directory.length() - iphone_directory.length()) == iphone_directory) {
return true;
}
// networking backend for macOS is openurl-osx
if (name == "openurl-default" || name == "openurl-posix") {
return true;
}
}
return false;
}