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

Method AppendBuildFile

tools/gyp/pylib/gyp/xcodeproj_file.py:1946–1953  ·  view source on GitHub ↗
(self, pbxbuildfile, path=None)

Source from the content-addressed store, hash-verified

1944 self._files_by_xcfilelikeelement[xcfilelikeelement] = pbxbuildfile
1945
1946 def AppendBuildFile(self, pbxbuildfile, path=None):
1947 # Callers should use this instead of calling
1948 # AppendProperty('files', pbxbuildfile) directly because this function
1949 # maintains the object's dicts. Better yet, callers can just call AddFile
1950 # with a pathname and not worry about building their own PBXBuildFile
1951 # objects.
1952 self.AppendProperty("files", pbxbuildfile)
1953 self._AddBuildFileToDicts(pbxbuildfile, path)
1954
1955 def AddFile(self, path, settings=None):
1956 (file_group, hierarchical) = self.FileGroup(path)

Callers 1

AddFileMethod · 0.95

Calls 2

_AddBuildFileToDictsMethod · 0.95
AppendPropertyMethod · 0.80

Tested by

no test coverage detected