def build(self, gyp_file, target=None, rebuild=False, clean=False, **kw):
    configuration = self.configuration_buildname()
    if clean:
      build = '/Clean'
    elif rebuild:
      build = '/Rebuild'
    else:
      build = '/Build'
    arguments = kw.get('arguments', [])[:]
    arguments.extend([gyp_file.replace('.gyp', '.sln'),
                      build, configuration])
    # Note:  the Visual Studio generator doesn't add an explicit 'all'
    # target, so we just treat it the same as the default.
    if target not in (None, self.ALL, self.DEFAULT):
      arguments.extend(['/Project', target])
    if self.configuration:
      arguments.extend(['/ProjectConfig', self.configuration])
    kw['arguments'] = arguments
    return self.run(program=self.build_tool, **kw)
Extract headers from email
dataset/ETHPy150Open adblockplus/gyp/test/lib/TestGyp.py/TestGypMSVS.build--crossover with--dataset/ETHPy150Open khamidou/kite/src/back/kite/maildir.py/extract_email_headers