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

Function AddHeaderToTarget

tools/gyp/pylib/gyp/generator/xcode.py:554–558  ·  view source on GitHub ↗
(header, pbxp, xct, is_public)

Source from the content-addressed store, hash-verified

552
553
554def AddHeaderToTarget(header, pbxp, xct, is_public):
555 # TODO(mark): Combine with AddSourceToTarget above? Or just inline this call
556 # where it's used.
557 settings = "{ATTRIBUTES = (%s, ); }" % ("Private", "Public")[is_public]
558 xct.HeadersPhase().AddFile(header, settings)
559
560
561_xcode_variable_re = re.compile(r"(\$\((.*?)\))")

Callers 1

GenerateOutputFunction · 0.85

Calls 2

AddFileMethod · 0.80
HeadersPhaseMethod · 0.80

Tested by

no test coverage detected