• petermayo@chromium.org's avatar
    Add custom hooks. · e79161aa
    petermayo@chromium.org authored
    Sometimes we wish to pull in a complicated dependency but want to
    suppress or replace one or more of the hooks rules.  Say for example
    we want to use a different way of generating the projects, or
    have a different set of landmine expectations.
    
    Here we add a custom_hooks section mirroring custom_deps to allow us to
    override sections we have identified in the DEPS file.  To do so,
    we add an optional name to the elements of the hooks list, and overwrite
    those whose name matches.
    
    Conventions between included DEPS and the .gclient as to the meanings of the
    name are equivalent to the meaning of the customized deps, and so do not
    benefit from further structure or definition.
    
    BUG=None
    TEST=local unit test
    
    Review URL: https://chromiumcodereview.appspot.com/17742004
    
    git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@210573 0039d316-1c4b-4281-b951-d872f2087c98
    e79161aa
Name
Last commit
Last update
..
gstools Loading commit data...
subversion_config Loading commit data...
abandon.sh Loading commit data...
basic.sh Loading commit data...
breakpad_unittest.py Loading commit data...
checkout_test.py Loading commit data...
download_from_google_storage_unittests.py Loading commit data...
fix_encoding_test.py Loading commit data...
gcl_unittest.py Loading commit data...
gclient_scm_test.py Loading commit data...
gclient_smoketest.py Loading commit data...
gclient_test.py Loading commit data...
gclient_utils_test.py Loading commit data...
git_cl_test.py Loading commit data...
hooks.sh Loading commit data...
owners.sh Loading commit data...
owners_unittest.py Loading commit data...
patch.sh Loading commit data...
patch_test.py Loading commit data...
post-dcommit-hook-test.sh Loading commit data...
presubmit_unittest.py Loading commit data...
push-basic.sh Loading commit data...
push-from-logs.sh Loading commit data...
rename.sh Loading commit data...
rietveld_test.py Loading commit data...
sample_pre_commit_hook Loading commit data...
save-description-on-failure.sh Loading commit data...
scm_unittest.py Loading commit data...
submit-from-new-dir.sh Loading commit data...
submodule-merge-test.sh Loading commit data...
subprocess2_test.py Loading commit data...
test-lib.sh Loading commit data...
trychange_unittest.py Loading commit data...
upload-local-tracking-branch.sh Loading commit data...
upload-stale.sh Loading commit data...
upload_to_google_storage_unittests.py Loading commit data...
upstream.sh Loading commit data...
watchlists_unittest.py Loading commit data...