summaryrefslogtreecommitdiffstats
path: root/ui/ui.gyp
diff options
context:
space:
mode:
authornewt@chromium.org <newt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-10 20:02:26 +0000
committernewt@chromium.org <newt@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-01-10 20:02:26 +0000
commitb2c548cdbc5707bdc59bd3dba5b16c774175d51d (patch)
treecfbfa77f7529b59d904f1fb280975c1f4b1f96e9 /ui/ui.gyp
parent52d1b4e358427885ef7b5f0f4507016f65fe9309 (diff)
downloadchromium_src-b2c548cdbc5707bdc59bd3dba5b16c774175d51d.zip
chromium_src-b2c548cdbc5707bdc59bd3dba5b16c774175d51d.tar.gz
chromium_src-b2c548cdbc5707bdc59bd3dba5b16c774175d51d.tar.bz2
[Android] Generate localized strings.xml files at build time.
This generates localized strings.xml files (e.g. values-fr/strings.xml) from grd and xtb files at build time. This means we no longer need to check in localized strings.xml files. Note: the xtb files are empty until translations are available. Benefits: - 41 fewer extraneous results when grepping Java string IDs - Switching from maintaining strings in strings.xml over to using a grd file is One Trivial CL* away: just include English in the list of languages for which we generate strings.xml files. *Restrictions may apply BUG=167248 Review URL: https://codereview.chromium.org/11659006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@176134 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/ui.gyp')
-rw-r--r--ui/ui.gyp1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/ui.gyp b/ui/ui.gyp
index 947ea2a..b032052 100644
--- a/ui/ui.gyp
+++ b/ui/ui.gyp
@@ -893,6 +893,7 @@
'has_java_resources': 1,
'R_package': 'org.chromium.ui',
'R_package_relpath': 'org/chromium/ui',
+ 'java_strings_grd': 'android_ui_strings.grd',
},
'dependencies': [
'../base/base.gyp:base_java',