在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
Brave BrowserOverviewThis repository holds the build tools needed to build the Brave desktop browser for macOS, Windows, and Linux. In particular, it fetches and syncs code from the projects we define in
DownloadsYou can visit our website to get the latest stable release. Other repositoriesFor other versions of our browser, please see:
ContributingPlease see the contributing guidelines CommunityJoin the Q&A community if you'd like to get more involved with Brave. You can ask for help,discuss features you'd like to see, and a lot more. We'd love to have your help so that we can continue improving Brave. Help us translate Brave to your language by submitting translations at https://www.transifex.com/brave/brave/ Follow @brave on Twitter for important news and announcements. Install prerequisitesFollow the instructions for your platform: Clone and initialize the repoOnce you have the prerequisites installed, you can get the code and initialize the build environment. git clone [email protected]:brave/brave-browser.gitcd brave-browsernpm install# this takes 30-45 minutes to run# the Chromium source is downloaded which has a large historynpm run init brave-core based android builds should use You can also set the target_os and target_arch for init and build using npm config set target_os androidnpm config set target_arch arm Build BraveThe default build type is component. # start the component build compilenpm run build To do a release build: # start the release compilenpm run build Release brave-core based android builds should use Build ConfigurationsRunning a release build with To run a statically linked build (takes longer to build, but starts faster) npm run build -- Static To run a debug build (Component build with is_debug=true) npm run build -- Debug You may also want to try [[using sccache|sccache-for-faster-builds]]. Run BraveTo start the build:
Update Brave
This will attempt to stash your local changes in brave-core, but it's safer to commit local changes before running this
|
请发表评论