def _ToGypPath(path):
  if os.sep == '\\' and os.altsep == '/':
    return path.replace('\\', '/')
  return path
Converts a path to the format used by gyp.
dataset/ETHPy150Open pyokagan/gyp/pylib/gyp/generator/analyzer.py/_ToGypPath