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

Side by Side Diff: remoting/remoting_webapp_files.gypi

Issue 742473002: [Chromoting] Break up the webapp's init function into smaller chunks. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Upload Created 6 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 'remoting_webapp_info_files': [ 7 'remoting_webapp_info_files': [
8 'resources/chromoting16.webp', 8 'resources/chromoting16.webp',
9 'resources/chromoting48.webp', 9 'resources/chromoting48.webp',
10 'resources/chromoting128.webp', 10 'resources/chromoting128.webp',
(...skipping 16 matching lines...) Expand all
27 'webapp/crd/js/cs_oauth2_trampoline.js', # Google account 27 'webapp/crd/js/cs_oauth2_trampoline.js', # Google account
28 ], 28 ],
29 # Auth (client to host) JavaScript files. 29 # Auth (client to host) JavaScript files.
30 'remoting_webapp_js_auth_client2host_files': [ 30 'remoting_webapp_js_auth_client2host_files': [
31 'webapp/crd/js/third_party_host_permissions.js', 31 'webapp/crd/js/third_party_host_permissions.js',
32 'webapp/crd/js/third_party_token_fetcher.js', 32 'webapp/crd/js/third_party_token_fetcher.js',
33 ], 33 ],
34 # Auth (Google account) JavaScript files. 34 # Auth (Google account) JavaScript files.
35 'remoting_webapp_js_auth_google_files': [ 35 'remoting_webapp_js_auth_google_files': [
36 'webapp/base/js/auth_dialog.js', 36 'webapp/base/js/auth_dialog.js',
37 'webapp/base/js/auth_init.js',
37 'webapp/crd/js/identity.js', 38 'webapp/crd/js/identity.js',
38 'webapp/crd/js/oauth2.js', 39 'webapp/crd/js/oauth2.js',
39 'webapp/crd/js/oauth2_api.js', 40 'webapp/crd/js/oauth2_api.js',
40 ], 41 ],
41 # Client JavaScript files. 42 # Client JavaScript files.
42 'remoting_webapp_js_client_files': [ 43 'remoting_webapp_js_client_files': [
43 'webapp/crd/js/client_plugin.js', 44 'webapp/crd/js/client_plugin.js',
44 'webapp/crd/js/client_plugin_impl.js', 45 'webapp/crd/js/client_plugin_impl.js',
45 # TODO(garykac) For client_screen: 46 # TODO(garykac) For client_screen:
46 # * Split out pin/access code stuff into separate file. 47 # * Split out pin/access code stuff into separate file.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
171 'webapp/unittests/xmpp_connection_unittest.js', 172 'webapp/unittests/xmpp_connection_unittest.js',
172 'webapp/unittests/xmpp_login_handler_unittest.js', 173 'webapp/unittests/xmpp_login_handler_unittest.js',
173 'webapp/unittests/xmpp_stream_parser_unittest.js', 174 'webapp/unittests/xmpp_stream_parser_unittest.js',
174 ], 175 ],
175 'remoting_webapp_unittest_additional_files': [ 176 'remoting_webapp_unittest_additional_files': [
176 'webapp/crd/html/menu_button.css', 177 'webapp/crd/html/menu_button.css',
177 ], 178 ],
178 'remoting_webapp_unittest_template_main': 179 'remoting_webapp_unittest_template_main':
179 'webapp/crd/html/template_unittest.html', 180 'webapp/crd/html/template_unittest.html',
180 181
181 # The JavaScript files required by main.html. 182 # The shared JavaScript files required by main.html.
182 'remoting_webapp_main_html_js_files': [ 183 'remoting_webapp_shared_main_html_js_files': [
183 # Include the core files first as it is required by the other files. 184 # Include the core files first as it is required by the other files.
184 # Otherwise, Jscompile will complain. 185 # Otherwise, Jscompile will complain.
185 '<@(remoting_webapp_js_core_files)', 186 '<@(remoting_webapp_js_core_files)',
186 '<@(remoting_webapp_js_auth_client2host_files)', 187 '<@(remoting_webapp_js_auth_client2host_files)',
187 '<@(remoting_webapp_js_auth_google_files)', 188 '<@(remoting_webapp_js_auth_google_files)',
188 '<@(remoting_webapp_js_client_files)', 189 '<@(remoting_webapp_js_client_files)',
189 '<@(remoting_webapp_js_gnubby_auth_files)', 190 '<@(remoting_webapp_js_gnubby_auth_files)',
190 '<@(remoting_webapp_js_cast_extension_files)', 191 '<@(remoting_webapp_js_cast_extension_files)',
191 '<@(remoting_webapp_js_host_files)', 192 '<@(remoting_webapp_js_host_files)',
192 '<@(remoting_webapp_js_logging_files)', 193 '<@(remoting_webapp_js_logging_files)',
193 '<@(remoting_webapp_js_ui_files)', 194 '<@(remoting_webapp_js_ui_files)',
194 '<@(remoting_webapp_js_ui_host_control_files)', 195 '<@(remoting_webapp_js_ui_host_control_files)',
195 '<@(remoting_webapp_js_ui_host_display_files)', 196 '<@(remoting_webapp_js_ui_host_display_files)',
196 '<@(remoting_webapp_js_signaling_files)', 197 '<@(remoting_webapp_js_signaling_files)',
197 # Uncomment this line to include browser test files in the web app 198 # Uncomment this line to include browser test files in the web app
198 # to expedite debugging or local development. 199 # to expedite debugging or local development.
199 # '<@(remoting_webapp_js_browser_test_files)' 200 # '<@(remoting_webapp_js_browser_test_files)'
200 ], 201 ],
201 202
203 # The CRD-specific JavaScript files required by main.html.
204 'remoting_webapp_crd_main_html_js_files': [
205 'webapp/crd/js/crd_init.js',
206 ],
207
202 # The JavaScript files that are used in the background page. 208 # The JavaScript files that are used in the background page.
203 'remoting_webapp_background_js_files': [ 209 'remoting_webapp_background_js_files': [
204 'webapp/base/js/base.js', 210 'webapp/base/js/base.js',
205 'webapp/base/js/message_window_helper.js', 211 'webapp/base/js/message_window_helper.js',
206 'webapp/base/js/message_window_manager.js', 212 'webapp/base/js/message_window_manager.js',
207 'webapp/crd/js/app_launcher.js', 213 'webapp/crd/js/app_launcher.js',
208 'webapp/crd/js/background.js', 214 'webapp/crd/js/background.js',
209 'webapp/crd/js/client_session.js', 215 'webapp/crd/js/client_session.js',
210 'webapp/crd/js/error.js', 216 'webapp/crd/js/error.js',
211 'webapp/crd/js/host_installer.js', 217 'webapp/crd/js/host_installer.js',
(...skipping 10 matching lines...) Expand all
222 'webapp/crd/js/xhr.js', 228 'webapp/crd/js/xhr.js',
223 ], 229 ],
224 230
225 # The JavaScript files required by wcs_sandbox.html. 231 # The JavaScript files required by wcs_sandbox.html.
226 'remoting_webapp_wcs_sandbox_html_js_files': [ 232 'remoting_webapp_wcs_sandbox_html_js_files': [
227 '<@(remoting_webapp_js_wcs_sandbox_files)', 233 '<@(remoting_webapp_js_wcs_sandbox_files)',
228 'webapp/crd/js/error.js', 234 'webapp/crd/js/error.js',
229 'webapp/crd/js/plugin_settings.js', 235 'webapp/crd/js/plugin_settings.js',
230 ], 236 ],
231 237
232 # All the JavaScript files required by the webapp. 238 # All the JavaScript files that are shared by webapps.
233 'remoting_webapp_all_js_files': [ 239 'remoting_webapp_shared_js_files': [
234 # JS files for main.html. 240 # JS files for main.html.
235 '<@(remoting_webapp_main_html_js_files)', 241 '<@(remoting_webapp_shared_main_html_js_files)',
236 '<@(remoting_webapp_background_js_files)', 242 '<@(remoting_webapp_background_js_files)',
237 # JS files for message_window.html 243 # JS files for message_window.html
238 'webapp/base/js/message_window.js', 244 'webapp/base/js/message_window.js',
239 # JS files for wcs_sandbox.html. 245 # JS files for wcs_sandbox.html.
240 # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files 246 # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files
241 # so that we don't double include error.js and plugin_settings.js. 247 # so that we don't double include error.js and plugin_settings.js.
242 '<@(remoting_webapp_js_wcs_sandbox_files)', 248 '<@(remoting_webapp_js_wcs_sandbox_files)',
243 # JS files referenced in mainfest.json. 249 # JS files referenced in mainfest.json.
244 '<@(remoting_webapp_js_auth_v1_files)', 250 '<@(remoting_webapp_js_auth_v1_files)',
245 ], 251 ],
246 252
253 # All the JavaScript files required by CRD.
254 'remoting_webapp_crd_js_files': [
garykac 2014/11/19 19:06:40 This change effectively renames _all_js_files to _
255 '<@(remoting_webapp_shared_js_files)',
256 '<@(remoting_webapp_crd_main_html_js_files)',
257 ],
258
247 'remoting_webapp_resource_files': [ 259 'remoting_webapp_resource_files': [
248 'resources/disclosure_arrow_down.webp', 260 'resources/disclosure_arrow_down.webp',
249 'resources/disclosure_arrow_right.webp', 261 'resources/disclosure_arrow_right.webp',
250 'resources/drag.webp', 262 'resources/drag.webp',
251 'resources/host_setup_instructions.webp', 263 'resources/host_setup_instructions.webp',
252 'resources/icon_close.webp', 264 'resources/icon_close.webp',
253 'resources/icon_cross.webp', 265 'resources/icon_cross.webp',
254 'resources/icon_disconnect.webp', 266 'resources/icon_disconnect.webp',
255 'resources/icon_fullscreen.webp', 267 'resources/icon_fullscreen.webp',
256 'resources/icon_help.webp', 268 'resources/icon_help.webp',
(...skipping 15 matching lines...) Expand all
272 'webapp/base/resources/open_sans.css', 284 'webapp/base/resources/open_sans.css',
273 'webapp/base/resources/open_sans.woff', 285 'webapp/base/resources/open_sans.woff',
274 'webapp/base/resources/spinner.gif', 286 'webapp/base/resources/spinner.gif',
275 'webapp/crd/html/butter_bar.css', 287 'webapp/crd/html/butter_bar.css',
276 'webapp/crd/html/toolbar.css', 288 'webapp/crd/html/toolbar.css',
277 'webapp/crd/html/menu_button.css', 289 'webapp/crd/html/menu_button.css',
278 'webapp/crd/html/window_frame.css', 290 'webapp/crd/html/window_frame.css',
279 'webapp/crd/resources/scale-to-fit.webp', 291 'webapp/crd/resources/scale-to-fit.webp',
280 ], 292 ],
281 293
282 'remoting_webapp_files': [ 294 'remoting_webapp_crd_files': [
283 '<@(remoting_webapp_info_files)', 295 '<@(remoting_webapp_info_files)',
284 '<@(remoting_webapp_all_js_files)', 296 '<@(remoting_webapp_crd_js_files)',
285 '<@(remoting_webapp_resource_files)', 297 '<@(remoting_webapp_resource_files)',
286 ], 298 ],
287 299
288 # These template files are used to construct the webapp html files. 300 # These template files are used to construct the webapp html files.
289 'remoting_webapp_template_main': 301 'remoting_webapp_template_main':
290 'webapp/crd/html/template_main.html', 302 'webapp/crd/html/template_main.html',
291 303
292 'remoting_webapp_template_wcs_sandbox': 304 'remoting_webapp_template_wcs_sandbox':
293 'webapp/base/html/template_wcs_sandbox.html', 305 'webapp/base/html/template_wcs_sandbox.html',
294 306
(...skipping 20 matching lines...) Expand all
315 'webapp/crd/html/dialog_token_refresh_failed.html', 327 'webapp/crd/html/dialog_token_refresh_failed.html',
316 'webapp/crd/html/toolbar.html', 328 'webapp/crd/html/toolbar.html',
317 'webapp/crd/html/ui_header.html', 329 'webapp/crd/html/ui_header.html',
318 'webapp/crd/html/ui_it2me.html', 330 'webapp/crd/html/ui_it2me.html',
319 'webapp/crd/html/ui_me2me.html', 331 'webapp/crd/html/ui_me2me.html',
320 'webapp/crd/html/window_frame.html', 332 'webapp/crd/html/window_frame.html',
321 ], 333 ],
322 334
323 }, 335 },
324 } 336 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698