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

Unified Diff: chrome/tools/check_grd_for_unused_strings.py

Issue 490813002: Fix the string resource paths in check_grd_unused_strings.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: chrome/tools/check_grd_for_unused_strings.py
diff --git a/chrome/tools/check_grd_for_unused_strings.py b/chrome/tools/check_grd_for_unused_strings.py
index 25455f8c987870747668430a20ada4b1dc890146..4dece1a7b3178ee379e2b84e41de7f28a906e2b0 100755
--- a/chrome/tools/check_grd_for_unused_strings.py
+++ b/chrome/tools/check_grd_for_unused_strings.py
@@ -131,9 +131,9 @@ def main():
chrome_app_dir = os.path.join(chrome_dir, 'app')
chrome_app_res_dir = os.path.join(chrome_app_dir, 'resources')
device_base_dir = os.path.join(src_dir, 'device')
- ui_base_dir = os.path.join(src_dir, 'ui', 'base',)
- ui_base_strings_dir = os.path.join(ui_base_dir, 'strings')
- ui_chromeos_dir = os.path.join(ui_base_dir, 'chromeos', 'strings')
+ ui_dir = os.path.join(src_dir, 'ui')
+ ui_strings_dir = os.path.join(ui_dir, 'strings')
+ ui_chromeos_dir = os.path.join(ui_dir, 'chromeos')
grd_files = [
os.path.join(ash_base_dir, 'ash_strings.grd'),
os.path.join(ash_base_dir, 'resources', 'ash_resources.grd'),
@@ -155,8 +155,8 @@ def main():
os.path.join(src_dir, 'extensions', 'extensions_strings.grd'),
os.path.join(src_dir, 'ui', 'resources', 'ui_resources.grd'),
os.path.join(src_dir, 'ui', 'webui', 'resources', 'webui_resources.grd'),
- os.path.join(ui_base_strings_dir, 'app_locale_settings.grd'),
- os.path.join(ui_base_strings_dir, 'ui_strings.grd'),
+ os.path.join(ui_strings_dir, 'app_locale_settings.grd'),
+ os.path.join(ui_strings_dir, 'ui_strings.grd'),
os.path.join(ui_chromeos_dir, 'ui_chromeos_strings.grd'),
]
« 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