From add7b5b4c288e480ff16b77e7363b96cedeb4dd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sat, 3 Jul 2021 16:56:38 +0200 Subject: [PATCH] deps: V8: cherry-pick cc641f6be756 Original commit message: Add a simple gclient_args.gni file to V8 Bug: v8:9914 Change-Id: I0bae9aadd89876e8505e1388903c86777694ee09 Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/1890100 Reviewed-by: Michael Achenbach Commit-Queue: Maya Lekova Cr-Commit-Position: refs/heads/master@{#64680} Refs: https://github.com/v8/v8/commit/cc641f6be7561c166409a04c75199746f8a43ddd PR-URL: https://github.com/nodejs/node/pull/39245 Refs: https://github.com/nodejs/build/issues/2696 Reviewed-By: Richard Lau --- common.gypi | 2 +- deps/v8/DEPS | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/common.gypi b/common.gypi index a7c1e4623e6..2f5b153ca4b 100644 --- a/common.gypi +++ b/common.gypi @@ -34,7 +34,7 @@ # Reset this number to 0 on major V8 upgrades. # Increment by one for each non-official patch applied to deps/v8. - 'v8_embedder_string': '-node.51', + 'v8_embedder_string': '-node.52', ##### V8 defaults for Node.js ##### diff --git a/deps/v8/DEPS b/deps/v8/DEPS index 7eaa7fc5b57..8d7e1568307 100644 --- a/deps/v8/DEPS +++ b/deps/v8/DEPS @@ -2,7 +2,15 @@ # directory and assume that the root of the checkout is in ./v8/, so # all paths in here must match this assumption. +gclient_gn_args_file = 'v8/build/config/gclient_args.gni' +gclient_gn_args = [ + 'checkout_aemu' +] + vars = { + # By Default, do not checkout AEMU, as it is too big, as is done in Chromium. + 'checkout_aemu': False, + # Fetches only the SDK boot images which match at least one of the whitelist # entries in a comma-separated list. #