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

Unified Diff: tools/git/move_source_file.py

Issue 894973002: move_source_file.py: Update GN files in addition to GYP files (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/git/move_source_file.py
diff --git a/tools/git/move_source_file.py b/tools/git/move_source_file.py
index 117b3ebb1980a7e1d37db0c216cda4266cd35984..b4525bd9491cc5218cfbb23a3ba9ec1d0ad88d15 100755
--- a/tools/git/move_source_file.py
+++ b/tools/git/move_source_file.py
@@ -117,7 +117,7 @@ def UpdatePostMove(from_path, to_path):
mffr.MultiFileFindReplace(
r'([\'"])%s([\'"])' % re.escape(PathMinusFirstComponent(from_path)),
r'\1%s\2' % PathMinusFirstComponent(to_path),
- ['*.gyp*'])
+ ['*.gyp*', '*.gn'])
Daniel Erat 2015/02/03 15:19:56 can this be BUILD.gn instead of *.gn? i think that
satorux1 2015/02/04 05:13:18 Good point. It had to be */BUILD.gn for git grep t
def MakeIncludeGuardName(path_from_root):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698