browser-android-tabs

Brave Android Browser

Github星跟蹤圖

Brave Android Browser

Building the Browser

System Requirements

  • OS Linux, Ubuntu (14.04 - 18.04) is completely supported. Other distros may or may not work
  • Make sure you have enough swapspace available
  • node

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.

  9. Run gn args out/Default. 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.

Build release apks with ./scripts/buildReleasesAllAndModern.sh

To run build release script and compress symbols, pv and 7z are required:

sudo apt-get update
sudo apt-get install pv
sudo apt-get install p7zip-full

Known Limitations

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

Debugging

主要指標

概覽
名稱與所有者brave/browser-android-tabs
主編程語言
編程語言 (語言數: 0)
平台
許可證Other
所有者活动
創建於2016-07-12 16:27:24
推送於2020-01-29 15:45:23
最后一次提交2019-01-03 13:52:41
發布數296
最新版本名稱v1.7.1 (發布於 2020-01-27 10:13:47)
第一版名稱v54-beta (發布於 2016-10-02 17:29:46)
用户参与
星數785
關注者數80
派生數212
提交數465
已啟用問題?
問題數1872
打開的問題數607
拉請求數429
打開的拉請求數14
關閉的拉請求數78
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?