parent
4f930b6e42
commit
034a792df1
14 changed files with 138 additions and 108 deletions
|
@ -32,7 +32,10 @@ def main():
|
|||
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'
|
||||
if os.environ.get('TARGET_ARCH') == 'arm64':
|
||||
context_snapshot = 'v8_context_snapshot.arm64.bin'
|
||||
else:
|
||||
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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue