Use v8 9.9 version instead of 6.0 on macOS (use_v8 version)

This commit is contained in:
Oleg.Korshul
2023-05-15 17:40:32 +05:00
parent dab33a829b
commit 702952740f
2 changed files with 6 additions and 3 deletions

View File

@ -99,7 +99,10 @@ def make():
os.chdir("v8")
base.cmd("git", ["config", "--system", "core.longpaths", "true"])
os.chdir("../")
base.cmd("./depot_tools/gclient", ["sync", "-r", "remotes/branch-heads/8.9"], True)
v8_branch_version = "remotes/branch-heads/8.9"
if ("mac" == base.host_platform()):
v8_branch_version = "remotes/branch-heads/9.9"
base.cmd("./depot_tools/gclient", ["sync", "-r", v8_branch_version], True)
base.cmd("gclient", ["sync", "--force"], True)
base.copy_dir("./v8/third_party_new/ninja", "./v8/third_party/ninja")