replace 127.0.0.1:1087 with your http proxy host:port
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git # Add depot_tools to the front of your PATH (you will probably want to put this in your ~/.bashrc or ~/.zshrc). Assuming you cloned depot_tools to /path/to/depot_tools: export PATH=/path/to/depot_tools:$PATH
# https://v8.dev/docs/build # https://chromium.googlesource.com/v8/v8.git or fetch v8 cd v8 gclient sync tools/dev/gm.py x64.release
# output smileorigin@Galaxy-MacBook-Pro v8 % tools/dev/gm.py x64.release # gn gen out/x64.release Done. Made 153 targets from 88 files in 685ms # autoninja -C out/x64.release d8 ninja: Entering directory `out/x64.release` [1502/1502] LINK ./d8 Done! - V8 compilation finished successfully.
# recommand adding these to your ~/.bashrc or ~/.zshrc V8_HOME='/path/to/v8' alias d8=$V8_HOME/out/x64.release/d8 alias tick-processor=$V8_HOME/tools/mac-tick-processor export D8_PATH=$V8_HOME/repo/out/x64.release
Failed to fetch file gs://chromium-gn/
1 2 3 4 5 6 7
# log Failed to fetch file gs://chromium-gn/a68b194afb05d6a6357cf2e2464136ed7723c305 for src/buildtools/mac/gn. ... Error: Command 'download_from_google_storage --no_resume --platform=darwin --no_auth --bucket chromium-gn -s src/buildtools/mac/gn.sha1' returned non-zero exit status ...