diff --git a/.circleci/config.yml b/.circleci/config.yml index 4af4ec6f28e54..129ddceb78c11 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -542,8 +542,10 @@ step-mksnapshot-build: &step-mksnapshot-build if [ "`uname`" != "Darwin" ]; then if [ "$TARGET_ARCH" == "arm" ]; then electron/script/strip-binaries.py --file $PWD/out/Default/clang_x86_v8_arm/mksnapshot + electron/script/strip-binaries.py --file $PWD/out/Default/clang_x86_v8_arm/v8_context_snapshot_generator elif [ "$TARGET_ARCH" == "arm64" ]; then electron/script/strip-binaries.py --file $PWD/out/Default/clang_x64_v8_arm64/mksnapshot + electron/script/strip-binaries.py --file $PWD/out/Default/clang_x64_v8_arm64/v8_context_snapshot_generator else electron/script/strip-binaries.py --file $PWD/out/Default/mksnapshot electron/script/strip-binaries.py --file $PWD/out/Default/v8_context_snapshot_generator diff --git a/BUILD.gn b/BUILD.gn index 512f7a2c75bb7..03fcadaf6ff6f 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -1291,7 +1291,7 @@ dist_zip("electron_chromedriver_zip") { mksnapshot_deps = [ ":licenses", - "//tools/v8_context_snapshot:v8_context_snapshot_generator", + "//tools/v8_context_snapshot:v8_context_snapshot_generator($v8_snapshot_toolchain)", "//v8:mksnapshot($v8_snapshot_toolchain)", ]