Move Chromoting strings to string_resources.grd and simplify remoting_resources target.

Previously all strings were in messages.json files. Moving them to GRD
file will allow to share them with native components. Also simplified
how resources are generated:
 1. Now <if> is used to handle branded strings instead of generating
    grd file in build time
 2. Removed resource_ids - ids are now specified in grd files.

BUG=158995

Review URL: https://codereview.chromium.org/11275101

git-svn-id: http://src.chromium.org/svn/trunk/src/build@166068 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
sergeyu@chromium.org 2012-11-05 23:26:21 +00:00
Родитель f869fa5d67
Коммит d5f0ede00e
1 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -16,16 +16,19 @@
{
'variables': {
'grit_cmd': ['python', '<(DEPTH)/tools/grit/grit.py'],
'grit_resource_ids%': 'GRIT_DIR/../gritsettings/resource_ids',
},
'inputs': [
'<!@pymod_do_main(grit_info <@(grit_defines) --inputs <(grit_grd_file))',
'<!@pymod_do_main(grit_info <@(grit_defines) --inputs <(grit_grd_file) '
'-f "<(grit_resource_ids)")',
],
'outputs': [
'<!@pymod_do_main(grit_info <@(grit_defines) --outputs \'<(grit_out_dir)\' <(grit_grd_file))',
'<!@pymod_do_main(grit_info <@(grit_defines) --outputs \'<(grit_out_dir)\' '
'<(grit_grd_file) -f "<(grit_resource_ids)")',
],
'action': ['<@(grit_cmd)',
'-i', '<(grit_grd_file)', 'build',
'-fGRIT_DIR/../gritsettings/resource_ids',
'-f<(grit_resource_ids)',
'-o', '<(grit_out_dir)',
'<@(grit_defines)' ],
'msvs_cygwin_shell': 0,