From 74f9e0dfc0541597131c50230634d99488273d25 Mon Sep 17 00:00:00 2001 From: SupSuper Date: Mon, 1 Jul 2019 01:57:26 +0100 Subject: CREATE_PROJECT: Remove obsolete "browser.cpp" hack browser.cpp no longer depends on the target platform since pull request #1414 --- devtools/create_project/xcode.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'devtools') diff --git a/devtools/create_project/xcode.cpp b/devtools/create_project/xcode.cpp index abfa3f0c10..8312a3ce10 100644 --- a/devtools/create_project/xcode.cpp +++ b/devtools/create_project/xcode.cpp @@ -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; -- cgit v1.2.3