Brave Android Browser
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
ad-block @ 9e4aeed AdBlock, tp submodules update Aug 8, 2018
android_webview Fixes or build after rebase Aug 8, 2018
apps Initial 68.0.3440.91 Aug 8, 2018
ash Initial 68.0.3440.91 Aug 8, 2018
base Fixed crash on low end device detection Aug 8, 2018
blink Initial 68.0.3440.91 Aug 8, 2018
bloom-filter-cpp @ 635780b Updated adblock to v4 Aug 8, 2018
braveSync @ 350c7af New strings Aug 8, 2018
build Fixed validation of file names from ZipInputStream before writing to … Aug 8, 2018
build_overrides Initial 68.0.3440.91 Aug 8, 2018
cc Initial 68.0.3440.91 Aug 8, 2018
chrome Added additional checks for potentially dangerous operations Aug 15, 2018
chrome_elf Initial 68.0.3440.91 Aug 8, 2018
chromecast Initial 68.0.3440.91 Aug 8, 2018
chromeos Initial 68.0.3440.91 Aug 8, 2018
cloud_print Initial 68.0.3440.91 Aug 8, 2018
components Strings correction Aug 8, 2018
content Set Brave UA Aug 16, 2018
courgette Initial 68.0.3440.91 Aug 8, 2018
crypto Initial 68.0.3440.91 Aug 8, 2018
dbus Initial 68.0.3440.91 Aug 8, 2018
device Initial 68.0.3440.91 Aug 8, 2018
docs Initial 68.0.3440.91 Aug 8, 2018
extensions Initial 68.0.3440.91 Aug 8, 2018
gin Initial 68.0.3440.91 Aug 8, 2018
google_apis Initial 68.0.3440.91 Aug 8, 2018
google_update Initial 68.0.3440.91 Aug 8, 2018
gpu Initial 68.0.3440.91 Aug 8, 2018
hashset-cpp @ f86b0a5 Updated adblock to v4 Aug 8, 2018
headless Initial 68.0.3440.91 Aug 8, 2018
infra Initial 68.0.3440.91 Aug 8, 2018
ios re-merge after rebase for IncognitoShields issue Aug 8, 2018
ipc Initial 68.0.3440.91 Aug 8, 2018
jingle Initial 68.0.3440.91 Aug 8, 2018
mash Initial 68.0.3440.91 Aug 8, 2018
media Fixed build for cr-68 Aug 8, 2018
mojo Initial 68.0.3440.91 Aug 8, 2018
native_client_sdk Initial 68.0.3440.91 Aug 8, 2018
net User Refferal Program (cert chain pinning, code clean up) Aug 8, 2018
niceware @ 6d181f2 Sync(not finished) Aug 8, 2018
pdf Initial 68.0.3440.91 Aug 8, 2018
ppapi Initial 68.0.3440.91 Aug 8, 2018
printing Initial 68.0.3440.91 Aug 8, 2018
remoting Changed blue color according to Brave colors Aug 8, 2018
rlz Initial 68.0.3440.91 Aug 8, 2018
sandbox Initial 68.0.3440.91 Aug 8, 2018
scripts Updated dependencies (do not merge on rebase) Aug 8, 2018
services Initial 68.0.3440.91 Aug 8, 2018
skia Initial 68.0.3440.91 Aug 8, 2018
sql Initial 68.0.3440.91 Aug 8, 2018
storage Initial 68.0.3440.91 Aug 8, 2018
styleguide Initial 68.0.3440.91 Aug 8, 2018
sync Sync work Aug 8, 2018
testing Initial 68.0.3440.91 Aug 8, 2018
third_party Added inspector_protocol, usb_ids, node-linux-x64 (do not merge on re… Aug 8, 2018
tools Fixed script for rebranding Aug 8, 2018
tracking-protection @ ea26692 AdBlock, tp submodules update Aug 8, 2018
ui Changed blue color according to Brave colors Aug 8, 2018
url Initial 68.0.3440.91 Aug 8, 2018
webrunner Initial 68.0.3440.91 Aug 8, 2018
.clang-format Initial 68.0.3440.91 Aug 8, 2018
.eslintrc.js Initial 68.0.3440.91 Aug 8, 2018
.git-blame-ignore-revs Initial 68.0.3440.91 Aug 8, 2018
.gitattributes Initial 68.0.3440.91 Aug 8, 2018
.gitignore Additional changes for adblock v4 Aug 8, 2018
.gitmodules Sync(not finished) Aug 8, 2018
.gn Initial 68.0.3440.91 Aug 8, 2018
.vpython Initial 68.0.3440.91 Aug 8, 2018
AUTHORS Initial 68.0.3440.91 Aug 8, 2018
BUILD.gn Initial 68.0.3440.91 Aug 8, 2018
CODE_OF_CONDUCT.md Initial 68.0.3440.91 Aug 8, 2018
DEPS Initial 68.0.3440.91 Aug 8, 2018
ENG_REVIEW_OWNERS Initial 68.0.3440.91 Aug 8, 2018
ISSUE_TEMPLATE.md new issue template Aug 8, 2018
LICENSE Initial 68.0.3440.91 Aug 8, 2018
LICENSE.chromium_os Initial 68.0.3440.91 Aug 8, 2018
OWNERS Initial 68.0.3440.91 Aug 8, 2018
PRESUBMIT.py Initial 68.0.3440.91 Aug 8, 2018
PRESUBMIT_test.py Initial 68.0.3440.91 Aug 8, 2018
PRESUBMIT_test_mocks.py Initial 68.0.3440.91 Aug 8, 2018
README.md Update README.md Aug 8, 2018
WATCHLISTS Initial 68.0.3440.91 Aug 8, 2018
brave_version.xml 1.0.54 release notes Aug 9, 2018
codereview.settings Initial 68.0.3440.91 Aug 8, 2018

README.md

Brave Android Browser

Building the Browser

System Requirements

  • OS Linux, Ubuntu (14.04 - 17.10) is completely supported. Other distros may or may not work
  • Make sure you have enough swapspace available
  • yarn (including Node, it is required for ubuntu 17.04 as well)
  • ninja

Preparing the Build Environment

  1. Clone Chromium's depot_tools repository:

    git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git

  2. Add the absolute path of the cloned directory to the end of your PATH variable (You may want to put this in ~/.bashrc or ~/.zshrc.). Assuming you cloned depot_tools to /path/to/depot_tools:

    export PATH=$PATH:/path/to/depot_tools

  3. Create a browser-android-tabs parent directory:

    mkdir browser-android-tabs

  4. Switch to the directory you just created:

    cd browser-android-tabs

  5. Clone the repository to the src subdirectory:

    git clone https://github.com/brave/browser-android-tabs.git src

  6. Switch to the directory you just cloned:

    cd src

  7. Execute the scripts/getThirdParties.js script:

    sh scripts/getThirdParties.js

  8. Enter information as requested by the script. When asked to create a file for arguments, use this gn file.

Making the Build

Debug

  1. From the browser-android-tabs/src directory, execute the following:

    ninja -C out/Default chrome_public_apk

  2. Deploy it to your Android device:

    build/android/adb_install_apk.py out/Default/apks/Brave.apk

Release (arm)

  1. Create configuration in a new folder:

    gn args out/DefaultR

  2. Set these settings in args.gn file.

  3. From the browser-android-tabs/src directory, execute the following:

    ninja -C out/DefaultR chrome_public_apk

  4. Sign apk using these steps.

Release (x86)

  1. Create configuration in a new folder:

    gn args out/Defaultx86

  2. Set these settings in args.gn file.

  3. From the browser-android-tabs/src directory, execute the following:

    ninja -C out/Defaultx86 chrome_public_apk

  4. Sign apk using these steps.

Known Limitations

  • The browser will not compile in an encrypted file system.

Debugging