Moving check_package_boundaries to the presubmit checks directory
Since we now have a directory for this kind of checks, let's move this to that location. BUG=None NOTRY=True Review-Url: https://codereview.webrtc.org/2870393006 Cr-Commit-Position: refs/heads/master@{#18122}
This commit is contained in:
@ -332,7 +332,8 @@ def _CheckNoMixingCAndCCSources(input_api, gn_files, output_api):
|
||||
|
||||
def _CheckNoPackageBoundaryViolations(input_api, gn_files, output_api):
|
||||
cwd = input_api.PresubmitLocalPath()
|
||||
script_path = os.path.join('tools_webrtc', 'check_package_boundaries.py')
|
||||
script_path = os.path.join('tools_webrtc', 'presubmit_checks_lib',
|
||||
'check_package_boundaries.py')
|
||||
webrtc_path = os.path.join('webrtc')
|
||||
command = [sys.executable, script_path, webrtc_path]
|
||||
command += [gn_file.LocalPath() for gn_file in gn_files]
|
||||
|
||||
Reference in New Issue
Block a user