Lines Matching refs:output_api
66 def _VerifyNativeApiHeadersListIsValid(input_api, output_api):
76 return [output_api.PresubmitError(
84 def _CheckNativeApiHeaderChanges(input_api, output_api):
94 return [output_api.PresubmitNotifyResult(
111 def _CheckNoIOStreamInHeaders(input_api, output_api):
124 return [output_api.PresubmitError(
132 def _CheckNoFRIEND_TEST(input_api, output_api):
146 return [output_api.PresubmitPromptWarning('WebRTC\'s code should not use '
159 def _CheckApprovedFilesLintClean(input_api, output_api,
195 res_type = output_api.PresubmitPromptWarning
197 res_type = output_api.PresubmitPromptWarning
202 def _CheckNoRtcBaseDeps(input_api, gyp_files, output_api):
222 return [output_api.PresubmitError(
229 def _CheckNoSourcesAboveGyp(input_api, gyp_files, output_api):
247 return [output_api.PresubmitError(
257 def _CheckGypChanges(input_api, output_api):
268 result.append(output_api.PresubmitNotifyResult(
272 result.extend(_CheckNoRtcBaseDeps(input_api, gyp_files, output_api))
273 result.extend(_CheckNoSourcesAboveGyp(input_api, gyp_files, output_api))
276 def _CheckUnwantedDependencies(input_api, output_api):
291 return [output_api.PresubmitError(
324 results.append(output_api.PresubmitError(
328 results.append(output_api.PresubmitPromptOrNotify(
336 def _RunPythonTests(input_api, output_api):
349 output_api,
355 def _CommonChecks(input_api, output_api):
365 input_api, output_api, source_file_filter))
366 results.extend(input_api.canned_checks.RunPylint(input_api, output_api,
408 input_api, output_api, maxlen=80, source_file_filter=long_lines_sources))
410 input_api, output_api))
412 input_api, output_api))
414 input_api, output_api))
415 results.extend(_CheckNativeApiHeaderChanges(input_api, output_api))
416 results.extend(_CheckNoIOStreamInHeaders(input_api, output_api))
417 results.extend(_CheckNoFRIEND_TEST(input_api, output_api))
418 results.extend(_CheckGypChanges(input_api, output_api))
419 results.extend(_CheckUnwantedDependencies(input_api, output_api))
420 results.extend(_RunPythonTests(input_api, output_api))
424 def CheckChangeOnUpload(input_api, output_api):
426 results.extend(_CommonChecks(input_api, output_api))
428 input_api.canned_checks.CheckGNFormatted(input_api, output_api))
432 def CheckChangeOnCommit(input_api, output_api):
434 results.extend(_CommonChecks(input_api, output_api))
435 results.extend(_VerifyNativeApiHeadersListIsValid(input_api, output_api))
436 results.extend(input_api.canned_checks.CheckOwners(input_api, output_api))
438 input_api, output_api))
440 input_api, output_api))
442 input_api, output_api))
444 input_api, output_api))
446 input_api, output_api,