-
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
-
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 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.
- run
-
deploy it to your Android device:
build/android/adb_install_apk.py out/Default/apks/Brave.apk
- follow the link Make release builds
You should have at least Android 4.1(Jelly Bean) to run Brave. Min SDK version is 16.