Bruce Dawson 46541b4996 Fix autoninja && chrome on failed builds
A handy usage pattern for autoninja.bat that I was not aware of is to go

    autoninja -C out\Default chrome && chrome

This will build chrome and then run it, but only run it if the build
succeeds. The addition of post_build_ninja_summary.py broke this by
losing the error code. This change fixes it by using black magic to
set an error code in the failure case.

Bug: chromium:787983
Change-Id: Ib87fd1799816e19d56de76e08e0f9688be903d80
Reviewed-on: https://chromium-review.googlesource.com/916705
Reviewed-by: Dirk Pranke <dpranke@chromium.org>
Commit-Queue: Bruce Dawson <brucedawson@chromium.org>
2018-02-13 20:47:20 +00:00
2018-01-09 21:06:16 +00:00
2018-02-08 01:36:23 +00:00
2018-02-08 20:40:12 +00:00
2013-05-04 00:45:09 +00:00
2017-11-22 06:33:06 +00:00
2017-10-31 21:10:19 +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
2015-07-17 22:05:19 +00:00
2012-12-17 18:20:02 +00:00
2012-03-23 19:33:18 +00:00
2018-01-21 18:57:08 +00:00
2017-07-15 00:53:19 +00:00
2017-04-10 20:26:08 +00:00
2017-09-11 03:46:59 +00:00
2017-09-11 03:46:59 +00:00
2017-09-11 03:46:59 +00:00
2017-09-11 03:46:59 +00:00
2017-09-11 03:46:59 +00:00
2017-11-13 11:47:19 +00:00
2018-02-06 23:38:33 +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
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%