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

Issue 894973002: move_source_file.py: Update GN files in addition to GYP files (Closed)

Created:
5 years, 10 months ago by satorux1
Modified:
5 years, 10 months ago
Reviewers:
Daniel Erat
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

move_source_file.py: Update GN files in addition to GYP files The change only handles files moved/renamed withing the same BUILD.gn file. If files are moved beyond the same BUILD.gn file, the affected BUILD.gn files should be fixed manually. BUG=404616 TEST=1) rename files with git mv 2) run tools/git/mass-rename.sh 3) confirm that BUILD.gn is updated as expected Committed: https://crrev.com/6decda6f18f847755f97b79e0fb69581d6431021 Cr-Commit-Position: refs/heads/master@{#314945}

Patch Set 1 #

Total comments: 2

Patch Set 2 : handle relative paths #

Total comments: 3

Patch Set 3 : fix comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -0 lines) Patch
M tools/git/move_source_file.py View 1 2 1 chunk +42 lines, -0 lines 0 comments Download

Messages

Total messages: 12 (3 generated)
satorux1
joi is no longer active on chromium. picking up derat@ for no particular reason. :)
5 years, 10 months ago (2015-02-03 07:12:37 UTC) #2
Daniel Erat
thanks for doing this! https://codereview.chromium.org/894973002/diff/1/tools/git/move_source_file.py File tools/git/move_source_file.py (right): https://codereview.chromium.org/894973002/diff/1/tools/git/move_source_file.py#newcode120 tools/git/move_source_file.py:120: ['*.gyp*', '*.gn']) can this be ...
5 years, 10 months ago (2015-02-03 15:19:56 UTC) #3
satorux1
https://codereview.chromium.org/894973002/diff/1/tools/git/move_source_file.py File tools/git/move_source_file.py (right): https://codereview.chromium.org/894973002/diff/1/tools/git/move_source_file.py#newcode120 tools/git/move_source_file.py:120: ['*.gyp*', '*.gn']) On 2015/02/03 15:19:56, Daniel Erat wrote: > ...
5 years, 10 months ago (2015-02-04 05:13:18 UTC) #4
satorux1
The change became bigger than originally anticipated, but the new version can handle relative paths ...
5 years, 10 months ago (2015-02-04 06:47:37 UTC) #5
Daniel Erat
lgtm https://codereview.chromium.org/894973002/diff/20001/tools/git/move_source_file.py File tools/git/move_source_file.py (right): https://codereview.chromium.org/894973002/diff/20001/tools/git/move_source_file.py#newcode128 tools/git/move_source_file.py:128: # For instance, "chrome/browser/chromeos/device_uma.h.h" is listed as nit: ...
5 years, 10 months ago (2015-02-04 15:22:43 UTC) #6
satorux1
https://codereview.chromium.org/894973002/diff/20001/tools/git/move_source_file.py File tools/git/move_source_file.py (right): https://codereview.chromium.org/894973002/diff/20001/tools/git/move_source_file.py#newcode128 tools/git/move_source_file.py:128: # For instance, "chrome/browser/chromeos/device_uma.h.h" is listed as On 2015/02/04 ...
5 years, 10 months ago (2015-02-06 01:23:41 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/894973002/40001
5 years, 10 months ago (2015-02-06 01:24:12 UTC) #10
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years, 10 months ago (2015-02-06 02:07:10 UTC) #11
commit-bot: I haz the power
5 years, 10 months ago (2015-02-06 02:08:24 UTC) #12
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/6decda6f18f847755f97b79e0fb69581d6431021
Cr-Commit-Position: refs/heads/master@{#314945}

Powered by Google App Engine
This is Rietveld 408576698