parameters: (self, ldflags, gyp_to_build_path)
docstring: .def files get implicitly converted to a ModuleDefinitionFile for the
      linker in the VS generator. Emulate that behaviour here.
docstring_summary: .def files get implicitly converted to a ModuleDefinitionFile for the
      linker in the VS generator. Emulate that behaviour here.
docstring_tokens: . def files get implicitly converted to a ModuleDefinitionFile for the linker in the VS generator . Emulate that behaviour here .
function: def _GetDefFileAsLdflags(self, ldflags, gyp_to_build_path):
      """.def files get implicitly converted to a ModuleDefinitionFile for the
      linker in the VS generator. Emulate that behaviour here."""
      def_file = self.GetDefFile(gyp_to_build_path)
      if def_file:
        ldflags.append('/DEF:"%s"' % def_file)
function_tokens: def _GetDefFileAsLdflags ( self , ldflags , gyp_to_build_path ) : def_file = self . GetDefFile ( gyp_to_build_path ) if def_file : ldflags . append ( '/DEF:"%s"' % def_file )