mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-13 05:40:42 +01:00
Improve warning about deprecation in PRESUBMIT
BUG=None NOTRY=True Review-Url: https://codereview.webrtc.org/2691933003 Cr-Commit-Position: refs/heads/master@{#16575}
This commit is contained in:
parent
5583384048
commit
375b9ac4cc
1 changed files with 3 additions and 2 deletions
|
@ -117,8 +117,9 @@ def _VerifyNativeApiHeadersListIsValid(input_api, output_api):
|
|||
|
||||
api_change_msg = """
|
||||
You seem to be changing native API header files. Please make sure that you:
|
||||
1. Make compatible changes that don't break existing clients.
|
||||
2. Mark the old stuff as deprecated.
|
||||
1. Make compatible changes that don't break existing clients. Usually
|
||||
this is done by keeping the existing method signatures unchanged.
|
||||
2. Mark the old stuff as deprecated (see RTC_DEPRECATED macro).
|
||||
3. Create a timeline and plan for when the deprecated stuff will be
|
||||
removed. (The amount of time we give users to change their code
|
||||
should be informed by how much work it is for them. If they just
|
||||
|
|
Loading…
Reference in a new issue