commit | 66945379c69dca334b61ebb4728b4a6ee95fde79 | [log] [tgz] |
---|---|---|
author | Paweł Hajdan, Jr <phajdan.jr@chromium.org> | Mon Jun 12 17:34:52 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Mon Jun 19 13:48:57 2017 |
tree | 2a50e044ab794a00eade41a8c5de934dd707bdaa | |
parent | 257c9b2a70300faf1fa03f66f1b53176a0fe5c11 [diff] |
gclient: throw errors if values from deps_os override deps With 'flatten' work and in general, we assume deps_os only add to deps, without attempting to override entries there. This removes significant edge cases from flatten code, and ensures DEPS are easier to reason about. This reverses some past patches and decisions: a0ad8ad9c9e72291caa387d4ad1d556da3aa860f https://codereview.chromium.org/11368067 https://bugs.chromium.org/p/chromium/issues/detail?id=157979 ed2b4fe59bb58986a4228606f3fa06dd16883514 https://codereview.chromium.org/23875029 https://bugs.chromium.org/p/chromium/issues/detail?id=248168 These are rather old though (2012-2013), and not expected to be used. Bug: 570091 Change-Id: I143e95bdaef9d10c937a5f678e6be7e26899ad4d Reviewed-on: https://chromium-review.googlesource.com/531029 Reviewed-by: Dirk Pranke <dpranke@chromium.org> Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org> Commit-Queue: Paweł Hajdan Jr. <phajdan.jr@chromium.org>
Tools for working with Chromium development. It requires python 2.7.
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.
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
.
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.
To update cpplint.py, please submit the change upstream first at https://github.com/google/styleguide/tree/gh-pages/cpplint then copy it down.