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

Issue 10806049: Add checkdeps presubmit check. Warns on new #includes of dependencies (Closed)

Created:
8 years, 5 months ago by Jói
Modified:
8 years, 4 months ago
Reviewers:
M-A Ruel
CC:
chromium-reviews, jam, browser-components-dev_chromium.org
Visibility:
Public.

Description

Add checkdeps presubmit check. Warns on new #includes of dependencies we are working to eliminate, and errors on new #includes of disallowed dependencies. BUG=138280 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=149167

Patch Set 1 #

Patch Set 2 : Merge to latest base. #

Total comments: 6

Patch Set 3 : Respond to review comments. #

Total comments: 8

Patch Set 4 : Respond to review comments. #

Total comments: 2

Patch Set 5 : Address review comments. #

Patch Set 6 : Merge to latest. #

Patch Set 7 : Merge to parent. #

Patch Set 8 : Merge to parent. #

Patch Set 9 : Merge to parent. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+64 lines, -1 line) Patch
M PRESUBMIT.py View 1 2 3 4 5 6 7 8 3 chunks +55 lines, -0 lines 0 comments Download
M tools/checkdeps/checkdeps.py View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
M tools/checkdeps/cpp_checker.py View 1 2 3 4 5 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 14 (0 generated)
Jói
I've tested this manually in a local branch I keep around especially for testing presubmit ...
8 years, 5 months ago (2012-07-20 19:52:24 UTC) #1
Jói
BTW, this depends on http://codereview.chromium.org/10805042/. CCing reviewers of that change. On Fri, Jul 20, 2012 ...
8 years, 5 months ago (2012-07-20 19:54:04 UTC) #2
Jói
Marc-Antoine: Could you also take a look at this one now? I've merged in the ...
8 years, 5 months ago (2012-07-25 17:25:12 UTC) #3
Jói
maruel: Friendly ping. On Wed, Jul 25, 2012 at 5:25 PM, <joi@chromium.org> wrote: > Marc-Antoine: ...
8 years, 5 months ago (2012-07-26 10:04:21 UTC) #4
M-A Ruel
http://codereview.chromium.org/10806049/diff/4001/PRESUBMIT.py File PRESUBMIT.py (right): http://codereview.chromium.org/10806049/diff/4001/PRESUBMIT.py#newcode384 PRESUBMIT.py:384: # We need to wait until we have an ...
8 years, 5 months ago (2012-07-26 12:37:41 UTC) #5
Jói
Thanks! I will wait for your LGTM and until you've also finished reviewing the parent ...
8 years, 5 months ago (2012-07-26 13:00:34 UTC) #6
M-A Ruel
http://codereview.chromium.org/10806049/diff/4002/PRESUBMIT.py File PRESUBMIT.py (right): http://codereview.chromium.org/10806049/diff/4002/PRESUBMIT.py#newcode12 PRESUBMIT.py:12: import os Remove http://codereview.chromium.org/10806049/diff/4002/PRESUBMIT.py#newcode389 PRESUBMIT.py:389: sys.path = sys.path + ...
8 years, 5 months ago (2012-07-26 13:09:38 UTC) #7
Jói
Thanks Marc-Antoine, see new patch and responses below. Cheers, Jói http://codereview.chromium.org/10806049/diff/4002/PRESUBMIT.py File PRESUBMIT.py (right): http://codereview.chromium.org/10806049/diff/4002/PRESUBMIT.py#newcode12 ...
8 years, 5 months ago (2012-07-26 13:37:21 UTC) #8
M-A Ruel
Can you delete patchset 4 and upload again? Rietveld ate your patch.
8 years, 5 months ago (2012-07-26 13:52:00 UTC) #9
Jói
On 2012/07/26 13:52:00, Marc-Antoine Ruel wrote: > Can you delete patchset 4 and upload again? ...
8 years, 5 months ago (2012-07-26 13:55:17 UTC) #10
M-A Ruel
lgtm http://codereview.chromium.org/10806049/diff/11002/tools/checkdeps/checkdeps.py File tools/checkdeps/checkdeps.py (right): http://codereview.chromium.org/10806049/diff/11002/tools/checkdeps/checkdeps.py#newcode234 tools/checkdeps/checkdeps.py:234: def ShouldCheckAddedIncludesInFile(file_path): ShouldcheckIncludesInCppFile ? Just to be clearer. ...
8 years, 5 months ago (2012-07-26 14:03:28 UTC) #11
Jói
I addressed all of the comments. Will commit once the parent change is ready and ...
8 years, 5 months ago (2012-07-26 14:33:49 UTC) #12
Jói
Just FYI, I uploaded a small patch with a merge to the latest parent. It ...
8 years, 5 months ago (2012-07-26 17:18:09 UTC) #13
M-A Ruel
8 years, 5 months ago (2012-07-26 18:31:12 UTC) #14
lgtm

Powered by Google App Engine
This is Rietveld 408576698