build: rename the v8 context snapshot on arm64 macOS builds (#26086)

* chore: rename the v8 context snapshot on arm64 macOS builds

* build: update zip manifests

* build: update to upstream patch
This commit is contained in:
Samuel Attard 2020-10-27 13:50:57 -07:00 committed by GitHub
parent 98b0ccbdb1
commit 760c4aeb3e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 707 additions and 7 deletions

View file

@ -3,6 +3,7 @@ from __future__ import print_function
import argparse
import glob
import os
import platform
import shutil
import subprocess
import sys
@ -30,6 +31,8 @@ def main():
subprocess.check_call(mkargs + [ SNAPSHOT_SOURCE ], cwd=app_path)
print('ok mksnapshot successfully created snapshot_blob.bin.')
context_snapshot = 'v8_context_snapshot.bin'
if platform.system() == 'Darwin':
context_snapshot = 'v8_context_snapshot.x86_64.bin'
context_snapshot_path = os.path.join(app_path, context_snapshot)
gen_binary = get_binary_path('v8_context_snapshot_generator', \
app_path)