Last active
January 1, 2018 15:55
-
-
Save elisam98/81dea6cd2ef1b6f79e10ae9c10831b01 to your computer and use it in GitHub Desktop.
This file contains hidden or 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/sh | |
apt update | |
apt upgrade -y | |
apt install git python -y | |
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git | |
echo 'export PATH="$PATH:/root/depot_tools"' >> ~/.bashrc | |
source ~/.bashrc | |
mkdir ~/chromium && cd ~/chromium | |
fetch --nohooks --no-history android | |
cd src | |
gclient sync | |
build/install-build-deps-android.sh | |
gclient runhooks | |
gn gen --args='target_os="android"' out/Default | |
ninja -C out/Default chrome_modern_public_apk | |
exit 0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment