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

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, 2 months 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 15 matching lines...) Expand all
62 'host_plugin_extension': 'arm.so', 64 'host_plugin_extension': 'arm.so',
63 'host_plugin_prefix': 'lib', 65 'host_plugin_prefix': 'lib',
64 }], 66 }],
65 ['OS=="win"', { 67 ['OS=="win"', {
66 'host_plugin_extension': 'dll', 68 'host_plugin_extension': 'dll',
67 'host_plugin_prefix': '', 69 'host_plugin_prefix': '',
68 }], 70 }],
69 71
70 ['branding=="Chrome"', { 72 ['branding=="Chrome"', {
71 'remoting_webapp_locale_files': [ 73 'remoting_webapp_locale_files': [
72 'webapp/_locales.official/ar/messages.json', 74 '<(webapp_locale_dir)/ar/messages.json',
Jamie 2012/10/15 04:06:38 This will fail for an official build because the "
Sergey Ulanov 2012/10/15 18:57:22 Now the messages.json files are generated from grd
73 'webapp/_locales.official/bg/messages.json', 75 '<(webapp_locale_dir)/bg/messages.json',
74 'webapp/_locales.official/ca/messages.json', 76 '<(webapp_locale_dir)/ca/messages.json',
75 'webapp/_locales.official/cs/messages.json', 77 '<(webapp_locale_dir)/cs/messages.json',
76 'webapp/_locales.official/da/messages.json', 78 '<(webapp_locale_dir)/da/messages.json',
77 'webapp/_locales.official/de/messages.json', 79 '<(webapp_locale_dir)/de/messages.json',
78 'webapp/_locales.official/el/messages.json', 80 '<(webapp_locale_dir)/el/messages.json',
79 'webapp/_locales.official/en/messages.json', 81 '<(webapp_locale_dir)/en/messages.json',
80 'webapp/_locales.official/en_GB/messages.json', 82 '<(webapp_locale_dir)/en_GB/messages.json',
81 'webapp/_locales.official/es/messages.json', 83 '<(webapp_locale_dir)/es/messages.json',
82 'webapp/_locales.official/es_419/messages.json', 84 '<(webapp_locale_dir)/es_419/messages.json',
83 'webapp/_locales.official/et/messages.json', 85 '<(webapp_locale_dir)/et/messages.json',
84 'webapp/_locales.official/fi/messages.json', 86 '<(webapp_locale_dir)/fi/messages.json',
85 'webapp/_locales.official/fil/messages.json', 87 '<(webapp_locale_dir)/fil/messages.json',
86 'webapp/_locales.official/fr/messages.json', 88 '<(webapp_locale_dir)/fr/messages.json',
87 'webapp/_locales.official/he/messages.json', 89 '<(webapp_locale_dir)/he/messages.json',
88 'webapp/_locales.official/hi/messages.json', 90 '<(webapp_locale_dir)/hi/messages.json',
89 'webapp/_locales.official/hr/messages.json', 91 '<(webapp_locale_dir)/hr/messages.json',
90 'webapp/_locales.official/hu/messages.json', 92 '<(webapp_locale_dir)/hu/messages.json',
91 'webapp/_locales.official/id/messages.json', 93 '<(webapp_locale_dir)/id/messages.json',
92 'webapp/_locales.official/it/messages.json', 94 '<(webapp_locale_dir)/it/messages.json',
93 'webapp/_locales.official/ja/messages.json', 95 '<(webapp_locale_dir)/ja/messages.json',
94 'webapp/_locales.official/ko/messages.json', 96 '<(webapp_locale_dir)/ko/messages.json',
95 'webapp/_locales.official/lt/messages.json', 97 '<(webapp_locale_dir)/lt/messages.json',
96 'webapp/_locales.official/lv/messages.json', 98 '<(webapp_locale_dir)/lv/messages.json',
97 'webapp/_locales.official/nb/messages.json', 99 '<(webapp_locale_dir)/nb/messages.json',
98 'webapp/_locales.official/nl/messages.json', 100 '<(webapp_locale_dir)/nl/messages.json',
99 'webapp/_locales.official/pl/messages.json', 101 '<(webapp_locale_dir)/pl/messages.json',
100 'webapp/_locales.official/pt_BR/messages.json', 102 '<(webapp_locale_dir)/pt_BR/messages.json',
101 'webapp/_locales.official/pt_PT/messages.json', 103 '<(webapp_locale_dir)/pt_PT/messages.json',
102 'webapp/_locales.official/ro/messages.json', 104 '<(webapp_locale_dir)/ro/messages.json',
103 'webapp/_locales.official/ru/messages.json', 105 '<(webapp_locale_dir)/ru/messages.json',
104 'webapp/_locales.official/sk/messages.json', 106 '<(webapp_locale_dir)/sk/messages.json',
105 'webapp/_locales.official/sl/messages.json', 107 '<(webapp_locale_dir)/sl/messages.json',
106 'webapp/_locales.official/sr/messages.json', 108 '<(webapp_locale_dir)/sr/messages.json',
107 'webapp/_locales.official/sv/messages.json', 109 '<(webapp_locale_dir)/sv/messages.json',
108 'webapp/_locales.official/th/messages.json', 110 '<(webapp_locale_dir)/th/messages.json',
109 'webapp/_locales.official/tr/messages.json', 111 '<(webapp_locale_dir)/tr/messages.json',
110 'webapp/_locales.official/uk/messages.json', 112 '<(webapp_locale_dir)/uk/messages.json',
111 'webapp/_locales.official/vi/messages.json', 113 '<(webapp_locale_dir)/vi/messages.json',
112 'webapp/_locales.official/zh_CN/messages.json', 114 '<(webapp_locale_dir)/zh_CN/messages.json',
113 'webapp/_locales.official/zh_TW/messages.json', 115 '<(webapp_locale_dir)/zh_TW/messages.json',
114 ], 116 ],
115 }, { # else: branding!="Chrome" 117 }, { # else: branding!="Chrome"
116 'remoting_webapp_locale_files': [ 118 'remoting_webapp_locale_files': [
117 'webapp/_locales/en/messages.json', 119 '<(webapp_locale_dir)/en/messages.json',
118 ], 120 ],
119 }], 121 }],
120 ['OS=="win"', { 122 ['OS=="win"', {
121 # Use auto-generated CLSID for the daemon controller to make sure that 123 # Use auto-generated CLSID for the daemon controller to make sure that
122 # the newly installed version of the controller will be used during 124 # the newly installed version of the controller will be used during
123 # upgrade even if there is an old instance running already. 125 # upgrade even if there is an old instance running already.
124 'daemon_controller_clsid': '<!(python tools/uuidgen.py)', 126 'daemon_controller_clsid': '<!(python tools/uuidgen.py)',
125 }], 127 }],
126 ], 128 ],
127 'remoting_webapp_files': [ 129 'remoting_webapp_files': [
(...skipping 1010 matching lines...) Expand 10 before | Expand all | Expand 10 after
1138 'host/plugin/host_plugin.def', 1140 'host/plugin/host_plugin.def',
1139 ], 1141 ],
1140 }], 1142 }],
1141 ], 1143 ],
1142 }, # end of target 'remoting_host_plugin' 1144 }, # end of target 'remoting_host_plugin'
1143 1145
1144 { 1146 {
1145 'target_name': 'remoting_webapp', 1147 'target_name': 'remoting_webapp',
1146 'type': 'none', 1148 'type': 'none',
1147 'dependencies': [ 1149 'dependencies': [
1150 'remoting_resources',
Jamie 2012/10/15 04:06:38 This change seems unrelated to anything else in th
Sergey Ulanov 2012/10/15 18:57:22 It is related. remoting_resources target now gener
1148 'remoting_host_plugin', 1151 'remoting_host_plugin',
1149 ], 1152 ],
1150 'sources': [ 1153 'sources': [
1151 'webapp/build-webapp.py', 1154 'webapp/build-webapp.py',
1152 'webapp/verify-webapp.py', 1155 'webapp/verify-webapp.py',
1153 '<(remoting_version_path)', 1156 '<(remoting_version_path)',
1154 '<(chrome_version_path)', 1157 '<(chrome_version_path)',
1155 '<@(remoting_webapp_files)', 1158 '<@(remoting_webapp_files)',
1156 '<@(remoting_webapp_locale_files)', 1159 '<@(remoting_webapp_locale_files)',
1157 ], 1160 ],
1158 # Can't use a 'copies' because we need to manipulate 1161 # Can't use a 'copies' because we need to manipulate
1159 # the manifest file to get the right plugin name. 1162 # the manifest file to get the right plugin name.
1160 # Also we need to move the plugin into the me2mom 1163 # Also we need to move the plugin into the me2mom
1161 # folder, which means 2 copies, and gyp doesn't 1164 # folder, which means 2 copies, and gyp doesn't
1162 # seem to guarantee the ordering of 2 copies statements 1165 # seem to guarantee the ordering of 2 copies statements
1163 # when the actual project is generated. 1166 # when the actual project is generated.
1164 'actions': [ 1167 'actions': [
1165 { 1168 {
1166 'action_name': 'Verify Remoting WebApp i18n', 1169 'action_name': 'Verify Remoting WebApp i18n',
1167 'inputs': [ 1170 'inputs': [
1168 'host/plugin/host_script_object.cc', 1171 'host/plugin/host_script_object.cc',
1169 'webapp/_locales/en/messages.json', 1172 '<(webapp_locale_dir)/en/messages.json',
1170 'webapp/client_screen.js', 1173 'webapp/client_screen.js',
1171 'webapp/host_controller.js', 1174 'webapp/host_controller.js',
1172 'webapp/host_table_entry.js', 1175 'webapp/host_table_entry.js',
1173 'webapp/host_setup_dialog.js', 1176 'webapp/host_setup_dialog.js',
1174 'webapp/main.html', 1177 'webapp/main.html',
1175 'webapp/manifest.json', 1178 'webapp/manifest.json',
1176 'webapp/remoting.js', 1179 'webapp/remoting.js',
1177 'webapp/verify-webapp.py', 1180 'webapp/verify-webapp.py',
1178 ], 1181 ],
1179 'outputs': [ 1182 'outputs': [
1180 '<(PRODUCT_DIR)/remoting/webapp_verified.stamp', 1183 '<(PRODUCT_DIR)/remoting/webapp_verified.stamp',
1181 ], 1184 ],
1182 'action': [ 1185 'action': [
1183 'python', 1186 'python',
1184 'webapp/verify-webapp.py', 1187 'webapp/verify-webapp.py',
1185 '<(PRODUCT_DIR)/remoting/webapp_verified.stamp', 1188 '<(PRODUCT_DIR)/remoting/webapp_verified.stamp',
1186 'webapp/_locales/en/messages.json', 1189 '<(webapp_locale_dir)/en/messages.json',
1187 'webapp/client_screen.js', 1190 'webapp/client_screen.js',
1188 'webapp/host_controller.js', 1191 'webapp/host_controller.js',
1189 'webapp/host_table_entry.js', 1192 'webapp/host_table_entry.js',
1190 'webapp/host_setup_dialog.js', 1193 'webapp/host_setup_dialog.js',
1191 'webapp/main.html', 1194 'webapp/main.html',
1192 'webapp/manifest.json', 1195 'webapp/manifest.json',
1193 'webapp/remoting.js', 1196 'webapp/remoting.js',
1194 'host/plugin/host_script_object.cc', 1197 'host/plugin/host_script_object.cc',
1195 ], 1198 ],
1196 }, 1199 },
(...skipping 911 matching lines...) Expand 10 before | Expand all | Expand 10 after
2108 '../base/allocator/allocator.gyp:allocator', 2111 '../base/allocator/allocator.gyp:allocator',
2109 ], 2112 ],
2110 }, 2113 },
2111 ], 2114 ],
2112 ], 2115 ],
2113 }], 2116 }],
2114 ], # end of 'conditions' 2117 ], # end of 'conditions'
2115 }, # end of target 'remoting_unittests' 2118 }, # end of target 'remoting_unittests'
2116 ], # end of targets 2119 ], # end of targets
2117 } 2120 }
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