Mobile version of the Agregore browser for Android, based on Chromium and Bromite
WORK IN PROGRESS
This codebase is based on Chromium Android and Bromite.
How it works:
./setup.py
to do the initial folder setup.
./depot_tools
./chromium
(this takes huge amounts of space)Bromite
source tree is set up in ./bromite
(this doesn't take much space)./checkout_bromite_tag.py
to checkout the correct version of bromite to base the browser on
bromite_tag.txt
is where you can update the bromite version to build on top of./apply_bromite_patches.py
to checkout the correct version of Chromium and to apply the bromite patches to it
./apply_agregore_patches.py
to apply Agregore patches to the Chromium tree
./download_ipfs_daemon.py
to download the latest version of the Agregore IPFS Daemon
daemon_tag.txt
, update this with new versionschromium/src/third_party/agregore-ipfs-daemon/agregore-ipfs-daemon.aar
./prebuild.py
to sync dependencies needed to perform a build.
./build.py
to trigger a new build of the browser
patches
folder contains Agregore-specific patches on top of Chromium./generate_patch.py
To generate a new patch based on the latest Commit inside Chromium/src
--n
for the number of commits to include in the patch if you want something other than the latest one.git rebase -i HEAD~<n>
where n
is the number of commits you want to squash.apply_agregore_patches.py
to apply them on the build serverchromium/src
git add -A
to track newly added filesgit commit -am "some message"
to commit your changes
AG
since this will be the patch namecd ../../
back to the root of agregore-mobile./generate_patch.py
to generate a new patchgit add -A
to track the new patchgit commit -am "Added patch for bla bla bla"
to commit your patch to the main repogit push
chromium/src
git add -A
to track the new files or remove deleted ones.git commit -am "some message"
to commit your changes
git rebase HEAD~2
to start rebasing the commit history (with the goal of sqashing your previous commit into your patch commit)
2
means "the latest commit, and the one before that", if you have more commits that you want to squash, increase this numbercd ../../
to go back to the agregore-mobile directory./generate_patch.py
to re-generate the patch contentgit commit -am "the actual commit message for you change"
to commit changes to your patchgit push
to push the latest version of your patch outgit pull
to get the latest chnages./undo_last_patch.py
to undo the latest version of the patch./apply_agregore_patches.py
to re-apply the latest versions of the patches../generate_patch.py
to generate a pachssh root@build.mauve.moe
./apply_agregore_patches.py
./build.py