Home
last modified time | relevance | path

Searched refs:input_api (Results 1 – 7 of 7) sorted by relevance

/external/v8/
DPRESUBMIT.py63 def _V8PresubmitChecks(input_api, output_api): argument
66 sys.path.append(input_api.os_path.join(
67 input_api.PresubmitLocalPath(), 'tools'))
74 if not CppLintProcessor().Run(input_api.PresubmitLocalPath()):
76 if not SourceProcessor().Run(input_api.PresubmitLocalPath()):
80 if not CheckRuntimeVsNativesNameClashes(input_api.PresubmitLocalPath()):
83 if not CheckExternalReferenceRegistration(input_api.PresubmitLocalPath()):
89 def _CheckUnwantedDependencies(input_api, output_api): argument
99 sys.path = sys.path + [input_api.os_path.join(
100 input_api.PresubmitLocalPath(), 'buildtools', 'checkdeps')]
[all …]
/external/skia/
DPRESUBMIT.py43 def _CheckChangeHasEol(input_api, output_api, source_file_filter=None): argument
46 for f in input_api.AffectedSourceFiles(source_file_filter):
47 contents = input_api.ReadFile(f, 'rb')
59 def _PythonChecks(input_api, output_api): argument
74 for affected_file in input_api.AffectedSourceFiles(None):
78 return input_api.canned_checks.RunPylint(
79 input_api, output_api,
84 def _IfDefChecks(input_api, output_api): argument
101 for affected_file in input_api.AffectedSourceFiles(None):
125 def _CopyrightChecks(input_api, output_api, source_file_filter=None): argument
[all …]
/external/chromium-trace/trace-viewer/build/
Dpresubmit_checks.py25 def _FindNewViolationsOfRule(callable_rule, input_api, argument
41 for f in input_api.AffectedFiles(include_deletes=False):
60 def CheckCopyright(input_api): argument
62 results += _CheckCopyrightThirdParty(input_api)
63 results += _CheckCopyrightNonThirdParty(input_api)
67 def _CheckCopyrightThirdParty(input_api): argument
71 for f in input_api.AffectedFiles(include_deletes=False))
84 def _CheckCopyrightNonThirdParty(input_api): argument
120 sources = list(s for s in input_api.AffectedFiles(include_deletes=False)
129 results += _Check(input_api, html_license_re, html_sources)
[all …]
/external/chromium-trace/trace-viewer/
DPRESUBMIT.py7 def RunChecks(input_api, output_api): argument
10 results += presubmit_checks.RunChecks(input_api)
14 def CheckChange(input_api, output_api): argument
17 sys.path += [input_api.PresubmitLocalPath()]
18 return RunChecks(input_api, output_api)
22 def CheckChangeOnUpload(input_api, output_api): argument
23 return CheckChange(input_api, output_api)
25 def CheckChangeOnCommit(input_api, output_api): argument
26 return CheckChange(input_api, output_api)
/external/chromium-trace/trace-viewer/tracing/
DPRESUBMIT.py8 def RunChecks(input_api, output_api): argument
16 results += js_checks.RunChecks(input_api)
21 def CheckChange(input_api, output_api): argument
24 sys.path += [input_api.PresubmitLocalPath()]
25 return RunChecks(input_api, output_api)
30 def CheckChangeOnUpload(input_api, output_api): argument
31 return CheckChange(input_api, output_api)
34 def CheckChangeOnCommit(input_api, output_api): argument
35 return CheckChange(input_api, output_api)
/external/chromium-trace/trace-viewer/tracing/build/
Djs_checks.py13 def __init__(self, input_api, file_filter=None): argument
14 self.input_api = input_api
127 affected_files = self.input_api.AffectedFiles(
179 def RunChecks(input_api): argument
180 return JSChecker(input_api).RunChecks()
Dcss_presubmit_checker.py10 def __init__(self, input_api, output_api, file_filter=None): argument
11 self.input_api = input_api
203 affected_files = self.input_api.AffectedFiles(include_deletes=False,