background preloader

Linux

Facebook Twitter

LinuxBuildInstructions - chromium - Build instructions for Linux. Overview Due mostly to its history and its complexity, Chromium uses a nonstandard set of custom tools to check out and build. Here's an overview of the steps you'll run: gclient. A checkout involves pulling nearly 100 different SVN repositories of code. This process is managed with a tool called gclient. gyp. Getting a checkout Prerequisites: what you need before you build Get the Code: check out the source code. Note.

First Time Build Bootstrap Make sure your dependencies are up to date by running the install-build-deps.sh script: ... Before you build, you should also install API keys. After gclient sync finishes, it will run gyp automatically to generate the ninja build files. To manually configure gyp, run gclient runhooks or run gyp directly via build/gyp_chromium. GypUserDocumentation gives background on gyp, but is not necessary if you are just building Chromium. Configuring gyp gyp supports a minimal amount of build configuration via the -D flag. or like this (allowing comments): $ cd src.

LinuxBuildInstructionsPrerequisites - chromium - Prerequisites f. This page describes system requirements for building Chromium on Linux. Linux distribution You should be able to build Chromium on any reasonably modern Linux distribution, but there are a lot of distributions and we sometimes break things on one or another. Internally, our development platform has been a variant of Ubuntu 12.04 (Precise Pangolin); we expect you will have the most luck on this platform, although directions for other popular platforms are included below. Disk space It takes about 10GB or so of disk space to check out and build the source tree.

This number grows over time. Memory space It takes about 8GB of swap file to link chromium and its tests. 64-bit Systems Chromium can be compiled as either a 32-bit or 64-bit application. Depot tools Before setting up the environment, make sure you install the depot tools first. Ubuntu Setup Run build/install-build-deps.sh Building on Linux requires software not usually installed with the distributions. Other distributions Debian Setup. Get the Code %u200E(Chromium Developer Documentation)%u200E. If you're new to Git but experienced with Subversion, we recommend following the Git-SVN Crash Course. This guide should help you understand how Git differs from Subversion and how to get up to speed the fastest. Committers will need a Subversion (SVN) account. You can request one at Chromium access (Google chrome svn) using the request form.

Only svn account holders (read-only or read-write) can send tryjobs.depot_tools is required on every platform, making sure it's correctly in your PATH For Windows (non-Cygwin users), run gclient TWICE, FROM A CMD WINDOW to download and setup everything else you need (including a partial install of msysgit). It's important to run twice, and not to use msysgit bash or other non-cmd shells, because otherwise gclient may fail to properly install all its dependencies. gclient --version gclient --version (The "--version" flags just reduce the amount of output spew; they're not necessary for the operations to succeed.)

Now tell git about yourself. git cl try #! BuildBot: Chromium. For Developers %u200E(Chromium Developer Documentation)%u200E. Google Chrome. Chromium - Google Code.