build: fix electron_mksnapshot_zip_done check
This commit is contained in:
parent
02f5ffbaac
commit
3e2d959817
1 changed files with 2 additions and 2 deletions
|
@ -779,7 +779,7 @@ step-mksnapshot-build: &step-mksnapshot-build
|
|||
name: mksnapshot build
|
||||
command: |
|
||||
cd src
|
||||
if [ ! -s "src/out/Default/.electron_mksnapshot_zip_done" ]; then
|
||||
if [ ! -s "out/Default/.electron_mksnapshot_zip_done" ]; then
|
||||
ninja -C out/Default electron:electron_mksnapshot -j $NUMBER_OF_NINJA_PROCESSES
|
||||
gn desc out/Default v8:run_mksnapshot_default args > out/Default/mksnapshot_args
|
||||
fi
|
||||
|
@ -795,7 +795,7 @@ step-mksnapshot-build: &step-mksnapshot-build
|
|||
electron/script/strip-binaries.py --file $PWD/out/Default/v8_context_snapshot_generator
|
||||
fi
|
||||
fi
|
||||
if [ ! -s "src/out/Default/.electron_mksnapshot_zip_done" ] && [ "$SKIP_DIST_ZIP" != "1" ]; then
|
||||
if [ ! -s "out/Default/.electron_mksnapshot_zip_done" ] && [ "$SKIP_DIST_ZIP" != "1" ]; then
|
||||
ninja -C out/Default electron:electron_mksnapshot_zip -j $NUMBER_OF_NINJA_PROCESSES
|
||||
(cd out/Default; zip mksnapshot.zip mksnapshot_args gen/v8/embedded.S)
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue