Remove old webrtc/base directory

The content of webrtc/base has been moved to webrtc/rtc_base and we can
now remove the original directory.

BUG=webrtc:7634

Review-Url: https://codereview.webrtc.org/2994743002
Cr-Commit-Position: refs/heads/master@{#19361}
This commit is contained in:
mbonadei
2017-08-15 23:40:57 -07:00
committed by Commit Bot
parent f0f7378b05
commit 2b05ba1874
2 changed files with 0 additions and 41 deletions

View File

@ -508,26 +508,6 @@ def _CheckUsageOfGoogleProtobufNamespace(input_api, output_api):
return []
def _CheckNoChangesToWebRTCBase(input_api, output_api):
"""Checks that no changes refer to webrtc/base."""
problems = []
for f in input_api.AffectedFiles():
if os.path.join('webrtc', 'base') in f.LocalPath():
problems.append(' ' + f.LocalPath())
continue
for line_num, line in f.ChangedContents():
if 'webrtc/base' in line:
problems.append(' %s: %s' % (f.LocalPath(), line_num))
if problems:
return [output_api.PresubmitPromptWarning(
'webrtc/base is being moved to webrtc/rtc_base (See '
'bugs.webrtc.org/7634). Please refer to webrtc/rtc_base instead in the '
'following files:\n' + '\n'.join(problems))]
return []
def _CommonChecks(input_api, output_api):
"""Checks common to both upload and commit."""
results = []
@ -596,7 +576,6 @@ def _CommonChecks(input_api, output_api):
results.extend(_CheckUsageOfGoogleProtobufNamespace(input_api, output_api))
results.extend(_CheckOrphanHeaders(input_api, output_api))
results.extend(_CheckNewLineAtTheEndOfProtoFiles(input_api, output_api))
results.extend(_CheckNoChangesToWebRTCBase(input_api, output_api))
return results