blob: bd1b30805a85ea9c22e8cad641a6ca9983805ecd [file] [log] [blame]
[email protected]af2d58182014-01-25 01:21:421# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5{
6 'variables': {
7 'remoting_webapp_info_files': [
8 'resources/chromoting16.webp',
9 'resources/chromoting48.webp',
10 'resources/chromoting128.webp',
[email protected]af2d58182014-01-25 01:21:4211 ],
12
[email protected]cbc8bb02014-01-28 18:01:5313 # Jscompile proto files.
14 # These provide type information for jscompile.
15 'remoting_webapp_js_proto_files': [
16 'webapp/js_proto/chrome_proto.js',
17 'webapp/js_proto/console_proto.js',
18 'webapp/js_proto/dom_proto.js',
19 'webapp/js_proto/remoting_proto.js',
20 ],
21
[email protected]cb896cc2014-02-20 00:35:3122 # Auth (apps v1) JavaScript files.
23 # These files aren't included directly from main.html. They are
24 # referenced from the manifest.json file (appsv1 only).
25 'remoting_webapp_js_auth_v1_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:0726 'webapp/crd/js/cs_third_party_auth_trampoline.js', # client to host
27 'webapp/crd/js/cs_oauth2_trampoline.js', # Google account
[email protected]cb896cc2014-02-20 00:35:3128 ],
[email protected]af2d58182014-01-25 01:21:4229 # Auth (client to host) JavaScript files.
30 'remoting_webapp_js_auth_client2host_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:0731 'webapp/crd/js/third_party_host_permissions.js',
32 'webapp/crd/js/third_party_token_fetcher.js',
[email protected]af2d58182014-01-25 01:21:4233 ],
34 # Auth (Google account) JavaScript files.
35 'remoting_webapp_js_auth_google_files': [
Gary Kacmarcik22eb37f12014-11-18 22:35:2536 'webapp/base/js/auth_dialog.js',
garykac7b15ac052014-12-02 03:12:3737 'webapp/base/js/auth_init.js',
Gary Kacmarcik6110f4b2014-10-23 00:20:0738 'webapp/crd/js/identity.js',
39 'webapp/crd/js/oauth2.js',
40 'webapp/crd/js/oauth2_api.js',
jamiewalch499b99a2015-01-09 23:19:0741 'webapp/crd/js/oauth2_api_impl.js',
[email protected]af2d58182014-01-25 01:21:4242 ],
[email protected]fd1468352014-02-06 10:38:4743 # Client JavaScript files.
[email protected]af2d58182014-01-25 01:21:4244 'remoting_webapp_js_client_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:0745 'webapp/crd/js/client_plugin.js',
46 'webapp/crd/js/client_plugin_impl.js',
[email protected]af2d58182014-01-25 01:21:4247 # TODO(garykac) For client_screen:
48 # * Split out pin/access code stuff into separate file.
49 # * Move client logic into session_connector
Gary Kacmarcik6110f4b2014-10-23 00:20:0750 'webapp/crd/js/client_screen.js',
51 'webapp/crd/js/client_session.js',
52 'webapp/crd/js/clipboard.js',
53 'webapp/crd/js/hangout_session.js',
Gary Kacmarcik6110f4b2014-10-23 00:20:0754 'webapp/crd/js/session_connector.js',
55 'webapp/crd/js/session_connector_impl.js',
56 'webapp/crd/js/smart_reconnector.js',
57 'webapp/crd/js/video_frame_recorder.js',
[email protected]af2d58182014-01-25 01:21:4258 ],
59 # Remoting core JavaScript files.
60 'remoting_webapp_js_core_files': [
garykacccb1b862014-12-06 03:46:4461 'webapp/base/js/application.js',
Gary Kacmarcik6110f4b2014-10-23 00:20:0762 'webapp/base/js/base.js',
63 'webapp/base/js/platform.js',
64 'webapp/crd/js/error.js',
65 'webapp/crd/js/event_handlers.js',
66 'webapp/crd/js/plugin_settings.js',
[email protected]af2d58182014-01-25 01:21:4267 # TODO(garykac) Split out UI client stuff from remoting.js.
Gary Kacmarcik6110f4b2014-10-23 00:20:0768 'webapp/crd/js/remoting.js',
69 'webapp/crd/js/typecheck.js',
70 'webapp/crd/js/xhr.js',
[email protected]af2d58182014-01-25 01:21:4271 ],
72 # Host JavaScript files.
[email protected]af2d58182014-01-25 01:21:4273 'remoting_webapp_js_host_files': [
garykac846c7c72014-12-19 23:36:1474 'webapp/crd/js/host.js',
75 'webapp/crd/js/host_settings.js',
76 ],
77 # Files for controlling the local machine as a host.
78 # Includes both it2me and me2me files.
79 'remoting_webapp_js_host_control_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:0780 'webapp/crd/js/host_controller.js',
81 'webapp/crd/js/host_daemon_facade.js',
garykac846c7c72014-12-19 23:36:1482 'webapp/crd/js/host_screen.js',
Gary Kacmarcik6110f4b2014-10-23 00:20:0783 'webapp/crd/js/host_session.js',
garykac846c7c72014-12-19 23:36:1484 'webapp/crd/js/host_setup_dialog.js',
85 'webapp/crd/js/host_install_dialog.js',
86 'webapp/crd/js/host_installer.js',
87 'webapp/crd/js/it2me_host_facade.js',
88 'webapp/crd/js/paired_client_manager.js',
89 ],
90 # Files for displaying (in the client) info about available hosts.
91 'remoting_webapp_js_host_display_files': [
92 'webapp/crd/js/host_list.js',
jamiewalchb8749522015-01-05 20:00:4993 'webapp/crd/js/host_list_api.js',
jamiewalch499b99a2015-01-09 23:19:0794 'webapp/crd/js/host_list_api_impl.js',
garykac846c7c72014-12-19 23:36:1495 'webapp/crd/js/host_table_entry.js',
[email protected]af2d58182014-01-25 01:21:4296 ],
97 # Logging and stats JavaScript files.
98 'remoting_webapp_js_logging_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:0799 'webapp/crd/js/format_iq.js',
100 'webapp/crd/js/log_to_server.js',
101 'webapp/crd/js/server_log_entry.js',
102 'webapp/crd/js/stats_accumulator.js',
[email protected]af2d58182014-01-25 01:21:42103 ],
104 # UI JavaScript files.
105 'remoting_webapp_js_ui_files': [
garykac701a99c2014-11-17 18:10:52106 'webapp/base/js/window_shape.js',
Gary Kacmarcik6110f4b2014-10-23 00:20:07107 'webapp/crd/js/butter_bar.js',
108 'webapp/crd/js/connection_stats.js',
109 'webapp/crd/js/feedback.js',
110 'webapp/crd/js/fullscreen.js',
111 'webapp/crd/js/fullscreen_v1.js',
112 'webapp/crd/js/fullscreen_v2.js',
113 'webapp/crd/js/l10n.js',
114 'webapp/crd/js/menu_button.js',
115 'webapp/crd/js/options_menu.js',
116 'webapp/crd/js/ui_mode.js',
117 'webapp/crd/js/toolbar.js',
118 'webapp/crd/js/window_frame.js',
[email protected]af2d58182014-01-25 01:21:42119 ],
sergeyu30975b82014-09-04 06:37:18120 # Remoting signaling files.
121 'remoting_webapp_js_signaling_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07122 'webapp/crd/js/signal_strategy.js',
123 'webapp/crd/js/wcs_adapter.js',
124 'webapp/crd/js/wcs_sandbox_container.js',
125 'webapp/crd/js/xmpp_connection.js',
126 'webapp/crd/js/xmpp_login_handler.js',
127 'webapp/crd/js/xmpp_stream_parser.js',
sergeyuea321002014-09-03 04:50:26128 ],
[email protected]cb896cc2014-02-20 00:35:31129 # Remoting WCS sandbox JavaScript files.
130 'remoting_webapp_js_wcs_sandbox_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07131 'webapp/crd/js/wcs.js',
132 'webapp/crd/js/wcs_loader.js',
133 'webapp/crd/js/wcs_sandbox_content.js',
134 'webapp/crd/js/xhr_proxy.js',
[email protected]af2d58182014-01-25 01:21:42135 ],
[email protected]de101e12014-02-27 04:12:08136 # gnubby authentication JavaScript files.
137 'remoting_webapp_js_gnubby_auth_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07138 'webapp/crd/js/gnubby_auth_handler.js',
[email protected]de101e12014-02-27 04:12:08139 ],
[email protected]2f4e73e2014-08-16 08:35:47140 # cast extension handler JavaScript files.
141 'remoting_webapp_js_cast_extension_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07142 'webapp/crd/js/cast_extension_handler.js',
[email protected]2f4e73e2014-08-16 08:35:47143 ],
[email protected]4eacd672014-05-09 06:58:23144 # browser test JavaScript files.
145 'remoting_webapp_js_browser_test_files': [
146 'webapp/browser_test/browser_test.js',
[email protected]6395ecd2014-08-08 01:02:25147 'webapp/browser_test/bump_scroll_browser_test.js',
[email protected]e1680702014-05-14 03:09:01148 'webapp/browser_test/cancel_pin_browser_test.js',
149 'webapp/browser_test/invalid_pin_browser_test.js',
kelvinpd90fe692015-01-13 00:32:17150 'webapp/browser_test/it2me_browser_test.js',
jamiewalch8e0666d2014-09-25 02:10:10151 'webapp/browser_test/mock_client_plugin.js',
jamiewalch499b99a2015-01-09 23:19:07152 'webapp/browser_test/mock_host_list_api.js',
153 'webapp/browser_test/mock_identity.js',
154 'webapp/browser_test/mock_oauth2_api.js',
jamiewalch8e0666d2014-09-25 02:10:10155 'webapp/browser_test/mock_session_connector.js',
156 'webapp/browser_test/mock_signal_strategy.js',
jamiewalch7689f9b2014-09-11 01:51:18157 'webapp/browser_test/scrollbar_browser_test.js',
jamiewalch499b99a2015-01-09 23:19:07158 'webapp/browser_test/timeout_waiter.js',
159 'webapp/browser_test/unauthenticated_browser_test.js',
[email protected]e1680702014-05-14 03:09:01160 'webapp/browser_test/update_pin_browser_test.js',
[email protected]4eacd672014-05-09 06:58:23161 ],
[email protected]78485562014-06-23 21:12:45162 # These product files are excluded from our JavaScript unittest
163 'remoting_webapp_unittest_exclude_files': [
[email protected]f34acc692014-08-12 22:47:14164 # background.js is where the onLoad handler is defined, which
165 # makes it the entry point of the background page.
Gary Kacmarcik6110f4b2014-10-23 00:20:07166 'webapp/crd/js/background.js',
[email protected]78485562014-06-23 21:12:45167 ],
168 # The unit test cases for the webapp
[email protected]23005b62014-08-14 12:42:28169 'remoting_webapp_unittest_js_files': [
[email protected]ea93fa562014-07-23 16:54:24170 'webapp/js_proto/chrome_proto.js',
[email protected]23005b62014-08-14 12:42:28171 'webapp/unittests/chrome_mocks.js',
[email protected]09b6ce892014-07-18 23:40:05172 'webapp/unittests/base_unittest.js',
[email protected]16f0bac2014-08-21 05:24:48173 'webapp/unittests/it2me_helpee_channel_unittest.js',
[email protected]23005b62014-08-14 12:42:28174 'webapp/unittests/it2me_helper_channel_unittest.js',
sergeyuea321002014-09-03 04:50:26175 'webapp/unittests/it2me_service_unittest.js',
176 'webapp/unittests/l10n_unittest.js',
177 'webapp/unittests/menu_button_unittest.js',
178 'webapp/unittests/xmpp_connection_unittest.js',
179 'webapp/unittests/xmpp_login_handler_unittest.js',
180 'webapp/unittests/xmpp_stream_parser_unittest.js',
[email protected]79132942014-07-19 02:59:53181 ],
182 'remoting_webapp_unittest_additional_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07183 'webapp/crd/html/menu_button.css',
[email protected]78485562014-06-23 21:12:45184 ],
185 'remoting_webapp_unittest_template_main':
Gary Kacmarcik6110f4b2014-10-23 00:20:07186 'webapp/crd/html/template_unittest.html',
[email protected]78485562014-06-23 21:12:45187
garykac7b15ac052014-12-02 03:12:37188 # The shared JavaScript files required by main.html.
189 'remoting_webapp_shared_main_html_js_files': [
[email protected]f8881a72014-04-25 08:55:18190 # Include the core files first as it is required by the other files.
191 # Otherwise, Jscompile will complain.
192 '<@(remoting_webapp_js_core_files)',
[email protected]af2d58182014-01-25 01:21:42193 '<@(remoting_webapp_js_auth_client2host_files)',
194 '<@(remoting_webapp_js_auth_google_files)',
195 '<@(remoting_webapp_js_client_files)',
[email protected]de101e12014-02-27 04:12:08196 '<@(remoting_webapp_js_gnubby_auth_files)',
[email protected]2f4e73e2014-08-16 08:35:47197 '<@(remoting_webapp_js_cast_extension_files)',
[email protected]af2d58182014-01-25 01:21:42198 '<@(remoting_webapp_js_host_files)',
garykac846c7c72014-12-19 23:36:14199 '<@(remoting_webapp_js_host_control_files)',
200 '<@(remoting_webapp_js_host_display_files)',
[email protected]af2d58182014-01-25 01:21:42201 '<@(remoting_webapp_js_logging_files)',
202 '<@(remoting_webapp_js_ui_files)',
sergeyu30975b82014-09-04 06:37:18203 '<@(remoting_webapp_js_signaling_files)',
[email protected]4eacd672014-05-09 06:58:23204 # Uncomment this line to include browser test files in the web app
205 # to expedite debugging or local development.
[email protected]f34acc692014-08-12 22:47:14206 # '<@(remoting_webapp_js_browser_test_files)'
207 ],
208
garykac7b15ac052014-12-02 03:12:37209 # The CRD-specific JavaScript files required by main.html.
210 'remoting_webapp_crd_main_html_js_files': [
garykac846c7c72014-12-19 23:36:14211 'webapp/crd/js/crd_connect.js',
212 'webapp/crd/js/crd_event_handlers.js',
garykac7b15ac052014-12-02 03:12:37213 'webapp/crd/js/crd_main.js',
garykacccb1b862014-12-06 03:46:44214 'webapp/crd/js/desktop_remoting.js',
garykac7b15ac052014-12-02 03:12:37215 ],
216
[email protected]16f0bac2014-08-21 05:24:48217 # The JavaScript files that are used in the background page.
[email protected]f34acc692014-08-12 22:47:14218 'remoting_webapp_background_js_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07219 'webapp/base/js/base.js',
220 'webapp/base/js/message_window_helper.js',
221 'webapp/base/js/message_window_manager.js',
222 'webapp/crd/js/app_launcher.js',
223 'webapp/crd/js/background.js',
224 'webapp/crd/js/client_session.js',
225 'webapp/crd/js/error.js',
226 'webapp/crd/js/host_installer.js',
227 'webapp/crd/js/host_session.js',
228 'webapp/crd/js/it2me_helpee_channel.js',
229 'webapp/crd/js/it2me_helper_channel.js',
230 'webapp/crd/js/it2me_host_facade.js',
231 'webapp/crd/js/it2me_service.js',
232 'webapp/crd/js/l10n.js',
jamiewalch6d20d9e2014-10-30 22:33:12233 'webapp/crd/js/oauth2.js',
234 'webapp/crd/js/oauth2_api.js',
Gary Kacmarcik6110f4b2014-10-23 00:20:07235 'webapp/crd/js/plugin_settings.js',
236 'webapp/crd/js/typecheck.js',
jamiewalch6d20d9e2014-10-30 22:33:12237 'webapp/crd/js/xhr.js',
[email protected]cb896cc2014-02-20 00:35:31238 ],
239
240 # The JavaScript files required by wcs_sandbox.html.
241 'remoting_webapp_wcs_sandbox_html_js_files': [
242 '<@(remoting_webapp_js_wcs_sandbox_files)',
Gary Kacmarcik6110f4b2014-10-23 00:20:07243 'webapp/crd/js/error.js',
244 'webapp/crd/js/plugin_settings.js',
[email protected]cb896cc2014-02-20 00:35:31245 ],
246
garykac7b15ac052014-12-02 03:12:37247 # All the JavaScript files that are shared by webapps.
248 'remoting_webapp_shared_js_files': [
[email protected]cb896cc2014-02-20 00:35:31249 # JS files for main.html.
garykac7b15ac052014-12-02 03:12:37250 '<@(remoting_webapp_shared_main_html_js_files)',
[email protected]f34acc692014-08-12 22:47:14251 '<@(remoting_webapp_background_js_files)',
kelvinp8df98f362014-08-25 18:26:19252 # JS files for message_window.html
Gary Kacmarcik6110f4b2014-10-23 00:20:07253 'webapp/base/js/message_window.js',
[email protected]cb896cc2014-02-20 00:35:31254 # JS files for wcs_sandbox.html.
255 # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files
256 # so that we don't double include error.js and plugin_settings.js.
257 '<@(remoting_webapp_js_wcs_sandbox_files)',
258 # JS files referenced in mainfest.json.
259 '<@(remoting_webapp_js_auth_v1_files)',
[email protected]af2d58182014-01-25 01:21:42260 ],
261
garykac7b15ac052014-12-02 03:12:37262 # All the JavaScript files required by CRD.
263 'remoting_webapp_crd_js_files': [
264 '<@(remoting_webapp_shared_js_files)',
265 '<@(remoting_webapp_crd_main_html_js_files)',
266 ],
267
[email protected]af2d58182014-01-25 01:21:42268 'remoting_webapp_resource_files': [
269 'resources/disclosure_arrow_down.webp',
270 'resources/disclosure_arrow_right.webp',
[email protected]f733f262014-05-14 06:10:16271 'resources/drag.webp',
[email protected]af2d58182014-01-25 01:21:42272 'resources/host_setup_instructions.webp',
[email protected]f733f262014-05-14 06:10:16273 'resources/icon_close.webp',
[email protected]af2d58182014-01-25 01:21:42274 'resources/icon_cross.webp',
[email protected]f733f262014-05-14 06:10:16275 'resources/icon_disconnect.webp',
jamiewalch0bc497a82014-08-26 00:33:45276 'resources/icon_fullscreen.webp',
[email protected]ef16f932014-04-16 09:41:58277 'resources/icon_help.webp',
[email protected]af2d58182014-01-25 01:21:42278 'resources/icon_host.webp',
[email protected]f733f262014-05-14 06:10:16279 'resources/icon_maximize_restore.webp',
280 'resources/icon_minimize.webp',
[email protected]d7f7e2ff2014-07-24 03:05:19281 'resources/icon_options.webp',
[email protected]af2d58182014-01-25 01:21:42282 'resources/icon_pencil.webp',
283 'resources/icon_warning.webp',
284 'resources/infographic_my_computers.webp',
285 'resources/infographic_remote_assistance.webp',
286 'resources/plus.webp',
287 'resources/reload.webp',
288 'resources/tick.webp',
Gary Kacmarcik6110f4b2014-10-23 00:20:07289 'webapp/base/html/connection_stats.css',
290 'webapp/base/html/message_window.html',
291 'webapp/base/html/main.css',
292 'webapp/base/html/message_window.css',
293 'webapp/base/resources/open_sans.css',
294 'webapp/base/resources/open_sans.woff',
295 'webapp/base/resources/spinner.gif',
Gary Kacmarcikac6b679f2014-11-13 20:52:17296 'webapp/crd/html/butter_bar.css',
Gary Kacmarcik6110f4b2014-10-23 00:20:07297 'webapp/crd/html/toolbar.css',
298 'webapp/crd/html/menu_button.css',
299 'webapp/crd/html/window_frame.css',
300 'webapp/crd/resources/scale-to-fit.webp',
[email protected]af2d58182014-01-25 01:21:42301 ],
302
garykac7b15ac052014-12-02 03:12:37303 'remoting_webapp_crd_files': [
[email protected]af2d58182014-01-25 01:21:42304 '<@(remoting_webapp_info_files)',
garykac7b15ac052014-12-02 03:12:37305 '<@(remoting_webapp_crd_js_files)',
[email protected]af2d58182014-01-25 01:21:42306 '<@(remoting_webapp_resource_files)',
307 ],
[email protected]cb896cc2014-02-20 00:35:31308
309 # These template files are used to construct the webapp html files.
310 'remoting_webapp_template_main':
Gary Kacmarcik6110f4b2014-10-23 00:20:07311 'webapp/crd/html/template_main.html',
[email protected]cb896cc2014-02-20 00:35:31312
313 'remoting_webapp_template_wcs_sandbox':
Gary Kacmarcik6110f4b2014-10-23 00:20:07314 'webapp/base/html/template_wcs_sandbox.html',
[email protected]cb896cc2014-02-20 00:35:31315
[email protected]f34acc692014-08-12 22:47:14316 'remoting_webapp_template_background':
Gary Kacmarcik6110f4b2014-10-23 00:20:07317 'webapp/crd/html/template_background.html',
[email protected]f34acc692014-08-12 22:47:14318
[email protected]cb896cc2014-02-20 00:35:31319 'remoting_webapp_template_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07320 'webapp/base/html/client_plugin.html',
321 'webapp/base/html/dialog_auth.html',
Gary Kacmarcikac6b679f2014-11-13 20:52:17322 'webapp/crd/html/butter_bar.html',
Gary Kacmarcik6110f4b2014-10-23 00:20:07323 'webapp/crd/html/dialog_client_connect_failed.html',
324 'webapp/crd/html/dialog_client_connecting.html',
325 'webapp/crd/html/dialog_client_host_needs_upgrade.html',
326 'webapp/crd/html/dialog_client_pin_prompt.html',
327 'webapp/crd/html/dialog_client_session_finished.html',
328 'webapp/crd/html/dialog_client_third_party_auth.html',
329 'webapp/crd/html/dialog_client_unconnected.html',
330 'webapp/crd/html/dialog_confirm_host_delete.html',
331 'webapp/crd/html/dialog_connection_history.html',
332 'webapp/crd/html/dialog_host.html',
333 'webapp/crd/html/dialog_host_install.html',
334 'webapp/crd/html/dialog_host_setup.html',
335 'webapp/crd/html/dialog_manage_pairings.html',
336 'webapp/crd/html/dialog_token_refresh_failed.html',
337 'webapp/crd/html/toolbar.html',
338 'webapp/crd/html/ui_header.html',
339 'webapp/crd/html/ui_it2me.html',
340 'webapp/crd/html/ui_me2me.html',
341 'webapp/crd/html/window_frame.html',
[email protected]cb896cc2014-02-20 00:35:31342 ],
343
[email protected]af2d58182014-01-25 01:21:42344 },
345}