MCPcopy Create free account
hub / github.com/nodejs/node / AddToolFile

Method AddToolFile

tools/gyp/pylib/gyp/MSVSProject.py:84–90  ·  view source on GitHub ↗

Adds a tool file to the project. Args: path: Relative path from project to tool file.

(self, path)

Source from the content-addressed store, hash-verified

82 self.files_dict = {}
83
84 def AddToolFile(self, path):
85 """Adds a tool file to the project.
86
87 Args:
88 path: Relative path from project to tool file.
89 """
90 self.tool_files_section.append(["ToolFile", {"RelativePath": path}])
91
92 def _GetSpecForConfiguration(self, config_type, config_name, attrs, tools):
93 """Returns the specification for a configuration.

Callers 2

_AddToolFilesToMSVSFunction · 0.80

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected