summaryrefslogtreecommitdiffstats
path: root/tools/gn/filesystem_utils.h
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-03 07:45:42 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-03 07:45:42 +0000
commitee55eaceea8d7632a59761c603af0f4503db00df (patch)
tree2c6393cc0358643981cb6525a68ff2d587953059 /tools/gn/filesystem_utils.h
parent830552e1a5e807749a8f1c9c828fda1f024c74e7 (diff)
downloadchromium_src-ee55eaceea8d7632a59761c603af0f4503db00df.zip
chromium_src-ee55eaceea8d7632a59761c603af0f4503db00df.tar.gz
chromium_src-ee55eaceea8d7632a59761c603af0f4503db00df.tar.bz2
GN: Move towards only using / on Windows
Remove most of the \ handling code, and start some normalization to / as necessary. Paths that come from actions, etc. aren't validated yet. This makes the Windows build get farther, but now it fails with things similar to: ninja: Entering directory `out_gn2' ninja: error: WriteFile(obj/third_party/re2/re2/re2.unicode_groups.obj.rsp): Unable to create file. No such file or directory Looks like we're not creating the subtree for ninja to write rsp files to? Not sure. This removes the last argument from rebase_path, so might have some migration issues in landing the binary. R=brettw@chromium.org BUG=354626 Review URL: https://codereview.chromium.org/213353004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261311 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/gn/filesystem_utils.h')
-rw-r--r--tools/gn/filesystem_utils.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/gn/filesystem_utils.h b/tools/gn/filesystem_utils.h
index f720987..d2658c2 100644
--- a/tools/gn/filesystem_utils.h
+++ b/tools/gn/filesystem_utils.h
@@ -138,7 +138,6 @@ void NormalizePath(std::string* path);
// Converts slashes to backslashes for Windows. Keeps the string unchanged
// for other systems.
void ConvertPathToSystem(std::string* path);
-std::string PathToSystem(const std::string& path);
// Takes a source-absolute path (must begin with "//") and makes it relative
// to the given directory, which also must be source-absolute.