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

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: Fix browsertest break by removing onload handler Created 6 years 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
« no previous file with comments | « remoting/remoting_webapp.gypi ('k') | remoting/webapp/base/js/auth_init.js » ('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 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 100 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 'webapp/browser_test/mock_session_connector.js', 148 'webapp/browser_test/mock_session_connector.js',
148 'webapp/browser_test/mock_signal_strategy.js', 149 'webapp/browser_test/mock_signal_strategy.js',
149 'webapp/browser_test/scrollbar_browser_test.js', 150 'webapp/browser_test/scrollbar_browser_test.js',
150 'webapp/browser_test/update_pin_browser_test.js', 151 'webapp/browser_test/update_pin_browser_test.js',
151 ], 152 ],
152 # These product files are excluded from our JavaScript unittest 153 # These product files are excluded from our JavaScript unittest
153 'remoting_webapp_unittest_exclude_files': [ 154 'remoting_webapp_unittest_exclude_files': [
154 # background.js is where the onLoad handler is defined, which 155 # background.js is where the onLoad handler is defined, which
155 # makes it the entry point of the background page. 156 # makes it the entry point of the background page.
156 'webapp/crd/js/background.js', 157 'webapp/crd/js/background.js',
157 # event_handlers.js is where the onLoad handler is defined, which
158 # makes it the entry point of the webapp.
159 'webapp/crd/js/event_handlers.js',
160 ], 158 ],
161 # The unit test cases for the webapp 159 # The unit test cases for the webapp
162 'remoting_webapp_unittest_js_files': [ 160 'remoting_webapp_unittest_js_files': [
163 'webapp/js_proto/chrome_proto.js', 161 'webapp/js_proto/chrome_proto.js',
164 'webapp/unittests/chrome_mocks.js', 162 'webapp/unittests/chrome_mocks.js',
165 'webapp/unittests/base_unittest.js', 163 'webapp/unittests/base_unittest.js',
166 'webapp/unittests/it2me_helpee_channel_unittest.js', 164 'webapp/unittests/it2me_helpee_channel_unittest.js',
167 'webapp/unittests/it2me_helper_channel_unittest.js', 165 'webapp/unittests/it2me_helper_channel_unittest.js',
168 'webapp/unittests/it2me_service_unittest.js', 166 'webapp/unittests/it2me_service_unittest.js',
169 'webapp/unittests/l10n_unittest.js', 167 'webapp/unittests/l10n_unittest.js',
170 'webapp/unittests/menu_button_unittest.js', 168 'webapp/unittests/menu_button_unittest.js',
171 'webapp/unittests/xmpp_connection_unittest.js', 169 'webapp/unittests/xmpp_connection_unittest.js',
172 'webapp/unittests/xmpp_login_handler_unittest.js', 170 'webapp/unittests/xmpp_login_handler_unittest.js',
173 'webapp/unittests/xmpp_stream_parser_unittest.js', 171 'webapp/unittests/xmpp_stream_parser_unittest.js',
174 ], 172 ],
175 'remoting_webapp_unittest_additional_files': [ 173 'remoting_webapp_unittest_additional_files': [
176 'webapp/crd/html/menu_button.css', 174 'webapp/crd/html/menu_button.css',
177 ], 175 ],
178 'remoting_webapp_unittest_template_main': 176 'remoting_webapp_unittest_template_main':
179 'webapp/crd/html/template_unittest.html', 177 'webapp/crd/html/template_unittest.html',
180 178
181 # The JavaScript files required by main.html. 179 # The shared JavaScript files required by main.html.
182 'remoting_webapp_main_html_js_files': [ 180 'remoting_webapp_shared_main_html_js_files': [
183 # Include the core files first as it is required by the other files. 181 # Include the core files first as it is required by the other files.
184 # Otherwise, Jscompile will complain. 182 # Otherwise, Jscompile will complain.
185 '<@(remoting_webapp_js_core_files)', 183 '<@(remoting_webapp_js_core_files)',
186 '<@(remoting_webapp_js_auth_client2host_files)', 184 '<@(remoting_webapp_js_auth_client2host_files)',
187 '<@(remoting_webapp_js_auth_google_files)', 185 '<@(remoting_webapp_js_auth_google_files)',
188 '<@(remoting_webapp_js_client_files)', 186 '<@(remoting_webapp_js_client_files)',
189 '<@(remoting_webapp_js_gnubby_auth_files)', 187 '<@(remoting_webapp_js_gnubby_auth_files)',
190 '<@(remoting_webapp_js_cast_extension_files)', 188 '<@(remoting_webapp_js_cast_extension_files)',
191 '<@(remoting_webapp_js_host_files)', 189 '<@(remoting_webapp_js_host_files)',
192 '<@(remoting_webapp_js_logging_files)', 190 '<@(remoting_webapp_js_logging_files)',
193 '<@(remoting_webapp_js_ui_files)', 191 '<@(remoting_webapp_js_ui_files)',
194 '<@(remoting_webapp_js_ui_host_control_files)', 192 '<@(remoting_webapp_js_ui_host_control_files)',
195 '<@(remoting_webapp_js_ui_host_display_files)', 193 '<@(remoting_webapp_js_ui_host_display_files)',
196 '<@(remoting_webapp_js_signaling_files)', 194 '<@(remoting_webapp_js_signaling_files)',
197 # Uncomment this line to include browser test files in the web app 195 # Uncomment this line to include browser test files in the web app
198 # to expedite debugging or local development. 196 # to expedite debugging or local development.
199 # '<@(remoting_webapp_js_browser_test_files)' 197 # '<@(remoting_webapp_js_browser_test_files)'
200 ], 198 ],
201 199
200 # The CRD-specific JavaScript files required by main.html.
201 'remoting_webapp_crd_main_html_js_files': [
202 'webapp/crd/js/crd_main.js',
203 ],
204
202 # The JavaScript files that are used in the background page. 205 # The JavaScript files that are used in the background page.
203 'remoting_webapp_background_js_files': [ 206 'remoting_webapp_background_js_files': [
204 'webapp/base/js/base.js', 207 'webapp/base/js/base.js',
205 'webapp/base/js/message_window_helper.js', 208 'webapp/base/js/message_window_helper.js',
206 'webapp/base/js/message_window_manager.js', 209 'webapp/base/js/message_window_manager.js',
207 'webapp/crd/js/app_launcher.js', 210 'webapp/crd/js/app_launcher.js',
208 'webapp/crd/js/background.js', 211 'webapp/crd/js/background.js',
209 'webapp/crd/js/client_session.js', 212 'webapp/crd/js/client_session.js',
210 'webapp/crd/js/error.js', 213 'webapp/crd/js/error.js',
211 'webapp/crd/js/host_installer.js', 214 'webapp/crd/js/host_installer.js',
(...skipping 10 matching lines...) Expand all
222 'webapp/crd/js/xhr.js', 225 'webapp/crd/js/xhr.js',
223 ], 226 ],
224 227
225 # The JavaScript files required by wcs_sandbox.html. 228 # The JavaScript files required by wcs_sandbox.html.
226 'remoting_webapp_wcs_sandbox_html_js_files': [ 229 'remoting_webapp_wcs_sandbox_html_js_files': [
227 '<@(remoting_webapp_js_wcs_sandbox_files)', 230 '<@(remoting_webapp_js_wcs_sandbox_files)',
228 'webapp/crd/js/error.js', 231 'webapp/crd/js/error.js',
229 'webapp/crd/js/plugin_settings.js', 232 'webapp/crd/js/plugin_settings.js',
230 ], 233 ],
231 234
232 # All the JavaScript files required by the webapp. 235 # All the JavaScript files that are shared by webapps.
233 'remoting_webapp_all_js_files': [ 236 'remoting_webapp_shared_js_files': [
234 # JS files for main.html. 237 # JS files for main.html.
235 '<@(remoting_webapp_main_html_js_files)', 238 '<@(remoting_webapp_shared_main_html_js_files)',
236 '<@(remoting_webapp_background_js_files)', 239 '<@(remoting_webapp_background_js_files)',
237 # JS files for message_window.html 240 # JS files for message_window.html
238 'webapp/base/js/message_window.js', 241 'webapp/base/js/message_window.js',
239 # JS files for wcs_sandbox.html. 242 # JS files for wcs_sandbox.html.
240 # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files 243 # 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. 244 # so that we don't double include error.js and plugin_settings.js.
242 '<@(remoting_webapp_js_wcs_sandbox_files)', 245 '<@(remoting_webapp_js_wcs_sandbox_files)',
243 # JS files referenced in mainfest.json. 246 # JS files referenced in mainfest.json.
244 '<@(remoting_webapp_js_auth_v1_files)', 247 '<@(remoting_webapp_js_auth_v1_files)',
245 ], 248 ],
246 249
250 # All the JavaScript files required by CRD.
251 'remoting_webapp_crd_js_files': [
252 '<@(remoting_webapp_shared_js_files)',
253 '<@(remoting_webapp_crd_main_html_js_files)',
254 ],
255
247 'remoting_webapp_resource_files': [ 256 'remoting_webapp_resource_files': [
248 'resources/disclosure_arrow_down.webp', 257 'resources/disclosure_arrow_down.webp',
249 'resources/disclosure_arrow_right.webp', 258 'resources/disclosure_arrow_right.webp',
250 'resources/drag.webp', 259 'resources/drag.webp',
251 'resources/host_setup_instructions.webp', 260 'resources/host_setup_instructions.webp',
252 'resources/icon_close.webp', 261 'resources/icon_close.webp',
253 'resources/icon_cross.webp', 262 'resources/icon_cross.webp',
254 'resources/icon_disconnect.webp', 263 'resources/icon_disconnect.webp',
255 'resources/icon_fullscreen.webp', 264 'resources/icon_fullscreen.webp',
256 'resources/icon_help.webp', 265 'resources/icon_help.webp',
(...skipping 15 matching lines...) Expand all
272 'webapp/base/resources/open_sans.css', 281 'webapp/base/resources/open_sans.css',
273 'webapp/base/resources/open_sans.woff', 282 'webapp/base/resources/open_sans.woff',
274 'webapp/base/resources/spinner.gif', 283 'webapp/base/resources/spinner.gif',
275 'webapp/crd/html/butter_bar.css', 284 'webapp/crd/html/butter_bar.css',
276 'webapp/crd/html/toolbar.css', 285 'webapp/crd/html/toolbar.css',
277 'webapp/crd/html/menu_button.css', 286 'webapp/crd/html/menu_button.css',
278 'webapp/crd/html/window_frame.css', 287 'webapp/crd/html/window_frame.css',
279 'webapp/crd/resources/scale-to-fit.webp', 288 'webapp/crd/resources/scale-to-fit.webp',
280 ], 289 ],
281 290
282 'remoting_webapp_files': [ 291 'remoting_webapp_crd_files': [
283 '<@(remoting_webapp_info_files)', 292 '<@(remoting_webapp_info_files)',
284 '<@(remoting_webapp_all_js_files)', 293 '<@(remoting_webapp_crd_js_files)',
285 '<@(remoting_webapp_resource_files)', 294 '<@(remoting_webapp_resource_files)',
286 ], 295 ],
287 296
288 # These template files are used to construct the webapp html files. 297 # These template files are used to construct the webapp html files.
289 'remoting_webapp_template_main': 298 'remoting_webapp_template_main':
290 'webapp/crd/html/template_main.html', 299 'webapp/crd/html/template_main.html',
291 300
292 'remoting_webapp_template_wcs_sandbox': 301 'remoting_webapp_template_wcs_sandbox':
293 'webapp/base/html/template_wcs_sandbox.html', 302 'webapp/base/html/template_wcs_sandbox.html',
294 303
(...skipping 20 matching lines...) Expand all
315 'webapp/crd/html/dialog_token_refresh_failed.html', 324 'webapp/crd/html/dialog_token_refresh_failed.html',
316 'webapp/crd/html/toolbar.html', 325 'webapp/crd/html/toolbar.html',
317 'webapp/crd/html/ui_header.html', 326 'webapp/crd/html/ui_header.html',
318 'webapp/crd/html/ui_it2me.html', 327 'webapp/crd/html/ui_it2me.html',
319 'webapp/crd/html/ui_me2me.html', 328 'webapp/crd/html/ui_me2me.html',
320 'webapp/crd/html/window_frame.html', 329 'webapp/crd/html/window_frame.html',
321 ], 330 ],
322 331
323 }, 332 },
324 } 333 }
OLDNEW
« no previous file with comments | « remoting/remoting_webapp.gypi ('k') | remoting/webapp/base/js/auth_init.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698