Skip to content

Instantly share code, notes, and snippets.

@leobalter
Created July 11, 2016 21:05
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save leobalter/1bcfe646c4e66203d393b148fcf28786 to your computer and use it in GitHub Desktop.
Save leobalter/1bcfe646c4e66203d393b148fcf28786 to your computer and use it in GitHub Desktop.
# https://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html#_setting_up
- name: install Google's depot tools to fetch and sync v8
git:
repo=https://chromium.googlesource.com/chromium/tools/depot_tools.git
dest=/srv/depot_tools
- name: fetch v8
git:
repo=https://chromium.googlesource.com/v8/v8.git
dest=/srv/v8
- name: config gclient
command: /srv/depot_tools/gclient config "https://chromium.googlesource.com/v8/v8.git"
args:
chdir: /srv/v8/
creates: /srv/.gclient
# https://github.com/v8/v8/wiki/Building%20with%20Gyp#building-v8
- name: sync v8 folder
command: /srv/depot_tools/gclient sync
args:
chdir: /srv/v8/
- name: build v8 (Grab a coffee)
make:
chdir: /srv/v8/
target: native
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment