Bruce Dawson ebebd952d7 autoninja - ninja wrapper to make goma easier
Using goma requires the developer to remember which build directories
use goma and which don't so that they can pass an appropriate -j number.
Getting this wrong makes builds slower, either by under utilizing
resources or by causing a self-inflicted DOS attack. Usage:

    autoninja -C out/debug

autoninja looks at the settings for the specified build directory and
then selects either -j num_cores*20 or no -j flag based on the
use_goma setting.

You can set the NINJA_CORE_MULTIPLIER variable to change from the
default 20* multiplier. You can also use NINJA_CORE_ADDITION if you
want non-goma builds to specify -j with an offset to the number of
cores, such as this Linux command:

    NINJA_CORE_ADDITION=-2 autoninja -C out/release base

This will tell autoninja to pass -j to ninja with num_cores-2 as the
parameter.

On Windows you can have a ninja.bat file (ahead of ninja on the path)
such that autoninja will automatically be used. It should contain this:
    @call autoninja.bat %*

Change-Id: I4003e3fc323d1cbab612999c945b5a8dc5bc6655
Reviewed-on: https://chromium-review.googlesource.com/517662
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Reviewed-by: Fumitoshi Ukai <ukai@chromium.org>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
2017-06-12 23:03:21 +00:00
2017-05-31 12:59:45 +00:00
2013-05-04 00:45:09 +00:00
2017-04-11 16:02:16 +00:00
2012-03-23 19:33:18 +00:00
2012-03-23 19:33:18 +00:00
2017-05-04 00:02:14 +00:00
2017-06-10 00:38:43 +00:00
2017-06-08 23:35:06 +00:00
2015-07-17 22:05:19 +00:00
2012-12-17 18:20:02 +00:00
2012-03-23 19:33:18 +00:00
2017-05-31 12:59:45 +00:00
2017-05-11 12:49:26 +00:00
2017-04-10 20:26:08 +00:00
2017-05-27 02:45:05 +00:00
2017-05-27 02:45:05 +00:00
2016-11-09 09:29:10 -08:00
2016-11-09 09:29:10 -08:00
2016-11-09 09:29:10 -08:00
2016-11-09 09:29:10 -08:00
2017-01-25 23:19:41 +00:00
2017-05-31 12:59:45 +00:00
2015-05-27 18:26:46 +00:00
2013-11-01 22:58:54 +00:00
2016-09-04 17:16:19 -07:00
2016-10-10 19:08:17 -07:00
2017-04-20 13:12:48 +00:00
2017-05-31 12:59:45 +00:00
2017-05-10 22:04:52 +00:00
2017-05-04 00:02:14 +00:00
2012-09-12 21:02:02 +00:00

depot_tools

Tools for working with Chromium development. It requires python 2.7.

Tools

The most important tools are:

  • fetch: A gclient wrapper to checkout a project. Use fetch --help for more details.
  • gclient: A meta-checkout tool. Think repo or git submodules, except that it support OS-specific rules, e.g. do not checkout Windows only dependencies when checking out for Android. Use gclient help for more details and README.gclient.md.
  • git cl: A code review tool to interact with Rietveld or Gerrit. Use git cl help for more details and README.git-cl.md.
  • roll-dep: A gclient dependency management tool to submit a dep roll, updating a dependency to a newer revision.

There are a lot of git utilities included.

Updating

depot_tools updates itself automatically when running gclient tool. To disable auto update, set the environment variable DEPOT_TOOLS_UPDATE=0.

To update package manually, run update_depot_tools.bat on Windows, or ./update_depot_tools on Linux or Mac.

On Windows only, running gclient will install git and python.

Contributing

To contribute change for review:

git new-branch <somename>
# Hack
git add .
git commit -a -m "Fixes goat teleporting"
# find reviewers
git cl owners
git log -- <yourfiles>

# Request a review.
git cl upload -r reviewer1@chromium.org,reviewer2@chromium.org --send-mail

# Edit change description if needed.
git cl desc

# If change is approved, flag it to be committed.
git cl set-commit

# If change needs more work.
git rebase-update
...
git cl upload -t "Fixes goat teleporter destination to be Australia"

See also open bugs, open reviews, forum or report problems.

cpplint.py

To update cpplint.py, please submit the change upstream first at https://github.com/google/styleguide/tree/gh-pages/cpplint then copy it down.

Description
No description provided
Readme BSD-3-Clause 210 MiB
Languages
Python 97.1%
Shell 1.1%
Roff 1.1%
Batchfile 0.7%