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

Function _UpdateAbseilInChromium

deps/v8/third_party/abseil-cpp/roll_abseil.py:51–73  ·  view source on GitHub ↗
(abseil_dir, chromium_dir)

Source from the content-addressed store, hash-verified

49
50
51def _UpdateAbseilInChromium(abseil_dir, chromium_dir):
52 logging.info('Syncing abseil in chromium/src/third_party...')
53 exclude = [
54 '*BUILD.gn',
55 'DIR_METADATA',
56 'README.chromium',
57 'OWNERS',
58 '.clang-format-ignore',
59 '.git',
60 '.gitignore',
61 '*.gni',
62 '*clang-format',
63 'patches/*',
64 'patches',
65 'absl_hardening_test.cc',
66 'roll_abseil.py',
67 'generate_def_files.py',
68 '*.def',
69 ]
70 params = ['rsync', '-aP', abseil_dir, os.path.join(chromium_dir, 'third_party'), '--delete']
71 for e in exclude:
72 params.append('--exclude={}'.format(e))
73 subprocess.check_call(params, cwd=chromium_dir)
74
75
76def _PatchAbseil(abseil_in_chromium_dir):

Callers 1

_RollFunction · 0.85

Calls 4

infoMethod · 0.80
formatMethod · 0.65
joinMethod · 0.45
appendMethod · 0.45

Tested by

no test coverage detected