Add webrtc/base to deprecated APIs.
webrtc/base is used in several places downstream so we need to be careful when updating it as well. Add it as deprecated to disencourage new projects starting to depend on it. BUG=webrtc:5095 NOTRY=True Review URL: https://codereview.webrtc.org/1497733002 Cr-Commit-Position: refs/heads/master@{#10892}
This commit is contained in:
18
PRESUBMIT.py
18
PRESUBMIT.py
@ -21,26 +21,36 @@ CPPLINT_DIRS = [
|
||||
'webrtc/video_engine',
|
||||
]
|
||||
|
||||
# List of directories of "supported" native APIs. That means changes to headers
|
||||
# will be done in a compatible way following this scheme:
|
||||
# 1. Non-breaking changes are made.
|
||||
# 2. The old APIs as marked as deprecated (with comments).
|
||||
# 3. Deprecation is announced to discuss-webrtc@googlegroups.com and
|
||||
# webrtc-users@google.com (internal list).
|
||||
# 4. (later) The deprecated APIs are removed.
|
||||
# Directories marked as DEPRECATED should not be used. They're only present in
|
||||
# the list to support legacy downstream code.
|
||||
NATIVE_API_DIRS = (
|
||||
'talk/app/webrtc',
|
||||
'webrtc',
|
||||
'webrtc/common_audio/include', # DEPRECATED (will go away).
|
||||
'webrtc/base', # DEPRECATED.
|
||||
'webrtc/common_audio/include', # DEPRECATED.
|
||||
'webrtc/modules/audio_coding/include',
|
||||
'webrtc/modules/audio_conference_mixer/include', # DEPRECATED (will go away).
|
||||
'webrtc/modules/audio_conference_mixer/include', # DEPRECATED.
|
||||
'webrtc/modules/audio_device/include',
|
||||
'webrtc/modules/audio_processing/include',
|
||||
'webrtc/modules/bitrate_controller/include',
|
||||
'webrtc/modules/include',
|
||||
'webrtc/modules/remote_bitrate_estimator/include',
|
||||
'webrtc/modules/rtp_rtcp/include',
|
||||
'webrtc/modules/rtp_rtcp/source', # DEPRECATED (will go away).
|
||||
'webrtc/modules/rtp_rtcp/source', # DEPRECATED.
|
||||
'webrtc/modules/utility/include',
|
||||
'webrtc/modules/video_coding/codecs/h264/include',
|
||||
'webrtc/modules/video_coding/codecs/i420/include',
|
||||
'webrtc/modules/video_coding/codecs/vp8/include',
|
||||
'webrtc/modules/video_coding/codecs/vp9/include',
|
||||
'webrtc/modules/video_coding/include',
|
||||
'webrtc/system_wrappers/include', # DEPRECATED (will go away).
|
||||
'webrtc/system_wrappers/include', # DEPRECATED.
|
||||
'webrtc/voice_engine/include',
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user