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

Class PBXFrameworksBuildPhase

tools/gyp/pylib/gyp/xcodeproj_file.py:2006–2022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2004
2005
2006class PBXFrameworksBuildPhase(XCBuildPhase):
2007 # No additions to the schema relative to XCBuildPhase.
2008
2009 def Name(self):
2010 return "Frameworks"
2011
2012 def FileGroup(self, path):
2013 (_root, ext) = posixpath.splitext(path)
2014 if ext != "":
2015 ext = ext[1:].lower()
2016 if ext == "o":
2017 # .o files are added to Xcode Frameworks phases, but conceptually aren't
2018 # frameworks, they're more like sources or intermediates. Redirect them
2019 # to show up in one of those other groups.
2020 return self.PBXProjectAncestor().RootGroupForPath(path)
2021 else:
2022 return (self.PBXProjectAncestor().FrameworksGroup(), False)
2023
2024
2025class PBXShellScriptBuildPhase(XCBuildPhase):

Callers 2

PBXNativeTargetClass · 0.85
FrameworksPhaseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected