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


CrOS-Libchrome-Original-Commit: ee55eaceea8d7632a59761c603af0f4503db00df
2 files changed
tree: 77ea2d450801acae1ad82527d2cdeaf2eacefbf2
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. ipc/
  6. mojo/
  7. testing/
  8. third_party/
  9. ui/