/browser-android-tabs

Brave Android Browser

BSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Brave Android Browser

Get the code

  • check out and install the depot_tools package.

  • create browser-android-tabs dir

    mkdir browser-android-tabs

  • clone the repository to src folder:

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

Configure your build (You can only use a Linux build machine for Android builds)

  • you have to install yarn. We use it for sync functionality.

  • run script and it will download all third-parties. You will be asked for some interaction during that process. Follow that link when you asked to create a gn file gn file for debug

    sh scripts/getThirdParties.js

Build the full browser in debug mode

  • build browser:

    ninja -C out/Default chrome_public_apk

    If you have an error that it could not find the build.ninja file follow those steps:

    • run gn args out/Default manually and fill it using that link gn file for debug
    • start ninja -C out/Default chrome_public_apk again.
  • deploy it to your Android device:

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

Build the full browser in release mode

Debugging

  • follow that link for the general debug process;

  • follow that link to configure Eclipse IDE.

Android version

You should have at least Android 4.1(Jelly Bean) to run Brave. Min SDK version is 16.