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

Side by Side Diff: tools/valgrind/drmemory/PRESUBMIT.py

Issue 887033002: Cleanup: Presubmit API is built into depot_tools. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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
« no previous file with comments | « tools/perf_expectations/PRESUBMIT.py ('k') | tools/valgrind/memcheck/PRESUBMIT.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 """ 4 """
5 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 5 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
6 for more details on the presubmit API built into gcl. 6 for more details on the presubmit API built into depot_tools.
7 """ 7 """
8 8
9 9
10 def CheckChange(input_api, output_api): 10 def CheckChange(input_api, output_api):
11 """Checks the DrMemory suppression files for bad suppressions.""" 11 """Checks the DrMemory suppression files for bad suppressions."""
12 12
13 # TODO(timurrrr): find out how to do relative imports 13 # TODO(timurrrr): find out how to do relative imports
14 # and remove this ugly hack. Also, the CheckChange function won't be needed. 14 # and remove this ugly hack. Also, the CheckChange function won't be needed.
15 tools_vg_path = input_api.os_path.join(input_api.PresubmitLocalPath(), '..') 15 tools_vg_path = input_api.os_path.join(input_api.PresubmitLocalPath(), '..')
16 import sys 16 import sys
(...skipping 13 matching lines...) Expand all
30 def CheckChangeOnCommit(input_api, output_api): 30 def CheckChangeOnCommit(input_api, output_api):
31 return CheckChange(input_api, output_api) 31 return CheckChange(input_api, output_api)
32 32
33 33
34 def GetPreferredTryMasters(project, change): 34 def GetPreferredTryMasters(project, change):
35 return { 35 return {
36 'tryserver.chromium.win': { 36 'tryserver.chromium.win': {
37 'win_drmemory': set(['defaulttests']), 37 'win_drmemory': set(['defaulttests']),
38 } 38 }
39 } 39 }
OLDNEW
« no previous file with comments | « tools/perf_expectations/PRESUBMIT.py ('k') | tools/valgrind/memcheck/PRESUBMIT.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698