GithubHelp home page GithubHelp logo

soitun / browser-android-tabs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mindaptiv/chromium

0.0 2.0 0.0 3.3 GB

Brave Android Browser

Home Page: https://brave.com

License: BSD 3-Clause "New" or "Revised" License

browser-android-tabs's Introduction

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.

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

browser-android-tabs's People

Contributors

alexeybarabash avatar bmintz avatar jacalz avatar jamesmudgett avatar jumde avatar rarcher avatar rossmoody avatar samartnik avatar sergeyzhukovsky avatar srirambv avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.