You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
The original design of this had some issues: 1) forced targets to be importable via 'buildbot.cbuildbot', rather than the proper/full 'chromite.buildbot.cbuildbot'. Scripts worked around this, but it's an unwanted limitation. 2) That importation requirement means that within the chroot, we've had to export cros_sdk *and* cros_sdk.py in the PATH. This is undesirable clutter, and introduces potential errors as scripts localize themselves to cros_sdk.py rather than invoking cros_sdk (the consumers should be agnostic to the language the tool is written in). 3) chromite_wrapper enforced assumptions about python namespace w/in the targets- specifically that 'main' must always be invokable without any arguments. This limits refactoring/cleanup in chromite via having to support ancient API assumptions (api's that weren't public); modern chromite has repurposed main changing the prototype, and using it's own wrapper doing signal handler setup, and general framework behaviour. Longer term, that 'main' functor is unlikely to even exist. The strong coupling chromite_wrapper forced limits are refactoring possibilities. 4) In modern chromite, all user consumable tools are now required to exist w/in chromite/bin/, and be executable and invokable. This is what we want going forward. 5) Implied we want chromite_wrapper used w/in the chroot; we don't, thus drop all CROS_WORKON_SRCROOT awareness. 6) Exposed a chromite_wrapper invokable (that didn't work) into the PATH outside the chroot; this is resolved via moving it into a support directory and repointing symlinks to it. At this point, if it's working with a modern chromite checkout the script is a simple execv pass thru. If it isn't, then it will fallback to the old import trickery. This has been tested against R16, R17, R18, ToT, 0.11.241.B, factory-*, basically all branches w/in chromite without issue. git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@128555 0039d316-1c4b-4281-b951-d872f2087c98 |
14 years ago | |
---|---|---|
bootstrap | 14 years ago | |
git-utils | 14 years ago | |
support | 14 years ago | |
testing_support | 14 years ago | |
tests | 14 years ago | |
third_party | 14 years ago | |
zsh-goodies | 14 years ago | |
.gitignore | 14 years ago | |
LICENSE | 16 years ago | |
OWNERS | 14 years ago | |
PRESUBMIT.py | 14 years ago | |
README | 15 years ago | |
README.codereview | 15 years ago | |
README.gclient | 14 years ago | |
README.git-cl | 15 years ago | |
README.testing | 15 years ago | |
WATCHLISTS | 15 years ago | |
apply_issue.py | 14 years ago | |
breakpad.py | 14 years ago | |
cbuildbot | 14 years ago | |
checkout.py | 14 years ago | |
chrome-update-create-task.bat | 14 years ago | |
chrome-update.bat | 14 years ago | |
chrome-update.py | 15 years ago | |
chrome_set_ver | 14 years ago | |
codereview.settings | 16 years ago | |
commit_queue.py | 14 years ago | |
cpplint.bat | 14 years ago | |
cpplint.py | 14 years ago | |
cpplint_chromium.py | 14 years ago | |
create-chromium-git-src | 15 years ago | |
cros_sdk | 14 years ago | |
drover | 14 years ago | |
drover.bat | 14 years ago | |
drover.py | 14 years ago | |
fix_encoding.py | 14 years ago | |
gcl | 14 years ago | |
gcl.bat | 14 years ago | |
gcl.py | 14 years ago | |
gclient | 14 years ago | |
gclient.bat | 14 years ago | |
gclient.py | 14 years ago | |
gclient_scm.py | 14 years ago | |
gclient_utils.py | 14 years ago | |
git-cl | 14 years ago | |
git-cl-upload-hook | 15 years ago | |
git-gs | 14 years ago | |
git-try | 14 years ago | |
git_cl.py | 14 years ago | |
git_try.py | 14 years ago | |
hammer | 16 years ago | |
hammer.bat | 14 years ago | |
my_reviews.py | 14 years ago | |
ninja | 14 years ago | |
ninja-deplist-helper.exe | 14 years ago | |
ninja-linux64 | 14 years ago | |
ninja-mac | 14 years ago | |
ninja.exe | 14 years ago | |
owners.py | 14 years ago | |
package_management.py | 14 years ago | |
patch.py | 14 years ago | |
presubmit_canned_checks.py | 14 years ago | |
presubmit_support.py | 14 years ago | |
profile.xml | 16 years ago | |
pylintrc | 14 years ago | |
repo | 14 years ago | |
rietveld.py | 14 years ago | |
scm.py | 14 years ago | |
subprocess2.py | 14 years ago | |
trychange.py | 14 years ago | |
update_depot_tools | 14 years ago | |
watchlists.py | 15 years ago | |
weekly | 15 years ago | |
wtf | 15 years ago |
README
This package contains tools for working with Chromium development. The "gclient" wrapper knows how to keep this repository updated to the latest versions of these tools as found at: http://src.chromium.org/svn/trunk/tools/depot_tools This package contains: chrome-update-create-task.bat Creates a scheduled task to do an automatic local chromium build every day. cpplint.py A copy of our linting tool which enforces Google style. Fetched from http://google-styleguide.googlecode.com/svn/trunk/cpplint/cpplint.py gcl A tool for uploading and managing code reviews on the Chromium project, using the Rietveld code review tool. More info at: http://code.google.com/p/rietveld/ gclient A script for managing a workspace with modular dependencies that are each checked out independently from different repositories. More info at: http://code.google.com/p/gclient/ hammer A wrapper script for building Chromium with the SCons software construction tool. More info at: http://www.scons.org/ Note: svn and python will be installed automatically if not accessible (on Windows only). To update this distribution manually, run bootstrap\gclient.bat on Windows, or bootstrap/gclient.sh on Linux or Mac. To disable automatic updating, set the environment variable DEPOT_TOOLS_UPDATE=0