From 3f4c867599732eef29ee3ddaad5adff5c97da001 Mon Sep 17 00:00:00 2001 From: Samuel Attard Date: Sat, 22 Aug 2020 02:23:14 -0700 Subject: [PATCH] build: remove mksnapshot token file --- .circleci/config.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 4e5c5f733da8..00078d774b14 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -520,7 +520,6 @@ step-electron-build: &step-electron-build ninja -C out/Default electron:electron_mksnapshot_zip -j $NUMBER_OF_NINJA_PROCESSES ninja -C out/Default tools/v8_context_snapshot -j $NUMBER_OF_NINJA_PROCESSES gn desc out/Default v8:run_mksnapshot_default args > out/Default/mksnapshot_args - touch out/Default/.electron_mksnapshot_zip_done rm -rf out/Default/clang_x64_v8_arm64/obj # Regenerate because we just deleted some ninja files @@ -779,7 +778,7 @@ step-mksnapshot-build: &step-mksnapshot-build name: mksnapshot build command: | cd src - if [ ! -s "out/Default/.electron_mksnapshot_zip_done" ]; then + if [ "$USE_PREBUILT_V8_CONTEXT_SNAPSHOT" != "1" ]; 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 +794,7 @@ step-mksnapshot-build: &step-mksnapshot-build electron/script/strip-binaries.py --file $PWD/out/Default/v8_context_snapshot_generator fi fi - if [ ! -s "out/Default/.electron_mksnapshot_zip_done" ] && [ "$SKIP_DIST_ZIP" != "1" ]; then + if [ "$USE_PREBUILT_V8_CONTEXT_SNAPSHOT" != "1" ] && [ "$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