-
Notifications
You must be signed in to change notification settings - Fork 1
Compiling WebCapsule
Roberto Perdisci edited this page Sep 21, 2015
·
14 revisions
Download and configure depot_tools
Download chromium/blink code
At checkout to initially fetch the code use:
fetch --nohooks chromium --nosvn=True
cd "$CHROMIUM_DIR"
sudo ./build/install-build-deps.sh
gclient sync
Checkout the Chromium LKGR branch.
cd "$CHROMIUM_DIR"
git checkout -b lkgr origin/lkgr
git pull
gclient sync
Reset the Chromium to the tested working version by executing:
cd "$CHROMIUM_DIR"
git reset --hard "45eed524365a1cbc612aba31ab36aafd7788d825"
gclient sync
git pull
gclient sync
Download the diff patch of WebCapsule here. Extract and copy it to $CHROMIUM_DIR.
Compile source code.
The first time you build our modified Chromium/Blink you should do a clean build by executing the following:
ninja -C out/Debug -t clean
./build/gyp_chromium
ninja -C out/Debug chrome
See here for running instruction.