def AddArch(output, arch):
  output, extension = os.path.splitext(output)
  return '%s.%s%s' % (output, arch, extension)
Adds an arch string to an output path.
dataset/ETHPy150Open adblockplus/gyp/pylib/gyp/generator/ninja.py/AddArch