diff options
author | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 20:49:48 +0000 |
---|---|---|
committer | estade@chromium.org <estade@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-03-15 20:49:48 +0000 |
commit | 4c9101d2cac63aef7cc15fd2fcd7b4d26d80e33f (patch) | |
tree | cd5d5b205a623b200be4091848cbb0dfd2fb4c8d /chrome/tools | |
parent | e6d6b43f9aa5b1da627fe7067d36fe47d46abedb (diff) | |
download | chromium_src-4c9101d2cac63aef7cc15fd2fcd7b4d26d80e33f.zip chromium_src-4c9101d2cac63aef7cc15fd2fcd7b4d26d80e33f.tar.gz chromium_src-4c9101d2cac63aef7cc15fd2fcd7b4d26d80e33f.tar.bz2 |
Update default paths in unused strings script
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/6677058
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78281 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/tools')
-rwxr-xr-x | chrome/tools/check_grd_for_unused_strings.py | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/chrome/tools/check_grd_for_unused_strings.py b/chrome/tools/check_grd_for_unused_strings.py index f66eccd..058f57b 100755 --- a/chrome/tools/check_grd_for_unused_strings.py +++ b/chrome/tools/check_grd_for_unused_strings.py @@ -127,18 +127,16 @@ if __name__ == '__main__': # If no GRD files were given, default them: if len(grd_files) == 0: - app_res_dir = os.path.join(src_dir, 'app', 'resources') chrome_dir = os.path.join(src_dir, 'chrome') chrome_app_dir = os.path.join(chrome_dir, 'app') chrome_app_res_dir = os.path.join(chrome_app_dir, 'resources') + ui_base_dir = os.path.join(src_dir, 'ui', 'base', 'strings') grd_files = [ - os.path.join(app_res_dir, 'app_locale_settings.grd'), - os.path.join(app_res_dir, 'app_resources.grd'), - os.path.join(app_res_dir, 'app_strings.grd'), os.path.join(chrome_app_dir, 'chromium_strings.grd'), os.path.join(chrome_app_dir, 'generated_resources.grd'), os.path.join(chrome_app_dir, 'google_chrome_strings.grd'), os.path.join(chrome_app_res_dir, 'locale_settings.grd'), + os.path.join(chrome_app_res_dir, 'locale_settings_cros.grd'), os.path.join(chrome_app_res_dir, 'locale_settings_linux.grd'), os.path.join(chrome_app_res_dir, 'locale_settings_mac.grd'), os.path.join(chrome_app_res_dir, 'locale_settings_win.grd'), @@ -146,13 +144,19 @@ if __name__ == '__main__': os.path.join(chrome_dir, 'browser', 'browser_resources.grd'), os.path.join(chrome_dir, 'common', 'common_resources.grd'), os.path.join(chrome_dir, 'renderer', 'renderer_resources.grd'), + os.path.join(src_dir, 'app', 'resources', 'app_resources.grd'), + os.path.join(src_dir, 'ui', 'gfx', 'gfx_resources.grd'), + os.path.join(ui_base_dir, 'app_locale_settings.grd'), + os.path.join(ui_base_dir, 'app_strings.grd'), ] # If no source directories were given, default them: if len(src_dirs) == 0: src_dirs = [ os.path.join(src_dir, 'app'), + os.path.join(src_dir, 'content'), os.path.join(src_dir, 'chrome'), + os.path.join(src_dir, 'ui'), os.path.join(src_dir, 'views'), # nsNSSCertHelper.cpp has a bunch of ids os.path.join(src_dir, 'third_party', 'mozilla_security_manager'), |