Adding owners check in presubmit script.

git-svn-id: http://webrtc.googlecode.com/svn/trunk@62 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
niklase@google.com 2011-06-09 07:07:24 +00:00
parent 96a7a0730c
commit 1198db9dd6

View File

@ -24,12 +24,13 @@ def CheckChangeOnUpload(input_api, output_api):
def CheckChangeOnCommit (input_api, output_api):
results = []
results.extend(input_api.canned_checks.CheckOwners(input_api, output_api))
return results
#def CheckChangeOnCommit (input_api, output_api):
# results = []
# sources = lambda x: input_api.FilterSourceFile(x, black_list=black_list)
# results.extend(input_api.canned_checks.CheckOwners(input_api, output_api, source_file_filter=sources))
# return results
#sources = lambda x: input_api.FilterSourceFile(x, black_list=black_list)