Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Issue 1408783008: Add PRESUBMIT check for native API changes. (Closed)

Created:
5 years, 2 months ago by kjellander_webrtc
Modified:
5 years ago
CC:
webrtc-reviews_webrtc.org, qiang.lu, niklas.enbom, yujie_mao (webrtc), peah-webrtc, Andrew MacDonald
Base URL:
https://chromium.googlesource.com/external/webrtc.git@master
Target Ref:
refs/pending/heads/master
Project:
webrtc
Visibility:
Public.

Description

Add PRESUBMIT check for native API changes. BUG=webrtc:5095 TESTED=Modified local header file, ensured only one directory matches it's path (since 'webrtc' is in the list). Also tested that the _VerifyNativeApiHeadersListIsValid works by adding a path that doesn't exist to the list and verified it produces an error. NOTRY=True Committed: https://crrev.com/53047c9739989251cbe7090865411b1469b47f5d Cr-Commit-Position: refs/heads/master@{#10878}

Patch Set 1 #

Patch Set 2 : Rebased and fixed bugs, now it actually works. #

Patch Set 3 : Updated paths, ensured partial paths don't give false positives #

Total comments: 11

Patch Set 4 : Updated audio_coding/include path and added discuss-webrtc message. #

Patch Set 5 : Added webrtc-users@google.com as well #

Total comments: 4

Patch Set 6 : Improved English #

Total comments: 2

Patch Set 7 : Rebase + added deprecation notice for system_wrappers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+71 lines, -0 lines) Patch
M PRESUBMIT.py View 1 2 3 4 5 6 3 chunks +71 lines, -0 lines 0 comments Download

Messages

Total messages: 31 (10 generated)
kjellander_webrtc
phoglund: Python experise. tommi: rubberstamp.
5 years ago (2015-11-25 17:45:06 UTC) #3
tommi
lgtm
5 years ago (2015-11-25 18:01:52 UTC) #4
Andrew MacDonald
Drive-by. https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py#newcode20 PRESUBMIT.py:20: 'webrtc/common_audio/include', # DEPRECATED (will go away). I think ...
5 years ago (2015-11-25 19:10:40 UTC) #6
kjellander_webrtc
https://codereview.chromium.org/1408783008/diff/40001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.chromium.org/1408783008/diff/40001/PRESUBMIT.py#newcode20 PRESUBMIT.py:20: 'webrtc/common_audio/include', # DEPRECATED (will go away). On 2015/11/25 19:10:40, ...
5 years ago (2015-11-25 22:16:51 UTC) #7
Andrew MacDonald
https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py#newcode20 PRESUBMIT.py:20: 'webrtc/common_audio/include', # DEPRECATED (will go away). On 2015/11/25 22:16:51, ...
5 years ago (2015-11-25 23:09:53 UTC) #9
aluebs-webrtc
https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py#newcode20 PRESUBMIT.py:20: 'webrtc/common_audio/include', # DEPRECATED (will go away). On 2015/11/25 23:09:53, ...
5 years ago (2015-11-25 23:54:46 UTC) #10
kjellander_webrtc
https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py#newcode20 PRESUBMIT.py:20: 'webrtc/common_audio/include', # DEPRECATED (will go away). On 2015/11/25 23:54:45, ...
5 years ago (2015-11-26 08:37:53 UTC) #12
phoglund
https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py#newcode76 PRESUBMIT.py:76: ' 4. Update/inform existing clients to update their code ...
5 years ago (2015-11-26 09:52:07 UTC) #13
Andrew MacDonald
https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py#newcode76 PRESUBMIT.py:76: ' 4. Update/inform existing clients to update their code ...
5 years ago (2015-11-26 17:13:20 UTC) #14
kjellander_webrtc
Updated the information message and the audio_coding path after landing https://codereview.webrtc.org/1481493004/ PTAL https://codereview.webrtc.org/1408783008/diff/40001/PRESUBMIT.py File PRESUBMIT.py ...
5 years ago (2015-11-27 07:06:59 UTC) #15
hlundin-webrtc
https://codereview.webrtc.org/1408783008/diff/80001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1408783008/diff/80001/PRESUBMIT.py#newcode72 PRESUBMIT.py:72: ' 1. Make compatible changes that doesn\'t break existing ...
5 years ago (2015-11-27 07:46:13 UTC) #16
kjellander_webrtc
Another round... https://codereview.webrtc.org/1408783008/diff/80001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1408783008/diff/80001/PRESUBMIT.py#newcode72 PRESUBMIT.py:72: ' 1. Make compatible changes that doesn\'t ...
5 years ago (2015-11-27 08:40:32 UTC) #17
hlundin-webrtc
lgtm
5 years ago (2015-11-27 08:44:28 UTC) #18
Andrew MacDonald
https://codereview.webrtc.org/1408783008/diff/100001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1408783008/diff/100001/PRESUBMIT.py#newcode36 PRESUBMIT.py:36: 'webrtc/system_wrappers/include', This should be deprecated to, no? If anything ...
5 years ago (2015-11-30 17:12:36 UTC) #19
kjellander_webrtc
https://codereview.webrtc.org/1408783008/diff/100001/PRESUBMIT.py File PRESUBMIT.py (right): https://codereview.webrtc.org/1408783008/diff/100001/PRESUBMIT.py#newcode36 PRESUBMIT.py:36: 'webrtc/system_wrappers/include', On 2015/11/30 17:12:36, Andrew MacDonald wrote: > This ...
5 years ago (2015-11-30 17:29:26 UTC) #20
Andrew MacDonald
lgtm, fwiw :-)
5 years ago (2015-11-30 18:03:57 UTC) #21
kjellander_webrtc
phoglund: ready for approval or do you have more comments?
5 years ago (2015-12-02 09:14:40 UTC) #22
phoglund
lgtm
5 years ago (2015-12-02 12:22:43 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1408783008/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1408783008/120001
5 years ago (2015-12-03 07:54:47 UTC) #27
commit-bot: I haz the power
Committed patchset #7 (id:120001)
5 years ago (2015-12-03 07:56:17 UTC) #29
commit-bot: I haz the power
5 years ago (2015-12-03 07:56:28 UTC) #31
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/53047c9739989251cbe7090865411b1469b47f5d
Cr-Commit-Position: refs/heads/master@{#10878}

Powered by Google App Engine
This is Rietveld 408576698