Home
last modified time | relevance | path

Searched refs:output_api (Results 1 – 25 of 91) sorted by relevance

1234

/external/chromium_org/third_party/WebKit/
DPRESUBMIT.py26 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/
DPRESUBMIT.py21 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/
DPRESUBMIT.py63 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/
DPRESUBMIT.py279 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/
DPRESUBMIT.py11 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/
DPRESUBMIT.py16 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/
DPRESUBMIT.py36 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/
DPRESUBMIT.py37 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/
DPRESUBMIT.py28 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/
DPRESUBMIT.py45 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/
DPRESUBMIT.py16 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/
DPRESUBMIT.py12 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/
DPRESUBMIT.py17 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/
DPRESUBMIT.py7 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/
DPRESUBMIT.py11 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/
DPRESUBMIT.py13 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/
DPRESUBMIT.py12 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/
DPRESUBMIT.py59 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/
DPRESUBMIT.py22 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/
DPRESUBMIT.py19 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/
DPRESUBMIT.py15 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/
DPRESUBMIT.py32 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/
DPRESUBMIT.py16 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/
DPRESUBMIT.py12 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/
DPRESUBMIT.py12 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)

1234