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

Method get_gn_args

deps/v8/tools/dev/gm.py:606–614  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

604 return []
605
606 def get_gn_args(self):
607 # Use only substring before first '-' as the actual mode
608 mode = re.match("([^-]+)", self.mode).group(1)
609 template = ARGS_TEMPLATES[mode]
610 arch_specific = (
611 self.get_target_cpu() + self.get_v8_target_cpu() +
612 self.get_target_os() + self.get_specialized_compiler() +
613 self.get_sandbox_flag())
614 return template % "\n".join(arch_specific)
615
616 def build(self):
617 path = self.path

Callers 2

buildMethod · 0.95
PrepareBuildDirFunction · 0.95

Calls 7

get_target_cpuMethod · 0.95
get_v8_target_cpuMethod · 0.95
get_target_osMethod · 0.95
get_sandbox_flagMethod · 0.95
matchMethod · 0.65
joinMethod · 0.45

Tested by

no test coverage detected