MCPcopy Index your code
hub / github.com/nodejs/node / WriteIsolateFiles

Method WriteIsolateFiles

deps/v8/tools/mb/mb.py:893–912  ·  view source on GitHub ↗
(self, build_dir, target, runtime_deps)

Source from the content-addressed store, hash-verified

891 return possible_runtime_deps_rpaths
892
893 def WriteIsolateFiles(self, build_dir, target, runtime_deps):
894 isolate_path = self.ToAbsPath(build_dir, target + '.isolate')
895 self.WriteFile(isolate_path,
896 pprint.pformat({
897 'variables': {
898 'files': sorted(runtime_deps),
899 }
900 }) + '\n')
901
902 self.WriteJSON(
903 {
904 'args': [
905 '--isolate',
906 self.ToSrcRelPath('%s/%s.isolate' % (build_dir, target)),
907 ],
908 'dir': self.chromium_src_dir,
909 'version': 1,
910 },
911 isolate_path + 'd.gen.json',
912 )
913
914 def MapTargetsToLabels(self, isolate_map, targets):
915 labels = []

Callers 2

RunGNGenMethod · 0.95
RunGNIsolateMethod · 0.95

Calls 5

ToAbsPathMethod · 0.95
WriteFileMethod · 0.95
WriteJSONMethod · 0.95
ToSrcRelPathMethod · 0.95
sortedFunction · 0.85

Tested by

no test coverage detected