Please join our discord
A 64-bit Intel machine running Linux with at least 8GB of RAM. More than 16GB is highly recommended. At least 100GB of free disk space. You must have Git and Python installed already. Most development is done on Ubuntu. Other distros may or may not work; see the Linux instructions for some suggestions.
Building the Android client on Windows or Mac is not supported and doesn't work.
Developers should NOT work in an existing Chromium directory to avoid potential conflicts.
Clone the depot_tools repository:
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.gitAdd depot_tools to the end 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:/path/to/depot_tools"Create a chromium directory for the checkout and change to it (you can call this whatever you like and put it wherever you like, as long as the full path has no spaces):
mkdir ~/chromium && cd ~/chromium
fetch --nohooks --no-history android
gclient sync --nohooks --revision src@refs/tags/127.0.6498.0 --reset --upstream -D --force --no-history --shallowWhen fetch completes, it will have created a hidden .gclient file and a directory called src in the working directory. The remaining instructions assume you have switched to the src directory:
cd srcOnce you have checked out the code, run
build/install-build-deps.sh --androidOnce you've run install-build-deps at least once, you can now run the Chromium-specific hooks, which will download additional binaries and other things you might need:
gclient runhooksRun following command in chromium/src directory
gn args out/Defaultand add following arguments:
target_os = "android"
target_cpu = "arm64" # or x64Run following command in chromium/src directory
gn args out/Default
and add following arguments:
target_os = "android"
target_cpu = "arm64" # or x64
is_official_build = true
is_debug = false
symbol_level = 0
enable_nacl = false
proprietary_codecs = true
ffmpeg_branding = "Chrome"
remove_webcore_debug_symbols = true
# For the first build add this arg
update_android_aar_prebuilts = trueBuild Chromium with Ninja using the command:
autoninja -C out/Default chrome_public_apkChange path to root directory or parent directory of your chromium build.
cd ../..
git clone --depth 1 https://github.com/wootzapp/wootz-browser.gitAdding Wootzapp on the top of chromium build.
sudo chmod -R u+w chromium/src/
cp -r wootz-browser/src/* chromium/src/
cd ~/chromiumsolutions = [
{
"name": "src",
"url": "https://chromium.googlesource.com/chromium/src.git",
"managed": False,
"custom_deps": {},
"custom_vars": {
"checkout_pgo_profiles": True
},
},
]
target_os = ["android"]gclient runhookscd src
#### Install WebUI deps With node v18
npm i --legacy-peer-depsautoninja -C out/Default chrome_public_apkDocumentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
This project is tested with BrowserStack. And is part of the Near Rewards program
Wootzapp is licensed under the GNU Affero General Public License v3.0 and as commercial software. For commercial licensing, please contact us or raise an issue in this github.
