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 adblockplus/gyp/pylib/gyp/generator/analyzer.py/_ToGypPath