Created
May 23, 2016 08:41
-
-
Save minhng99/ce5eaab8f1db7deb43f9a3c3e93c35d7 to your computer and use it in GitHub Desktop.
Instruction of build Android System WebView
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Install depot_tools | |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git /opt/depot_tools --depth=1 | |
export PATH=/opt/depot_tools:"$PATH" | |
# Cloning Chromium source | |
mkdir chromium | |
cd chromium | |
fetch --nohooks android | |
echo "y" | gclient runhooks | |
# Checkout specified version | |
cd src/ | |
git fetch --tags | |
git checkout 40.0.2214.115 | |
gclient sync --with_branch_heads --jobs 16 | |
# Sync with HEAD version | |
gclient sync -j20 | |
# (Optional) for Chromium 44.x and above | |
echo "y" | build/install-android-sdks.sh | |
# Start build | |
build/gyp_chromium -DOS=android | |
ninja -C out/Release system_webview_apk |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment