/external/chromium_org/third_party/WebKit/ |
D | PRESUBMIT.py | 26 def _CheckForVersionControlConflicts(input_api, output_api): argument 34 results.append(output_api.PresubmitError( 39 def _CheckWatchlist(input_api, output_api): argument 63 errors.append(output_api.PresubmitError( 69 def _CommonChecks(input_api, output_api): argument 76 input_api, output_api, excluded_paths=_EXCLUDED_PATHS, 78 results.extend(_CheckForVersionControlConflicts(input_api, output_api)) 79 results.extend(_CheckPatchFiles(input_api, output_api)) 80 results.extend(_CheckTestExpectations(input_api, output_api)) 81 results.extend(_CheckUnwantedDependencies(input_api, output_api)) [all …]
|
/external/chromium_org/tools/auto_bisect/ |
D | PRESUBMIT.py | 21 def CheckChangeOnUpload(input_api, output_api): argument 22 return _CommonChecks(input_api, output_api) 25 def CheckChangeOnCommit(input_api, output_api): argument 26 return _CommonChecks(input_api, output_api) 29 def _CommonChecks(input_api, output_api): argument 32 results.extend(_CheckAllConfigFiles(input_api, output_api)) 33 results.extend(_RunUnitTests(input_api, output_api)) 34 results.extend(_RunPyLint(input_api, output_api)) 38 def _CheckAllConfigFiles(input_api, output_api): argument 44 results.extend(_CheckConfigFile(config_file, output_api)) [all …]
|
/external/chromium_org/v8/ |
D | PRESUBMIT.py | 63 def _V8PresubmitChecks(input_api, output_api): argument 75 results.append(output_api.PresubmitError("C++ lint check failed")) 77 results.append(output_api.PresubmitError( 81 results.append(output_api.PresubmitError( 84 results.append(output_api.PresubmitError( 89 def _CheckUnwantedDependencies(input_api, output_api): argument 130 results.append(output_api.PresubmitError( 134 results.append(output_api.PresubmitPromptOrNotify( 142 def _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api): argument 180 return [output_api.PresubmitPromptOrNotify(_TEST_ONLY_WARNING, problems)] [all …]
|
/external/chromium_org/ |
D | PRESUBMIT.py | 279 def _CheckNoProductionCodeUsingTestOnlyFunctions(input_api, output_api): argument 317 return [output_api.PresubmitPromptOrNotify(_TEST_ONLY_WARNING, problems)] 322 def _CheckNoIOStreamInHeaders(input_api, output_api): argument 335 return [ output_api.PresubmitError( 343 def _CheckNoUNIT_TESTInSourceFiles(input_api, output_api): argument 356 return [output_api.PresubmitPromptWarning('UNIT_TEST is only for headers.\n' + 360 def _CheckNoNewWStrings(input_api, output_api): argument 380 return [output_api.PresubmitPromptWarning('New code should not use wstrings.' 386 def _CheckNoDEPSGIT(input_api, output_api): argument 390 return [output_api.PresubmitError( [all …]
|
/external/chromium_org/ppapi/ |
D | PRESUBMIT.py | 11 def RunCmdAndCheck(cmd, err_string, output_api, cwd=None, warning=False): argument 19 results.append(output_api.PresubmitPromptWarning( 23 output_api.PresubmitError(err_string, 28 def RunUnittests(input_api, output_api): argument 42 output_api, 49 def CheckTODO(input_api, output_api): argument 79 return [output_api.PresubmitError( 86 def CheckUnversionedPPB(input_api, output_api): argument 112 return [output_api.PresubmitError( 118 def CheckUpdatedNaClSDK(input_api, output_api): argument [all …]
|
/external/chromium_org/cc/ |
D | PRESUBMIT.py | 16 def CheckChangeLintsClean(input_api, output_api): argument 30 return [output_api.PresubmitPromptWarning( 33 def CheckAsserts(input_api, output_api, white_list=CC_SOURCE_FILES, black_list=None): argument 50 return [output_api.PresubmitError( 54 return [output_api.PresubmitError( 59 def CheckStdAbs(input_api, output_api, argument 91 result.append(output_api.PresubmitError( 95 result.append(output_api.PresubmitError( 99 result.append(output_api.PresubmitError( 106 output_api, argument [all …]
|
/external/chromium_org/third_party/skia/ |
D | PRESUBMIT.py | 36 def _CheckChangeHasEol(input_api, output_api, source_file_filter=None): argument 46 return [output_api.PresubmitPromptWarning( 52 def _PythonChecks(input_api, output_api): argument 72 input_api, output_api, 77 def _CommonChecks(input_api, output_api): argument 88 input_api, output_api, source_file_filter=sources)) 89 results.extend(_PythonChecks(input_api, output_api)) 93 def CheckChangeOnUpload(input_api, output_api): argument 100 results.extend(_CommonChecks(input_api, output_api)) 104 def _CheckTreeStatus(input_api, output_api, json_url): argument [all …]
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
D | PRESUBMIT.py | 37 def _WarnIfAppYamlHasntChanged(input_api, output_api): argument 41 return [output_api.PresubmitPromptOrNotify(''' 67 def _CheckYamlConsistency(input_api, output_api): argument 82 return [output_api.PresubmitError( 86 def _RunPresubmit(input_api, output_api): argument 89 _WarnIfAppYamlHasntChanged(input_api, output_api) + 90 _CheckYamlConsistency(input_api, output_api) + 92 input_api, output_api, '.', whitelist=WHITELIST, blacklist=BLACKLIST) 95 def CheckChangeOnUpload(input_api, output_api): argument 96 return _RunPresubmit(input_api, output_api) [all …]
|
/external/chromium_org/components/policy/resources/ |
D | PRESUBMIT.py | 28 def _CheckPolicyTemplatesSyntax(input_api, output_api): argument 42 return [output_api.PresubmitError('Syntax error(s) in file:', 49 def _CheckPolicyTestCases(input_api, output_api, policies): argument 71 results.append(output_api.PresubmitError(error_missing % policy)) 73 results.append(output_api.PresubmitError(error_extra % policy)) 77 def _CheckPolicyHistograms(input_api, output_api, policies): argument 97 results.append(output_api.PresubmitError(error_missing % policy['name'])) 101 def _CommonChecks(input_api, output_api): argument 103 results.extend(_CheckPolicyTemplatesSyntax(input_api, output_api)) 113 results.append(output_api.PresubmitError('Invalid Python/JSON syntax.')) [all …]
|
/external/chromium_org/chrome/ |
D | PRESUBMIT.py | 45 def _CheckChangeLintsClean(input_api, output_api): argument 51 input_api, output_api, sources) 53 def _CheckNoContentUnitTestsInChrome(input_api, output_api): argument 67 return [output_api.PresubmitPromptWarning( 72 def _CommonChecks(input_api, output_api): argument 75 results.extend(_CheckNoContentUnitTestsInChrome(input_api, output_api)) 78 def CheckChangeOnUpload(input_api, output_api): argument 80 results.extend(_CommonChecks(input_api, output_api)) 81 results.extend(_CheckChangeLintsClean(input_api, output_api)) 84 def CheckChangeOnCommit(input_api, output_api): argument [all …]
|
/external/chromium_org/build/android/ |
D | PRESUBMIT.py | 16 def _CheckDeletionsOnlyFiles(input_api, output_api): argument 26 results.append(output_api.PresubmitPromptWarning( 31 def CommonChecks(input_api, output_api): argument 40 output_api, 47 output_api, 62 output_api, 69 output.extend(_CheckDeletionsOnlyFiles(input_api, output_api)) 73 def CheckChangeOnUpload(input_api, output_api): argument 74 return CommonChecks(input_api, output_api) 77 def CheckChangeOnCommit(input_api, output_api): argument [all …]
|
/external/chromium_org/tools/memory_inspector/ |
D | PRESUBMIT.py | 12 def _CommonChecks(input_api, output_api): argument 16 input_api, output_api, black_list=blacklist, 23 output_api, 28 output_api, 33 def _CheckPrebuiltsAreUploaded(input_api, output_api): argument 67 return [output_api.PresubmitError('HTTP Error while checking %s' % url, 70 return [output_api.PresubmitError( 76 def CheckChangeOnUpload(input_api, output_api): argument 78 results.extend(_CommonChecks(input_api, output_api)) 79 results.extend(_CheckPrebuiltsAreUploaded(input_api, output_api)) [all …]
|
/external/chromium_org/media/ |
D | PRESUBMIT.py | 17 def _CheckForUseOfWrongClock(input_api, output_api): argument 56 return [output_api.PresubmitPromptOrNotify( 67 def _CheckForMessageLoopProxy(input_api, output_api): argument 81 return [output_api.PresubmitError( 90 def _CheckForHistogramOffByOne(input_api, output_api): argument 151 return [output_api.PresubmitError( 162 def _CheckChange(input_api, output_api): argument 164 results.extend(_CheckForUseOfWrongClock(input_api, output_api)) 165 results.extend(_CheckForMessageLoopProxy(input_api, output_api)) 166 results.extend(_CheckForHistogramOffByOne(input_api, output_api)) [all …]
|
/external/chromium_org/native_client_sdk/src/doc/ |
D | PRESUBMIT.py | 7 def _CheckSphinxBuild(input_api, output_api): argument 20 return [output_api.PresubmitNotifyResult('sphinx_build failed:\n' + 26 def CommonChecks(input_api, output_api): argument 28 output.extend(_CheckSphinxBuild(input_api, output_api)) 32 def CheckChangeOnUpload(input_api, output_api): argument 33 return CommonChecks(input_api, output_api) 36 def CheckChangeOnCommit(input_api, output_api): argument 37 return CommonChecks(input_api, output_api)
|
/external/chromium_org/tools/binary_size/ |
D | PRESUBMIT.py | 11 def CommonChecks(input_api, output_api): argument 13 output.extend(input_api.canned_checks.RunPylint(input_api, output_api)) 16 input_api, output_api, 22 output_api, 27 def CheckChangeOnUpload(input_api, output_api): argument 28 return CommonChecks(input_api, output_api) 31 def CheckChangeOnCommit(input_api, output_api): argument 32 return CommonChecks(input_api, output_api)
|
/external/chromium_org/chrome/app/ |
D | PRESUBMIT.py | 13 def _CheckNoProductNameInGeneratedResources(input_api, output_api): argument 29 return [output_api.PresubmitPromptWarning( 37 def _CommonChecks(input_api, output_api): argument 40 results.extend(_CheckNoProductNameInGeneratedResources(input_api, output_api)) 43 def CheckChangeOnUpload(input_api, output_api): argument 44 return _CommonChecks(input_api, output_api) 46 def CheckChangeOnCommit(input_api, output_api): argument 47 return _CommonChecks(input_api, output_api)
|
/external/chromium_org/tools/cygprofile/ |
D | PRESUBMIT.py | 12 def CommonChecks(input_api, output_api): argument 16 input_api, output_api, black_list=blacklist)) 19 output_api, 24 output_api, 29 def CheckChangeOnUpload(input_api, output_api): argument 30 return CommonChecks(input_api, output_api) 33 def CheckChangeOnCommit(input_api, output_api): argument 34 return CommonChecks(input_api, output_api)
|
/external/chromium_org/tools/perf/page_sets/ |
D | PRESUBMIT.py | 59 def _SyncFilesToCloud(input_api, output_api): argument 72 results.append(output_api.PresubmitError( 76 results.append(output_api.PresubmitError( 80 results.append(output_api.PresubmitError( 92 results.append(output_api.PresubmitError( 97 results.append(output_api.PresubmitNotifyResult( 100 results.append(output_api.PresubmitError( 106 def _VerifyFilesInCloud(input_api, output_api): argument 113 results.append(output_api.PresubmitError( 128 def CheckChangeOnUpload(input_api, output_api): argument [all …]
|
/external/chromium_org/tools/perf/ |
D | PRESUBMIT.py | 22 def _CommonChecks(input_api, output_api): argument 30 input_api, output_api, 33 results.extend(_CheckJson(input_api, output_api)) 39 def _CheckJson(input_api, output_api): argument 48 return [output_api.PresubmitError('Error parsing JSON in %s!' % filename)] 52 def CheckChangeOnUpload(input_api, output_api): argument 54 report.extend(_CommonChecks(input_api, output_api)) 58 def CheckChangeOnCommit(input_api, output_api): argument 60 report.extend(_CommonChecks(input_api, output_api))
|
/external/chromium-trace/trace-viewer/ |
D | PRESUBMIT.py | 19 def _CommonChecks(input_api, output_api): argument 22 input_api, output_api, excluded_paths=_EXCLUDED_PATHS)) 33 results.extend(css_checker.CSSChecker(input_api, output_api, 35 results.extend(js_checker.JSChecker(input_api, output_api, 41 results.extend([output_api.PresubmitError(gyp_result)]) 46 results.extend([output_api.PresubmitError(grit_result)]) 51 input_api, output_api, _LICENSE_HEADER, 75 def CheckChangeOnUpload(input_api, output_api): argument 78 results.extend(_CommonChecks(input_api, output_api)) 83 def CheckChangeOnCommit(input_api, output_api): argument [all …]
|
/external/chromium_org/build/ios/ |
D | PRESUBMIT.py | 15 def _CheckWhitelistSorted(input_api, output_api): argument 23 return [output_api.PresubmitError( 28 def _CommonChecks(input_api, output_api): argument 31 results.extend(_CheckWhitelistSorted(input_api, output_api)) 34 def CheckChangeOnUpload(input_api, output_api): argument 36 results.extend(_CommonChecks(input_api, output_api)) 39 def CheckChangeOnCommit(input_api, output_api): argument 41 results.extend(_CommonChecks(input_api, output_api))
|
/external/chromium_org/third_party/WebKit/Tools/ |
D | PRESUBMIT.py | 32 def _CheckNoChangesToBisectConfigFile(input_api, output_api): argument 35 return [output_api.PresubmitError( 43 def CommonChecks(input_api, output_api): argument 45 results.extend(_CheckNoChangesToBisectConfigFile(input_api, output_api)) 49 def CheckChangeOnUpload(input_api, output_api): argument 50 return CommonChecks(input_api, output_api) 53 def CheckChangeOnCommit(input_api, output_api): argument 54 return CommonChecks(input_api, output_api)
|
/external/chromium_org/chrome/browser/ |
D | PRESUBMIT.py | 16 def CheckChangeOnUpload(input_api, output_api): argument 17 return _CommonChecks(input_api, output_api) 20 def CheckChangeOnCommit(input_api, output_api): argument 21 return _CommonChecks(input_api, output_api) 24 def _CommonChecks(input_api, output_api): argument 44 input_api.canned_checks.RunUnitTests(input_api, output_api, tests)) 65 input_api, output_api, file_filter=is_resource).RunChecks()) 67 input_api, output_api, file_filter=is_resource).RunChecks()) 69 input_api, output_api, file_filter=is_resource).RunChecks()) 71 input_api, output_api, file_filter=is_resource).RunChecks())
|
/external/chromium_org/tools/checkperms/ |
D | PRESUBMIT.py | 12 def CommonChecks(input_api, output_api): argument 14 output.extend(input_api.canned_checks.RunPylint(input_api, output_api)) 18 input_api, output_api, ['./checkperms.py'])) 22 def CheckChangeOnUpload(input_api, output_api): argument 23 return CommonChecks(input_api, output_api) 26 def CheckChangeOnCommit(input_api, output_api): argument 27 return CommonChecks(input_api, output_api)
|
/external/chromium_org/tools/deep_memory_profiler/ |
D | PRESUBMIT.py | 12 def CommonChecks(input_api, output_api): argument 23 output.extend(input_api.canned_checks.RunPylint(input_api, output_api)) 29 input_api, output_api, 35 output_api, 40 def CheckChangeOnUpload(input_api, output_api): argument 41 return CommonChecks(input_api, output_api) 44 def CheckChangeOnCommit(input_api, output_api): argument 45 return CommonChecks(input_api, output_api)
|