/external/chromium_org/ash/resources/ |
PRESUBMIT.py | 14 def CheckChangeOnUpload(input_api, output_api): 15 return _CommonChecks(input_api, output_api) 18 def CheckChangeOnCommit(input_api, output_api): 19 return _CommonChecks(input_api, output_api) 22 def _CommonChecks(input_api, output_api): 25 resources = input_api.os_path.join(input_api.PresubmitLocalPath(), 43 input_api, output_api, paths).RunChecks())
|
/external/chromium_org/build/android/ |
PRESUBMIT.py | 16 def _CheckDeletionsOnlyFiles(input_api, output_api): 20 for f in input_api.AffectedFiles(): 31 def CommonChecks(input_api, output_api): 36 return input_api.os_path.join(input_api.PresubmitLocalPath(), *dirs) 38 output.extend(input_api.canned_checks.RunPylint( 39 input_api, 45 output.extend(input_api.canned_checks.RunPylint( 46 input_api, 52 #output.extend(input_api.canned_checks.RunUnitTestsInDirectory [all...] |
/external/chromium_org/chrome/app/theme/ |
PRESUBMIT.py | 14 def CheckChangeOnUpload(input_api, output_api): 15 return _CommonChecks(input_api, output_api) 18 def CheckChangeOnCommit(input_api, output_api): 19 return _CommonChecks(input_api, output_api) 22 def _CommonChecks(input_api, output_api): 25 resources = input_api.os_path.join(input_api.PresubmitLocalPath(), 43 input_api, output_api, paths).RunChecks())
|
/external/chromium_org/content/test/ |
PRESUBMIT.py | 16 def LintTestFiles(input_api, output_api): 17 current_dir = str(input_api.PresubmitLocalPath()) 21 subproc = input_api.subprocess.Popen( 22 [input_api.python_executable, 23 input_api.os.path.join(src_dir, 'third_party', 'WebKit', 'Tools', 25 stdin=input_api.subprocess.PIPE, 26 stdout=input_api.subprocess.PIPE, 27 stderr=input_api.subprocess.STDOUT) 29 is_error = lambda line: (input_api.re.match('^Line:', line) or 30 input_api.re.search('ERROR Line:', line) [all...] |
/external/chromium_org/tools/valgrind/drmemory/ |
PRESUBMIT.py | 10 def CheckChange(input_api, output_api): 15 tools_vg_path = input_api.os_path.join(input_api.PresubmitLocalPath(), '..') 21 return suppressions.PresubmitCheck(input_api, output_api) 26 def CheckChangeOnUpload(input_api, output_api): 27 return CheckChange(input_api, output_api) 30 def CheckChangeOnCommit(input_api, output_api): 31 return CheckChange(input_api, output_api)
|
/external/chromium_org/tools/memory_inspector/ |
PRESUBMIT.py | 12 def _CommonChecks(input_api, output_api): 15 output.extend(input_api.canned_checks.RunPylint( 16 input_api, output_api, black_list=blacklist, 18 input_api.os_path.join(input_api.PresubmitLocalPath(), '..', '..', 21 output.extend(input_api.canned_checks.RunUnitTests( 22 input_api, 24 [input_api.os_path.join(input_api.PresubmitLocalPath(), 'run_tests')])) 26 if input_api.is_committing [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/cm/ |
PRESUBMIT.py | 30 def _CheckCodeMirrorChanges(input_api, output_api): 36 changeDescription = input_api.change.DescriptionText() 43 def CheckChangeOnUpload(input_api, output_api): 45 results.extend(_CheckCodeMirrorChanges(input_api, output_api))
|
/external/chromium_org/native_client_sdk/ |
PRESUBMIT.py | 12 def CommonChecks(input_api, output_api): 27 canned = input_api.canned_checks 28 output.extend(canned.RunPylint(input_api, output_api, black_list=black_list, 33 def CheckChangeOnUpload(input_api, output_api): 34 return CommonChecks(input_api, output_api) 37 def CheckChangeOnCommit(input_api, output_api): 38 return CommonChecks(input_api, output_api)
|
/external/chromium_org/native_client_sdk/src/doc/ |
PRESUBMIT.py | 7 def _CheckSphinxBuild(input_api, output_api): 26 def CommonChecks(input_api, output_api): 28 output.extend(_CheckSphinxBuild(input_api, output_api)) 32 def CheckChangeOnUpload(input_api, output_api): 33 return CommonChecks(input_api, output_api) 36 def CheckChangeOnCommit(input_api, output_api): 37 return CommonChecks(input_api, output_api)
|
/external/chromium_org/third_party/libyuv/tools/valgrind-libyuv/tsan/ |
PRESUBMIT.py | 21 def CheckChange(input_api, output_api): 25 tools_vg_path = os.path.join(input_api.PresubmitLocalPath(), '..', '..', 30 return suppressions.PresubmitCheck(input_api, output_api) 32 def CheckChangeOnUpload(input_api, output_api): 33 return CheckChange(input_api, output_api) 35 def CheckChangeOnCommit(input_api, output_api): 36 return CheckChange(input_api, output_api)
|
/external/chromium_org/ui/resources/ |
PRESUBMIT.py | 14 def CheckChangeOnUpload(input_api, output_api): 15 return _CommonChecks(input_api, output_api) 18 def CheckChangeOnCommit(input_api, output_api): 19 return _CommonChecks(input_api, output_api) 22 def _CommonChecks(input_api, output_api): 25 resources = input_api.PresubmitLocalPath() 42 input_api, output_api, paths).RunChecks())
|
/external/chromium_org/extensions/browser/ |
PRESUBMIT.py | 20 def _CreateHistogramValueChecker(input_api, output_api): 24 sys.path.append(input_api.os_path.join( 25 input_api.PresubmitLocalPath(), '..', '..', 'tools', 31 return StrictEnumValueChecker(input_api, output_api, 35 def CheckChangeOnUpload(input_api, output_api): 37 results += _CreateHistogramValueChecker(input_api, output_api).Run() 38 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api) 41 def CheckChangeOnCommit(input_api, output_api): 42 return _CreateHistogramValueChecker(input_api, output_api).Run( [all...] |
/external/chromium_org/third_party/WebKit/Tools/ |
PRESUBMIT.py | 15 def _ExamineConfigFiles(input_api): 16 for f in input_api.AffectedFiles(): 32 def _CheckNoChangesToBisectConfigFile(input_api, output_api): 33 results = _ExamineConfigFiles(input_api) 43 def CommonChecks(input_api, output_api): 45 results.extend(_CheckNoChangesToBisectConfigFile(input_api, output_api)) 49 def CheckChangeOnUpload(input_api, output_api): 50 return CommonChecks(input_api, output_api) 53 def CheckChangeOnCommit(input_api, output_api): 54 return CommonChecks(input_api, output_api [all...] |
/external/chromium_org/third_party/webrtc/ |
PRESUBMIT.py | 9 def _LicenseHeader(input_api): 12 current_year = int(input_api.time.strftime('%Y')) 30 def _CommonChecks(input_api, output_api): 33 results.extend(input_api.canned_checks.CheckLicense( 34 input_api, output_api, _LicenseHeader(input_api))) 37 def CheckChangeOnUpload(input_api, output_api): 39 results.extend(_CommonChecks(input_api, output_api)) 42 def CheckChangeOnCommit(input_api, output_api): 44 results.extend(_CommonChecks(input_api, output_api) [all...] |
/external/chromium_org/tools/perf_expectations/ |
PRESUBMIT.py | 14 def CheckChangeOnUpload(input_api, output_api): 16 for path in input_api.LocalPaths(): 23 output.extend(input_api.canned_checks.RunUnitTestsInDirectory( 24 input_api, output_api, 'tests', whitelist)) 28 def CheckChangeOnCommit(input_api, output_api): 30 for path in input_api.LocalPaths(): 37 output.extend(input_api.canned_checks.RunUnitTestsInDirectory( 38 input_api, output_api, 'tests', whitelist)) 40 output.extend(input_api.canned_checks.CheckDoNotSubmit(input_api, [all...] |
/external/chromium_org/ui/app_list/ |
PRESUBMIT.py | 13 def CheckChangeLintsClean(input_api, output_api): 14 input_api.cpplint._cpplint_state.ResetErrorCounts() # reset global state 15 source_filter = lambda x: input_api.FilterSourceFile( 18 input_api.AffectedSourceFiles(source_filter)] 22 input_api.cpplint.ProcessFile(file_name, level) 24 if not input_api.cpplint._cpplint_state.error_count: 30 def CheckChangeOnUpload(input_api, output_api): 32 results += CheckChangeLintsClean(input_api, output_api) 33 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
PRESUBMIT.py | 21 def _BuildServer(input_api): 23 sys.path.insert(0, input_api.PresubmitLocalPath()) 29 def _ImportAppYamlHelper(input_api): 31 sys.path.insert(0, input_api.PresubmitLocalPath()) 37 def _WarnIfAppYamlHasntChanged(input_api, output_api): 38 app_yaml_path = os.path.join(input_api.PresubmitLocalPath(), 'app.yaml') 39 if app_yaml_path in input_api.AbsoluteLocalPaths(): 67 def _CheckYamlConsistency(input_api, output_api): 68 app_yaml_path = os.path.join(input_api.PresubmitLocalPath(), 'app.yaml') 69 cron_yaml_path = os.path.join(input_api.PresubmitLocalPath(), 'cron.yaml' [all...] |
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
PRESUBMIT.py | 12 def _RunUseCounterChecks(input_api, output_api): 13 for f in input_api.AffectedFiles(): 23 bucketFinder = input_api.re.compile(r'.*CSSProperty.*return\s*([0-9]+).*') 25 maximumFinder = input_api.re.compile( 38 if input_api.is_committing: 52 def CheckChangeOnUpload(input_api, output_api): 53 return _RunUseCounterChecks(input_api, output_api) 56 def CheckChangeOnCommit(input_api, output_api): 57 return _RunUseCounterChecks(input_api, output_api)
|
/external/chromium_org/chrome/ |
PRESUBMIT.py | 45 def _CheckChangeLintsClean(input_api, output_api): 47 black_list = input_api.DEFAULT_BLACK_LIST + EXCLUDE 48 sources = lambda x: input_api.FilterSourceFile( 50 return input_api.canned_checks.CheckChangeLintsClean( 51 input_api, output_api, sources) 53 def _CheckNoContentUnitTestsInChrome(input_api, output_api): 56 for f in input_api.AffectedFiles(): 72 def _CommonChecks(input_api, output_api): 75 results.extend(_CheckNoContentUnitTestsInChrome(input_api, output_api)) 78 def CheckChangeOnUpload(input_api, output_api) [all...] |
/external/chromium_org/extensions/common/permissions/ |
PRESUBMIT.py | 15 def _CreatePermissionMessageEnumChecker(input_api, output_api): 19 sys.path.append(input_api.os_path.join( 20 input_api.PresubmitLocalPath(), '..', '..', '..', 'tools', 26 return StrictEnumValueChecker(input_api, output_api, 30 def CheckChangeOnUpload(input_api, output_api): 31 return _CreatePermissionMessageEnumChecker(input_api, output_api).Run()
|
/external/chromium_org/mojo/ |
PRESUBMIT.py | 13 def CheckChangeOnUpload(input_api, output_api): 18 input_api.PresubmitLocalPath(), "..", "third_party") 21 input_api.PresubmitLocalPath(), "public", "tools", "bindings", "pylib") 24 temporary_black_list = input_api.DEFAULT_BLACK_LIST + \ 34 results += input_api.canned_checks.RunPylint( 35 input_api, output_api, extra_paths_list=pylint_extra_paths,
|
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/jsdoc-validator/ |
PRESUBMIT.py | 38 def _ValidateHashes(input_api, output_api): 39 sys.path.append(input_api.PresubmitLocalPath()) 50 def CheckChangeOnUpload(input_api, output_api): 51 return _ValidateHashes(input_api, output_api) 54 def CheckChangeOnCommit(input_api, output_api): 55 return _ValidateHashes(input_api, output_api)
|
/external/chromium_org/third_party/ |
PRESUBMIT.py | 22 def LicenseIsCompatibleWithAndroid(input_api, license): 25 [x.strip() for x in input_api.re.split(' and |,', license) if len(x) > 0] 28 if input_api.re.match(regex, token, input_api.re.IGNORECASE): 33 def _CheckThirdPartyReadmesUpdated(input_api, output_api): 41 for f in input_api.AffectedFiles(): 43 if input_api.os_path.dirname(local_path) == 'third_party': 45 if local_path.startswith('third_party' + input_api.os_path.sep): 57 name_pattern = input_api.re.compile( 59 input_api.re.IGNORECASE | input_api.re.MULTILINE [all...] |
/external/chromium_org/tools/telemetry/ |
PRESUBMIT.py | 10 def _CommonChecks(input_api, output_api): 17 input_api.PresubmitLocalPath(), 'update_docs') 26 checker = presubmit_checker.PresubmitChecker(input_api, output_api) 29 results.extend(input_api.canned_checks.RunPylint( 30 input_api, output_api, 35 def GetPathsToPrepend(input_api): 36 return [input_api.PresubmitLocalPath()] 47 def CheckChangeOnUpload(input_api, output_api): 50 results.extend(_CommonChecks(input_api, output_api)) 52 return RunWithPrependedPath(GetPathsToPrepend(input_api), go [all...] |
/external/chromium_org/build/ios/ |
PRESUBMIT.py | 15 def _CheckWhitelistSorted(input_api, output_api): 16 for path in input_api.LocalPaths(): 28 def _CommonChecks(input_api, output_api): 31 results.extend(_CheckWhitelistSorted(input_api, output_api)) 34 def CheckChangeOnUpload(input_api, output_api): 36 results.extend(_CommonChecks(input_api, output_api)) 39 def CheckChangeOnCommit(input_api, output_api): 41 results.extend(_CommonChecks(input_api, output_api))
|