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

Function BuildFileTargets

tools/gyp/pylib/gyp/common.py:313–315  ·  view source on GitHub ↗

From a target_list, returns the subset from the specified build_file.

(target_list, build_file)

Source from the content-addressed store, hash-verified

311
312
313def BuildFileTargets(target_list, build_file):
314 """From a target_list, returns the subset from the specified build_file."""
315 return [p for p in target_list if BuildFile(p) == build_file]
316
317
318def AllTargets(target_list, target_dicts, build_file):

Callers 1

AllTargetsFunction · 0.85

Calls 1

BuildFileFunction · 0.85

Tested by

no test coverage detected