cros: Create strings and resources grd for ash/components
This cl adds template files for strings and resources in ash/components.
Bug: 813914
Test: Tested loading the IDR icon.
Change-Id: Id71d98a949bbda15b54ffc9627f696014ad399e8
Reviewed-on: https://chromium-review.googlesource.com/927453
Reviewed-by: Evan Stade <[email protected]>
Reviewed-by: Lei Zhang <[email protected]>
Reviewed-by: Mitsuru Oshima <[email protected]>
Reviewed-by: James Cook <[email protected]>
Commit-Queue: Tao Wu <[email protected]>
Cr-Commit-Position: refs/heads/master@{#538226}
diff --git a/tools/check_grd_for_unused_strings.py b/tools/check_grd_for_unused_strings.py
index 7e5e919..d997db6 100755
--- a/tools/check_grd_for_unused_strings.py
+++ b/tools/check_grd_for_unused_strings.py
@@ -127,6 +127,7 @@
# If no GRD files were given, default them:
if len(grd_files) == 0:
ash_base_dir = os.path.join(src_dir, 'ash')
+ ash_components_dir = os.path.join(ash_base_dir, 'components')
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')
@@ -137,6 +138,9 @@
grd_files = [
os.path.join(ash_base_dir, 'ash_strings.grd'),
os.path.join(ash_base_dir, 'resources', 'ash_resources.grd'),
+ os.path.join(ash_components_dir, 'ash_components_strings.grd'),
+ os.path.join(ash_components_dir, 'resources',
+ 'ash_components_resources.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'),