Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(294)

Side by Side Diff: tools/checkdeps/PRESUBMIT.py

Issue 10805042: Implement ability to specify temporarily-allowed dependencies in DEPS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Respond to review comments. Add automated unit tests. Created 8 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 """Presubmit script for checkdeps tool.
6 """
7
8
9 def CheckChange(input_api, output_api):
10 results = []
11 results.extend(input_api.canned_checks.RunUnitTests(
12 input_api, output_api,
13 [input_api.os_path.join(input_api.PresubmitLocalPath(),
14 'checkdeps_test.py')]))
15 return results
16
17
18 # Mandatory entrypoint.
19 def CheckChangeOnUpload(input_api, output_api):
20 return CheckChange(input_api, output_api)
21
22
23 # Mandatory entrypoint.
24 def CheckChangeOnCommit(input_api, output_api):
25 return CheckChange(input_api, output_api)
OLDNEW
« no previous file with comments | « tools/checkdeps/DEPS ('k') | tools/checkdeps/checkdeps.py » ('j') | tools/checkdeps/checkdeps.py » ('J')

Powered by Google App Engine
This is Rietveld 408576698