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

Issue 2379993006: Created a tool to remove duplicate includes between h and cc files. (Closed)

Created:
4 years, 2 months ago by skym
Modified:
4 years, 2 months ago
Reviewers:
Dirk Pranke, maxbogue
CC:
chromium-reviews, maxbogue
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Created a tool to remove duplicate includes between h and cc files. BUG= Committed: https://crrev.com/1ce6ac5081ca02d589b419dad66470d68377bc41 Cr-Commit-Position: refs/heads/master@{#423018}

Patch Set 1 #

Patch Set 2 : Making file executable and reworking dry-run. #

Total comments: 12

Patch Set 3 : Updates for Max's comments. #

Total comments: 6

Patch Set 4 : More updates for Max. #

Total comments: 8

Patch Set 5 : Updates for dpranke #

Unified diffs Side-by-side diffs Delta from patch set Stats (+124 lines, -0 lines) Patch
A tools/remove_duplicate_includes.py View 1 2 3 4 1 chunk +124 lines, -0 lines 0 comments Download

Messages

Total messages: 24 (13 generated)
skym
PTAL, this is just a cleaned up version of the script used to create https://codereview.chromium.org/2387553002/
4 years, 2 months ago (2016-09-30 17:04:30 UTC) #2
maxbogue
https://codereview.chromium.org/2379993006/diff/20001/tools/remove_duplicate_includes.py File tools/remove_duplicate_includes.py (right): https://codereview.chromium.org/2379993006/diff/20001/tools/remove_duplicate_includes.py#newcode26 tools/remove_duplicate_includes.py:26: # This could be generlized if desired, and moved ...
4 years, 2 months ago (2016-09-30 17:40:31 UTC) #8
skym
Okay, disregard this review until I rework the cc -> h mapping so it can ...
4 years, 2 months ago (2016-09-30 19:18:13 UTC) #9
skym
Updated to use the first included file as the header to de-dupe with. PTAL
4 years, 2 months ago (2016-10-03 21:16:04 UTC) #10
maxbogue
lgtm, though my python is probably rusty. https://codereview.chromium.org/2379993006/diff/40001/tools/remove_duplicate_includes.py File tools/remove_duplicate_includes.py (right): https://codereview.chromium.org/2379993006/diff/40001/tools/remove_duplicate_includes.py#newcode21 tools/remove_duplicate_includes.py:21: parser = ...
4 years, 2 months ago (2016-10-04 15:13:21 UTC) #15
skym
https://codereview.chromium.org/2379993006/diff/40001/tools/remove_duplicate_includes.py File tools/remove_duplicate_includes.py (right): https://codereview.chromium.org/2379993006/diff/40001/tools/remove_duplicate_includes.py#newcode21 tools/remove_duplicate_includes.py:21: parser = argparse.ArgumentParser() On 2016/10/04 15:13:21, maxbogue wrote: > ...
4 years, 2 months ago (2016-10-04 16:37:40 UTC) #16
Dirk Pranke
lgtm w/ a couple of stylistic comments. https://codereview.chromium.org/2379993006/diff/60001/tools/remove_duplicate_includes.py File tools/remove_duplicate_includes.py (right): https://codereview.chromium.org/2379993006/diff/60001/tools/remove_duplicate_includes.py#newcode6 tools/remove_duplicate_includes.py:6: '''This script ...
4 years, 2 months ago (2016-10-04 20:37:04 UTC) #17
skym
Updates https://codereview.chromium.org/2379993006/diff/60001/tools/remove_duplicate_includes.py File tools/remove_duplicate_includes.py (right): https://codereview.chromium.org/2379993006/diff/60001/tools/remove_duplicate_includes.py#newcode6 tools/remove_duplicate_includes.py:6: '''This script will search through the target folder ...
4 years, 2 months ago (2016-10-04 23:45:11 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2379993006/80001
4 years, 2 months ago (2016-10-04 23:45:47 UTC) #21
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 2 months ago (2016-10-05 00:27:10 UTC) #22
commit-bot: I haz the power
4 years, 2 months ago (2016-10-05 00:33:44 UTC) #24
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/1ce6ac5081ca02d589b419dad66470d68377bc41
Cr-Commit-Position: refs/heads/master@{#423018}

Powered by Google App Engine
This is Rietveld 408576698