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

Method get_target_os

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

Source from the content-addressed store, hash-verified

585 return [f"v8_target_cpu = \"{v8_cpu}\""]
586
587 def get_target_os(self):
588 if self.arch in ("android_arm", "android_arm64", "android_riscv64"):
589 return ["target_os = \"android\""]
590 elif self.arch in ("fuchsia_x64", "fuchsia_arm64"):
591 return ["target_os = \"fuchsia\""]
592 return []
593
594 def get_specialized_compiler(self):
595 if _get_machine() in ("aarch64", "mips64", "loongarch64"):

Callers 1

get_gn_argsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected