diff options
author | SupSuper | 2018-11-20 00:14:16 +0000 |
---|---|---|
committer | Thierry Crozat | 2018-12-16 10:48:13 +0000 |
commit | 5fce1ae46400576c7d65a9ea63ff1c00952cf71c (patch) | |
tree | 4ecce2728f2589d85b79305b45fe757d312f5b63 /devtools | |
parent | 952b12311cfbdc48ddae0dbc7b960cd17c8e2b1e (diff) | |
download | scummvm-rg350-5fce1ae46400576c7d65a9ea63ff1c00952cf71c.tar.gz scummvm-rg350-5fce1ae46400576c7d65a9ea63ff1c00952cf71c.tar.bz2 scummvm-rg350-5fce1ae46400576c7d65a9ea63ff1c00952cf71c.zip |
BACKENDS: Move OSX file browser into backend
Diffstat (limited to 'devtools')
-rw-r--r-- | devtools/create_project/xcode.cpp | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp index a04d250a3e..ed6baf6963 100644 --- a/devtools/create_project/xcode.cpp +++ b/devtools/create_project/xcode.cpp @@ -391,14 +391,6 @@ void XcodeProvider::writeFileListToProject(const FileNode &dir, std::ofstream &p // for folders, we shouldn't add folders as file references, obviously. if (node->children.empty()) { group->addChildFile(node->name); - - // HACK: Also add browser_osx.mm, since browser.cpp is added for - // iOS and browser_osx.mm for macOS, and create_project cannot - // deal with two competing exclusive ifdefs in module.mk going - // into one project - if (filePrefix.find("/gui/") == filePrefix.size() - 5 && node->name == "browser.cpp") { - group->addChildFile("browser_osx.mm"); - } } // Process child nodes if (!node->children.empty()) @@ -1121,11 +1113,6 @@ void XcodeProvider::setupAdditionalSources(std::string targetName, Property &fil if (targetIsIOS(targetName)) { const std::string absoluteCatalogPath = _projectRoot + "/dists/ios7/Images.xcassets"; ADD_SETTING_ORDER_NOVALUE(files, getHash(absoluteCatalogPath), "Image Asset Catalog", order++); - } else { - // HACK: browser_osx.mm needs to be added - const std::string browserPath = "gui/browser_osx.mm"; - const std::string comment = "browser_osx.mm in Sources"; - ADD_SETTING_ORDER_NOVALUE(files, getHash(browserPath), comment, order++); } } |