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

Side by Side Diff: remoting/remoting.gyp

Issue 11150008: Move Chromoting strings to string_resources.grd. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 1 month 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | remoting/resources/string_resources.grd » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 # TODO(dmaclach): can we pick this up some other way? Right now it's 7 # TODO(dmaclach): can we pick this up some other way? Right now it's
8 # duplicated from chrome.gyp 8 # duplicated from chrome.gyp
9 'chromium_code': 1, 9 'chromium_code': 1,
10 10
(...skipping 16 matching lines...) Expand all
27 'version_short': 27 'version_short':
28 '<(version_major).<(version_minor).' 28 '<(version_major).<(version_minor).'
29 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers ion_path) -t "@BUILD@")', 29 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers ion_path) -t "@BUILD@")',
30 'version_full': 30 'version_full':
31 '<(version_short).' 31 '<(version_short).'
32 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers ion_path) -t "@PATCH@")', 32 '<!(python <(version_py_path) -f <(chrome_version_path) -f <(remoting_vers ion_path) -t "@PATCH@")',
33 33
34 'branding_path': '../remoting/branding_<(branding)', 34 'branding_path': '../remoting/branding_<(branding)',
35 'copyright_info': '<!(python <(version_py_path) -f <(branding_path) -t "@COP YRIGHT@")', 35 'copyright_info': '<!(python <(version_py_path) -f <(branding_path) -t "@COP YRIGHT@")',
36 36
37 'webapp_locale_dir': '<(SHARED_INTERMEDIATE_DIR)/remoting/webapp/_locales',
38
37 # Use consistent strings across all platforms. 39 # Use consistent strings across all platforms.
38 # These values must match host/plugin/constants.h 40 # These values must match host/plugin/constants.h
39 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host', 41 'host_plugin_mime_type': 'application/vnd.chromium.remoting-host',
40 'host_plugin_description': '<!(python <(version_py_path) -f <(branding_path) -t "@HOST_PLUGIN_DESCRIPTION@")', 42 'host_plugin_description': '<!(python <(version_py_path) -f <(branding_path) -t "@HOST_PLUGIN_DESCRIPTION@")',
41 'host_plugin_name': '<!(python <(version_py_path) -f <(branding_path) -t "@H OST_PLUGIN_FILE_NAME@")', 43 'host_plugin_name': '<!(python <(version_py_path) -f <(branding_path) -t "@H OST_PLUGIN_FILE_NAME@")',
42 44
43 'conditions': [ 45 'conditions': [
44 ['OS=="mac"', { 46 ['OS=="mac"', {
45 'mac_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@ MAC_BUNDLE_ID@")', 47 'mac_bundle_id': '<!(python <(version_py_path) -f <(branding_path) -t "@ MAC_BUNDLE_ID@")',
46 'mac_creator': '<!(python <(version_py_path) -f <(branding_path) -t "@MA C_CREATOR@")', 48 'mac_creator': '<!(python <(version_py_path) -f <(branding_path) -t "@MA C_CREATOR@")',
(...skipping 18 matching lines...) Expand all
65 'host_plugin_extension': 'mipsel.so', 67 'host_plugin_extension': 'mipsel.so',
66 'host_plugin_prefix': 'lib', 68 'host_plugin_prefix': 'lib',
67 }], 69 }],
68 ['OS=="win"', { 70 ['OS=="win"', {
69 'host_plugin_extension': 'dll', 71 'host_plugin_extension': 'dll',
70 'host_plugin_prefix': '', 72 'host_plugin_prefix': '',
71 }], 73 }],
72 74
73 ['branding=="Chrome"', { 75 ['branding=="Chrome"', {
74 'remoting_webapp_locale_files': [ 76 'remoting_webapp_locale_files': [
75 'webapp/_locales.official/ar/messages.json', 77 '<(webapp_locale_dir)/ar/messages.json',
76 'webapp/_locales.official/bg/messages.json', 78 '<(webapp_locale_dir)/bg/messages.json',
77 'webapp/_locales.official/ca/messages.json', 79 '<(webapp_locale_dir)/ca/messages.json',
78 'webapp/_locales.official/cs/messages.json', 80 '<(webapp_locale_dir)/cs/messages.json',
79 'webapp/_locales.official/da/messages.json', 81 '<(webapp_locale_dir)/da/messages.json',
80 'webapp/_locales.official/de/messages.json', 82 '<(webapp_locale_dir)/de/messages.json',
81 'webapp/_locales.official/el/messages.json', 83 '<(webapp_locale_dir)/el/messages.json',
82 'webapp/_locales.official/en/messages.json', 84 '<(webapp_locale_dir)/en/messages.json',
83 'webapp/_locales.official/en_GB/messages.json', 85 '<(webapp_locale_dir)/en_GB/messages.json',
84 'webapp/_locales.official/es/messages.json', 86 '<(webapp_locale_dir)/es/messages.json',
85 'webapp/_locales.official/es_419/messages.json', 87 '<(webapp_locale_dir)/es_419/messages.json',
86 'webapp/_locales.official/et/messages.json', 88 '<(webapp_locale_dir)/et/messages.json',
87 'webapp/_locales.official/fi/messages.json', 89 '<(webapp_locale_dir)/fi/messages.json',
88 'webapp/_locales.official/fil/messages.json', 90 '<(webapp_locale_dir)/fil/messages.json',
89 'webapp/_locales.official/fr/messages.json', 91 '<(webapp_locale_dir)/fr/messages.json',
90 'webapp/_locales.official/he/messages.json', 92 '<(webapp_locale_dir)/he/messages.json',
91 'webapp/_locales.official/hi/messages.json', 93 '<(webapp_locale_dir)/hi/messages.json',
92 'webapp/_locales.official/hr/messages.json', 94 '<(webapp_locale_dir)/hr/messages.json',
93 'webapp/_locales.official/hu/messages.json', 95 '<(webapp_locale_dir)/hu/messages.json',
94 'webapp/_locales.official/id/messages.json', 96 '<(webapp_locale_dir)/id/messages.json',
95 'webapp/_locales.official/it/messages.json', 97 '<(webapp_locale_dir)/it/messages.json',
96 'webapp/_locales.official/ja/messages.json', 98 '<(webapp_locale_dir)/ja/messages.json',
97 'webapp/_locales.official/ko/messages.json', 99 '<(webapp_locale_dir)/ko/messages.json',
98 'webapp/_locales.official/lt/messages.json', 100 '<(webapp_locale_dir)/lt/messages.json',
99 'webapp/_locales.official/lv/messages.json', 101 '<(webapp_locale_dir)/lv/messages.json',
100 'webapp/_locales.official/nb/messages.json', 102 '<(webapp_locale_dir)/nb/messages.json',
101 'webapp/_locales.official/nl/messages.json', 103 '<(webapp_locale_dir)/nl/messages.json',
102 'webapp/_locales.official/pl/messages.json', 104 '<(webapp_locale_dir)/pl/messages.json',
103 'webapp/_locales.official/pt_BR/messages.json', 105 '<(webapp_locale_dir)/pt_BR/messages.json',
104 'webapp/_locales.official/pt_PT/messages.json', 106 '<(webapp_locale_dir)/pt_PT/messages.json',
105 'webapp/_locales.official/ro/messages.json', 107 '<(webapp_locale_dir)/ro/messages.json',
106 'webapp/_locales.official/ru/messages.json', 108 '<(webapp_locale_dir)/ru/messages.json',
107 'webapp/_locales.official/sk/messages.json', 109 '<(webapp_locale_dir)/sk/messages.json',
108 'webapp/_locales.official/sl/messages.json', 110 '<(webapp_locale_dir)/sl/messages.json',
109 'webapp/_locales.official/sr/messages.json', 111 '<(webapp_locale_dir)/sr/messages.json',
110 'webapp/_locales.official/sv/messages.json', 112 '<(webapp_locale_dir)/sv/messages.json',
111 'webapp/_locales.official/th/messages.json', 113 '<(webapp_locale_dir)/th/messages.json',
112 'webapp/_locales.official/tr/messages.json', 114 '<(webapp_locale_dir)/tr/messages.json',
113 'webapp/_locales.official/uk/messages.json', 115 '<(webapp_locale_dir)/uk/messages.json',
114 'webapp/_locales.official/vi/messages.json', 116 '<(webapp_locale_dir)/vi/messages.json',
115 'webapp/_locales.official/zh_CN/messages.json', 117 '<(webapp_locale_dir)/zh_CN/messages.json',
116 'webapp/_locales.official/zh_TW/messages.json', 118 '<(webapp_locale_dir)/zh_TW/messages.json',
117 ], 119 ],
118 }, { # else: branding!="Chrome" 120 }, { # else: branding!="Chrome"
119 'remoting_webapp_locale_files': [ 121 'remoting_webapp_locale_files': [
120 'webapp/_locales/en/messages.json', 122 '<(webapp_locale_dir)/en/messages.json',
121 ], 123 ],
122 }], 124 }],
123 ['OS=="win"', { 125 ['OS=="win"', {
124 # Use auto-generated CLSID for the daemon controller to make sure that 126 # Use auto-generated CLSID for the daemon controller to make sure that
125 # the newly installed version of the controller will be used during 127 # the newly installed version of the controller will be used during
126 # upgrade even if there is an old instance running already. 128 # upgrade even if there is an old instance running already.
127 'daemon_controller_clsid': '<!(python tools/uuidgen.py)', 129 'daemon_controller_clsid': '<!(python tools/uuidgen.py)',
128 }], 130 }],
129 ], 131 ],
130 'remoting_webapp_files': [ 132 'remoting_webapp_files': [
(...skipping 1070 matching lines...) Expand 10 before | Expand all | Expand 10 after
1201 'host/plugin/host_plugin.def', 1203 'host/plugin/host_plugin.def',
1202 ], 1204 ],
1203 }], 1205 }],
1204 ], 1206 ],
1205 }, # end of target 'remoting_host_plugin' 1207 }, # end of target 'remoting_host_plugin'
1206 1208
1207 { 1209 {
1208 'target_name': 'remoting_webapp', 1210 'target_name': 'remoting_webapp',
1209 'type': 'none', 1211 'type': 'none',
1210 'dependencies': [ 1212 'dependencies': [
1213 'remoting_resources',
1211 'remoting_host_plugin', 1214 'remoting_host_plugin',
1212 ], 1215 ],
1213 'sources': [ 1216 'sources': [
1214 'webapp/build-webapp.py', 1217 'webapp/build-webapp.py',
1215 'webapp/verify-webapp.py', 1218 'webapp/verify-webapp.py',
1216 '<(remoting_version_path)', 1219 '<(remoting_version_path)',
1217 '<(chrome_version_path)', 1220 '<(chrome_version_path)',
1218 '<@(remoting_webapp_files)', 1221 '<@(remoting_webapp_files)',
1219 '<@(remoting_webapp_locale_files)', 1222 '<@(remoting_webapp_locale_files)',
1220 ], 1223 ],
1221 # Can't use a 'copies' because we need to manipulate 1224 # Can't use a 'copies' because we need to manipulate
1222 # the manifest file to get the right plugin name. 1225 # the manifest file to get the right plugin name.
1223 # Also we need to move the plugin into the me2mom 1226 # Also we need to move the plugin into the me2mom
1224 # folder, which means 2 copies, and gyp doesn't 1227 # folder, which means 2 copies, and gyp doesn't
1225 # seem to guarantee the ordering of 2 copies statements 1228 # seem to guarantee the ordering of 2 copies statements
1226 # when the actual project is generated. 1229 # when the actual project is generated.
1227 'actions': [ 1230 'actions': [
1228 { 1231 {
1229 'action_name': 'Verify Remoting WebApp i18n', 1232 'action_name': 'Verify Remoting WebApp i18n',
1230 'inputs': [ 1233 'inputs': [
1231 'host/plugin/host_script_object.cc', 1234 'host/plugin/host_script_object.cc',
1232 'webapp/_locales/en/messages.json', 1235 '<(webapp_locale_dir)/en/messages.json',
1233 'webapp/client_screen.js', 1236 'webapp/client_screen.js',
1234 'webapp/host_controller.js', 1237 'webapp/host_controller.js',
1235 'webapp/host_table_entry.js', 1238 'webapp/host_table_entry.js',
1236 'webapp/host_setup_dialog.js', 1239 'webapp/host_setup_dialog.js',
1237 'webapp/main.html', 1240 'webapp/main.html',
1238 'webapp/manifest.json', 1241 'webapp/manifest.json',
1239 'webapp/remoting.js', 1242 'webapp/remoting.js',
1240 'webapp/verify-webapp.py', 1243 'webapp/verify-webapp.py',
1241 ], 1244 ],
1242 'outputs': [ 1245 'outputs': [
1243 '<(PRODUCT_DIR)/remoting/webapp_verified.stamp', 1246 '<(PRODUCT_DIR)/remoting/webapp_verified.stamp',
1244 ], 1247 ],
1245 'action': [ 1248 'action': [
1246 'python', 1249 'python',
1247 'webapp/verify-webapp.py', 1250 'webapp/verify-webapp.py',
1248 '<(PRODUCT_DIR)/remoting/webapp_verified.stamp', 1251 '<(PRODUCT_DIR)/remoting/webapp_verified.stamp',
1249 'webapp/_locales/en/messages.json', 1252 '<(webapp_locale_dir)/en/messages.json',
1250 'webapp/client_screen.js', 1253 'webapp/client_screen.js',
1251 'webapp/host_controller.js', 1254 'webapp/host_controller.js',
1252 'webapp/host_table_entry.js', 1255 'webapp/host_table_entry.js',
1253 'webapp/host_setup_dialog.js', 1256 'webapp/host_setup_dialog.js',
1254 'webapp/main.html', 1257 'webapp/main.html',
1255 'webapp/manifest.json', 1258 'webapp/manifest.json',
1256 'webapp/remoting.js', 1259 'webapp/remoting.js',
1257 'host/plugin/host_script_object.cc', 1260 'host/plugin/host_script_object.cc',
1258 ], 1261 ],
1259 }, 1262 },
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after
1349 'grit_grd_file': 'resources/common_resources.grd', 1352 'grit_grd_file': 'resources/common_resources.grd',
1350 'base_grit_grd_file': 'resources/common_resources.grd', 1353 'base_grit_grd_file': 'resources/common_resources.grd',
1351 }, 1354 },
1352 'includes': [ 'grit_action.gypi' ], 1355 'includes': [ 'grit_action.gypi' ],
1353 }, 1356 },
1354 ], 1357 ],
1355 'copies': [ 1358 'copies': [
1356 # Copy results to the product directory. 1359 # Copy results to the product directory.
1357 { 1360 {
1358 'destination': '<(PRODUCT_DIR)/remoting_locales', 1361 'destination': '<(PRODUCT_DIR)/remoting_locales',
1359 'files': [ 1362 'conditions': [
1360 '<(grit_out_dir)/remoting/resources/en-US.pak', 1363 ['branding=="Chrome"', {
1361 ] 1364 'files': [
1365 '<(grit_out_dir)/remoting/resources/ar.pak',
1366 '<(grit_out_dir)/remoting/resources/bg.pak',
1367 '<(grit_out_dir)/remoting/resources/ca.pak',
1368 '<(grit_out_dir)/remoting/resources/cs.pak',
1369 '<(grit_out_dir)/remoting/resources/da.pak',
1370 '<(grit_out_dir)/remoting/resources/de.pak',
1371 '<(grit_out_dir)/remoting/resources/el.pak',
1372 '<(grit_out_dir)/remoting/resources/en-US.pak',
1373 '<(grit_out_dir)/remoting/resources/en-GB.pak',
1374 '<(grit_out_dir)/remoting/resources/es.pak',
1375 '<(grit_out_dir)/remoting/resources/es-419.pak',
1376 '<(grit_out_dir)/remoting/resources/et.pak',
1377 '<(grit_out_dir)/remoting/resources/fi.pak',
1378 '<(grit_out_dir)/remoting/resources/fil.pak',
1379 '<(grit_out_dir)/remoting/resources/fr.pak',
1380 '<(grit_out_dir)/remoting/resources/he.pak',
1381 '<(grit_out_dir)/remoting/resources/hi.pak',
1382 '<(grit_out_dir)/remoting/resources/hr.pak',
1383 '<(grit_out_dir)/remoting/resources/hu.pak',
1384 '<(grit_out_dir)/remoting/resources/id.pak',
1385 '<(grit_out_dir)/remoting/resources/it.pak',
1386 '<(grit_out_dir)/remoting/resources/ja.pak',
1387 '<(grit_out_dir)/remoting/resources/ko.pak',
1388 '<(grit_out_dir)/remoting/resources/lt.pak',
1389 '<(grit_out_dir)/remoting/resources/lv.pak',
1390 '<(grit_out_dir)/remoting/resources/nb.pak',
1391 '<(grit_out_dir)/remoting/resources/nl.pak',
1392 '<(grit_out_dir)/remoting/resources/pl.pak',
1393 '<(grit_out_dir)/remoting/resources/pt-BR.pak',
1394 '<(grit_out_dir)/remoting/resources/pt-PT.pak',
1395 '<(grit_out_dir)/remoting/resources/ro.pak',
1396 '<(grit_out_dir)/remoting/resources/ru.pak',
1397 '<(grit_out_dir)/remoting/resources/sk.pak',
1398 '<(grit_out_dir)/remoting/resources/sl.pak',
1399 '<(grit_out_dir)/remoting/resources/sr.pak',
1400 '<(grit_out_dir)/remoting/resources/sv.pak',
1401 '<(grit_out_dir)/remoting/resources/th.pak',
1402 '<(grit_out_dir)/remoting/resources/tr.pak',
1403 '<(grit_out_dir)/remoting/resources/uk.pak',
1404 '<(grit_out_dir)/remoting/resources/vi.pak',
1405 '<(grit_out_dir)/remoting/resources/zh-CN.pak',
1406 '<(grit_out_dir)/remoting/resources/zh-TW.pak',
1407 ],
1408 }, { # else: branding!="Chrome"
1409 'files': [
1410 '<(grit_out_dir)/remoting/resources/en-US.pak',
1411 ]
1412 }]
1413 ],
1362 }, 1414 },
1363 { 1415 {
1364 'destination': '<(PRODUCT_DIR)', 1416 'destination': '<(PRODUCT_DIR)',
1365 'files': [ 1417 'files': [
1366 '<(grit_out_dir)/remoting/resources/chrome_remote_desktop.pak', 1418 '<(grit_out_dir)/remoting/resources/chrome_remote_desktop.pak',
1367 ] 1419 ]
1368 }, 1420 },
1369 ], 1421 ],
1370 'includes': [ '../build/grit_target.gypi' ], 1422 'includes': [ '../build/grit_target.gypi' ],
1371 }, # end of target 'remoting_resources' 1423 }, # end of target 'remoting_resources'
(...skipping 848 matching lines...) Expand 10 before | Expand all | Expand 10 after
2220 '../base/allocator/allocator.gyp:allocator', 2272 '../base/allocator/allocator.gyp:allocator',
2221 ], 2273 ],
2222 }, 2274 },
2223 ], 2275 ],
2224 ], 2276 ],
2225 }], # end of 'toolkit_uses_gtk == 1' 2277 }], # end of 'toolkit_uses_gtk == 1'
2226 ], # end of 'conditions' 2278 ], # end of 'conditions'
2227 }, # end of target 'remoting_unittests' 2279 }, # end of target 'remoting_unittests'
2228 ], # end of targets 2280 ], # end of targets
2229 } 2281 }
OLDNEW
« no previous file with comments | « no previous file | remoting/resources/string_resources.grd » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698