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

Function _GenerateDefFile

deps/v8/third_party/abseil-cpp/generate_def_files.py:131–138  ·  view source on GitHub ↗

Generates a .def file for the absl component build on the specified CPU.

(cpu, is_debug, use_cxx23, extra_gn_args=[], suffix=None)

Source from the content-addressed store, hash-verified

129
130
131def _GenerateDefFile(cpu, is_debug, use_cxx23, extra_gn_args=[], suffix=None):
132 """Generates a .def file for the absl component build on the specified CPU."""
133 cwd = os.getcwd()
134 with tempfile.TemporaryDirectory(dir=os.path.join(cwd, 'out')) as out_dir:
135 _GenerateDefFileBuild(cpu, is_debug, use_cxx23, extra_gn_args, suffix, out_dir, cwd)
136
137 # Hack, it looks like there is a race in the directory cleanup.
138 time.sleep(10)
139
140
141if __name__ == '__main__':

Callers 1

Calls 3

_GenerateDefFileBuildFunction · 0.85
sleepMethod · 0.80
joinMethod · 0.45

Tested by

no test coverage detected