blob: c94108309a03cbac8f929f8dc9533d96532fb284 [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': [
26 'webapp/cs_third_party_auth_trampoline.js', # client to host
27 'webapp/cs_oauth2_trampoline.js', # Google account
28 ],
[email protected]af2d58182014-01-25 01:21:4229 # Auth (client to host) JavaScript files.
30 'remoting_webapp_js_auth_client2host_files': [
[email protected]af2d58182014-01-25 01:21:4231 'webapp/third_party_host_permissions.js',
32 'webapp/third_party_token_fetcher.js',
33 ],
34 # Auth (Google account) JavaScript files.
35 'remoting_webapp_js_auth_google_files': [
[email protected]af2d58182014-01-25 01:21:4236 'webapp/identity.js',
37 'webapp/oauth2.js',
38 'webapp/oauth2_api.js',
39 ],
[email protected]fd1468352014-02-06 10:38:4740 # Client JavaScript files.
[email protected]af2d58182014-01-25 01:21:4241 'remoting_webapp_js_client_files': [
42 'webapp/client_plugin.js',
jamiewalch611d14ec2014-09-22 17:08:4443 'webapp/client_plugin_impl.js',
[email protected]af2d58182014-01-25 01:21:4244 # TODO(garykac) For client_screen:
45 # * Split out pin/access code stuff into separate file.
46 # * Move client logic into session_connector
47 'webapp/client_screen.js',
48 'webapp/client_session.js',
49 'webapp/clipboard.js',
[email protected]06ce0d62014-08-08 23:24:3950 'webapp/hangout_session.js',
[email protected]fd1468352014-02-06 10:38:4751 'webapp/media_source_renderer.js',
[email protected]af2d58182014-01-25 01:21:4252 'webapp/session_connector.js',
jamiewalch611d14ec2014-09-22 17:08:4453 'webapp/session_connector_impl.js',
[email protected]bf7e9521a2014-05-01 23:48:5554 'webapp/smart_reconnector.js',
[email protected]95483312014-08-20 01:12:2355 'webapp/video_frame_recorder.js',
[email protected]af2d58182014-01-25 01:21:4256 ],
57 # Remoting core JavaScript files.
58 'remoting_webapp_js_core_files': [
[email protected]f8881a72014-04-25 08:55:1859 'webapp/base.js',
[email protected]af2d58182014-01-25 01:21:4260 'webapp/error.js',
61 'webapp/event_handlers.js',
62 'webapp/plugin_settings.js',
63 # TODO(garykac) Split out UI client stuff from remoting.js.
64 'webapp/remoting.js',
[email protected]ef2f63382014-02-12 22:50:3865 'webapp/typecheck.js',
[email protected]af2d58182014-01-25 01:21:4266 'webapp/xhr.js',
[email protected]af2d58182014-01-25 01:21:4267 ],
68 # Host JavaScript files.
69 # Includes both it2me and me2me files.
70 'remoting_webapp_js_host_files': [
71 'webapp/host_controller.js',
[email protected]ed3ec74c2014-06-24 01:34:0272 'webapp/host_daemon_facade.js',
[email protected]d6e2a7c2014-06-24 22:12:4573 'webapp/it2me_host_facade.js',
[email protected]af2d58182014-01-25 01:21:4274 'webapp/host_session.js',
75 ],
76 # Logging and stats JavaScript files.
77 'remoting_webapp_js_logging_files': [
78 'webapp/format_iq.js',
79 'webapp/log_to_server.js',
80 'webapp/server_log_entry.js',
81 'webapp/stats_accumulator.js',
82 ],
83 # UI JavaScript files.
84 'remoting_webapp_js_ui_files': [
85 'webapp/butter_bar.js',
86 'webapp/connection_stats.js',
[email protected]3febebe2014-04-30 21:07:2787 'webapp/feedback.js',
88 'webapp/fullscreen.js',
89 'webapp/fullscreen_v1.js',
90 'webapp/fullscreen_v2.js',
[email protected]af2d58182014-01-25 01:21:4291 'webapp/l10n.js',
92 'webapp/menu_button.js',
[email protected]ddd417e2014-06-25 04:58:4293 'webapp/options_menu.js',
[email protected]af2d58182014-01-25 01:21:4294 'webapp/ui_mode.js',
95 'webapp/toolbar.js',
[email protected]f733f262014-05-14 06:10:1696 'webapp/window_frame.js',
[email protected]af2d58182014-01-25 01:21:4297 ],
98 # UI files for controlling the local machine as a host.
99 'remoting_webapp_js_ui_host_control_files': [
100 'webapp/host_screen.js',
101 'webapp/host_setup_dialog.js',
[email protected]0564f8a2014-02-06 02:29:14102 'webapp/host_install_dialog.js',
[email protected]f0977fd2014-08-14 14:15:57103 'webapp/host_installer.js',
[email protected]af2d58182014-01-25 01:21:42104 'webapp/paired_client_manager.js',
105 ],
106 # UI files for displaying (in the client) info about available hosts.
107 'remoting_webapp_js_ui_host_display_files': [
108 'webapp/host.js',
109 'webapp/host_list.js',
110 'webapp/host_settings.js',
111 'webapp/host_table_entry.js',
112 ],
sergeyu30975b82014-09-04 06:37:18113 # Remoting signaling files.
114 'remoting_webapp_js_signaling_files': [
115 'webapp/signal_strategy.js',
116 'webapp/wcs_adapter.js',
117 'webapp/wcs_sandbox_container.js',
sergeyuea321002014-09-03 04:50:26118 'webapp/xmpp_connection.js',
119 'webapp/xmpp_login_handler.js',
120 'webapp/xmpp_stream_parser.js',
121 ],
[email protected]cb896cc2014-02-20 00:35:31122 # Remoting WCS sandbox JavaScript files.
123 'remoting_webapp_js_wcs_sandbox_files': [
[email protected]af2d58182014-01-25 01:21:42124 'webapp/wcs.js',
125 'webapp/wcs_loader.js',
[email protected]af2d58182014-01-25 01:21:42126 'webapp/wcs_sandbox_content.js',
[email protected]cb896cc2014-02-20 00:35:31127 'webapp/xhr_proxy.js',
[email protected]af2d58182014-01-25 01:21:42128 ],
[email protected]de101e12014-02-27 04:12:08129 # gnubby authentication JavaScript files.
130 'remoting_webapp_js_gnubby_auth_files': [
131 'webapp/gnubby_auth_handler.js',
132 ],
[email protected]2f4e73e2014-08-16 08:35:47133 # cast extension handler JavaScript files.
134 'remoting_webapp_js_cast_extension_files': [
135 'webapp/cast_extension_handler.js',
136 ],
[email protected]4eacd672014-05-09 06:58:23137 # browser test JavaScript files.
138 'remoting_webapp_js_browser_test_files': [
139 'webapp/browser_test/browser_test.js',
[email protected]6395ecd2014-08-08 01:02:25140 'webapp/browser_test/bump_scroll_browser_test.js',
[email protected]e1680702014-05-14 03:09:01141 'webapp/browser_test/cancel_pin_browser_test.js',
142 'webapp/browser_test/invalid_pin_browser_test.js',
jamiewalch8e0666d2014-09-25 02:10:10143 'webapp/browser_test/mock_client_plugin.js',
144 'webapp/browser_test/mock_session_connector.js',
145 'webapp/browser_test/mock_signal_strategy.js',
jamiewalch7689f9b2014-09-11 01:51:18146 'webapp/browser_test/scrollbar_browser_test.js',
[email protected]e1680702014-05-14 03:09:01147 'webapp/browser_test/update_pin_browser_test.js',
[email protected]4eacd672014-05-09 06:58:23148 ],
[email protected]78485562014-06-23 21:12:45149 # These product files are excluded from our JavaScript unittest
150 'remoting_webapp_unittest_exclude_files': [
[email protected]f34acc692014-08-12 22:47:14151 # background.js is where the onLoad handler is defined, which
152 # makes it the entry point of the background page.
153 'webapp/background/background.js',
[email protected]78485562014-06-23 21:12:45154 # event_handlers.js is where the onLoad handler is defined, which
155 # makes it the entry point of the webapp.
156 'webapp/event_handlers.js',
157 ],
158 # The unit test cases for the webapp
[email protected]23005b62014-08-14 12:42:28159 'remoting_webapp_unittest_js_files': [
[email protected]ea93fa562014-07-23 16:54:24160 'webapp/js_proto/chrome_proto.js',
[email protected]23005b62014-08-14 12:42:28161 'webapp/unittests/chrome_mocks.js',
[email protected]09b6ce892014-07-18 23:40:05162 'webapp/unittests/base_unittest.js',
[email protected]16f0bac2014-08-21 05:24:48163 'webapp/unittests/it2me_helpee_channel_unittest.js',
[email protected]23005b62014-08-14 12:42:28164 'webapp/unittests/it2me_helper_channel_unittest.js',
sergeyuea321002014-09-03 04:50:26165 'webapp/unittests/it2me_service_unittest.js',
166 'webapp/unittests/l10n_unittest.js',
167 'webapp/unittests/menu_button_unittest.js',
168 'webapp/unittests/xmpp_connection_unittest.js',
169 'webapp/unittests/xmpp_login_handler_unittest.js',
170 'webapp/unittests/xmpp_stream_parser_unittest.js',
[email protected]79132942014-07-19 02:59:53171 ],
172 'remoting_webapp_unittest_additional_files': [
173 'webapp/menu_button.css',
[email protected]78485562014-06-23 21:12:45174 ],
175 'remoting_webapp_unittest_template_main':
176 'webapp/html/template_unittest.html',
177
[email protected]cb896cc2014-02-20 00:35:31178 # The JavaScript files required by main.html.
179 'remoting_webapp_main_html_js_files': [
[email protected]f8881a72014-04-25 08:55:18180 # Include the core files first as it is required by the other files.
181 # Otherwise, Jscompile will complain.
182 '<@(remoting_webapp_js_core_files)',
[email protected]af2d58182014-01-25 01:21:42183 '<@(remoting_webapp_js_auth_client2host_files)',
184 '<@(remoting_webapp_js_auth_google_files)',
185 '<@(remoting_webapp_js_client_files)',
[email protected]de101e12014-02-27 04:12:08186 '<@(remoting_webapp_js_gnubby_auth_files)',
[email protected]2f4e73e2014-08-16 08:35:47187 '<@(remoting_webapp_js_cast_extension_files)',
[email protected]af2d58182014-01-25 01:21:42188 '<@(remoting_webapp_js_host_files)',
189 '<@(remoting_webapp_js_logging_files)',
190 '<@(remoting_webapp_js_ui_files)',
191 '<@(remoting_webapp_js_ui_host_control_files)',
192 '<@(remoting_webapp_js_ui_host_display_files)',
sergeyu30975b82014-09-04 06:37:18193 '<@(remoting_webapp_js_signaling_files)',
[email protected]4eacd672014-05-09 06:58:23194 # Uncomment this line to include browser test files in the web app
195 # to expedite debugging or local development.
[email protected]f34acc692014-08-12 22:47:14196 # '<@(remoting_webapp_js_browser_test_files)'
197 ],
198
[email protected]16f0bac2014-08-21 05:24:48199 # The JavaScript files that are used in the background page.
[email protected]f34acc692014-08-12 22:47:14200 'remoting_webapp_background_js_files': [
201 'webapp/base.js',
202 'webapp/client_session.js',
[email protected]16f0bac2014-08-21 05:24:48203 'webapp/error.js',
204 'webapp/host_installer.js',
205 'webapp/host_session.js',
206 'webapp/it2me_host_facade.js',
kelvinp020970c92014-09-03 21:33:27207 'webapp/l10n.js',
[email protected]16f0bac2014-08-21 05:24:48208 'webapp/plugin_settings.js',
[email protected]f34acc692014-08-12 22:47:14209 'webapp/typecheck.js',
210 'webapp/background/app_launcher.js',
[email protected]23005b62014-08-14 12:42:28211 'webapp/background/background.js',
[email protected]16f0bac2014-08-21 05:24:48212 'webapp/background/it2me_helpee_channel.js',
[email protected]23005b62014-08-14 12:42:28213 'webapp/background/it2me_helper_channel.js',
214 'webapp/background/it2me_service.js',
kelvinp8df98f362014-08-25 18:26:19215 'webapp/background/message_window_helper.js',
216 'webapp/background/message_window_manager.js',
[email protected]cb896cc2014-02-20 00:35:31217 ],
218
219 # The JavaScript files required by wcs_sandbox.html.
220 'remoting_webapp_wcs_sandbox_html_js_files': [
221 '<@(remoting_webapp_js_wcs_sandbox_files)',
222 'webapp/error.js',
223 'webapp/plugin_settings.js',
224 ],
225
226 # All the JavaScript files required by the webapp.
227 'remoting_webapp_all_js_files': [
228 # JS files for main.html.
229 '<@(remoting_webapp_main_html_js_files)',
[email protected]f34acc692014-08-12 22:47:14230 '<@(remoting_webapp_background_js_files)',
kelvinp8df98f362014-08-25 18:26:19231 # JS files for message_window.html
232 'webapp/background/message_window.js',
[email protected]cb896cc2014-02-20 00:35:31233 # JS files for wcs_sandbox.html.
234 # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files
235 # so that we don't double include error.js and plugin_settings.js.
236 '<@(remoting_webapp_js_wcs_sandbox_files)',
237 # JS files referenced in mainfest.json.
238 '<@(remoting_webapp_js_auth_v1_files)',
[email protected]af2d58182014-01-25 01:21:42239 ],
240
241 'remoting_webapp_resource_files': [
242 'resources/disclosure_arrow_down.webp',
243 'resources/disclosure_arrow_right.webp',
[email protected]f733f262014-05-14 06:10:16244 'resources/drag.webp',
[email protected]af2d58182014-01-25 01:21:42245 'resources/host_setup_instructions.webp',
[email protected]f733f262014-05-14 06:10:16246 'resources/icon_close.webp',
[email protected]af2d58182014-01-25 01:21:42247 'resources/icon_cross.webp',
[email protected]f733f262014-05-14 06:10:16248 'resources/icon_disconnect.webp',
jamiewalch0bc497a82014-08-26 00:33:45249 'resources/icon_fullscreen.webp',
[email protected]ef16f932014-04-16 09:41:58250 'resources/icon_help.webp',
[email protected]af2d58182014-01-25 01:21:42251 'resources/icon_host.webp',
[email protected]f733f262014-05-14 06:10:16252 'resources/icon_maximize_restore.webp',
253 'resources/icon_minimize.webp',
[email protected]d7f7e2ff2014-07-24 03:05:19254 'resources/icon_options.webp',
[email protected]af2d58182014-01-25 01:21:42255 'resources/icon_pencil.webp',
256 'resources/icon_warning.webp',
257 'resources/infographic_my_computers.webp',
258 'resources/infographic_remote_assistance.webp',
259 'resources/plus.webp',
260 'resources/reload.webp',
261 'resources/tick.webp',
[email protected]af2d58182014-01-25 01:21:42262 'webapp/connection_stats.css',
kelvinp8df98f362014-08-25 18:26:19263 'webapp/html/message_window.html',
[email protected]af2d58182014-01-25 01:21:42264 'webapp/main.css',
[email protected]af2d58182014-01-25 01:21:42265 'webapp/menu_button.css',
kelvinp8df98f362014-08-25 18:26:19266 'webapp/message_window.css',
[email protected]af2d58182014-01-25 01:21:42267 'webapp/open_sans.css',
268 'webapp/open_sans.woff',
269 'webapp/scale-to-fit.webp',
270 'webapp/spinner.gif',
271 'webapp/toolbar.css',
[email protected]f733f262014-05-14 06:10:16272 'webapp/window_frame.css',
[email protected]af2d58182014-01-25 01:21:42273 ],
274
275 'remoting_webapp_files': [
276 '<@(remoting_webapp_info_files)',
[email protected]cb896cc2014-02-20 00:35:31277 '<@(remoting_webapp_all_js_files)',
[email protected]af2d58182014-01-25 01:21:42278 '<@(remoting_webapp_resource_files)',
279 ],
[email protected]cb896cc2014-02-20 00:35:31280
281 # These template files are used to construct the webapp html files.
282 'remoting_webapp_template_main':
283 'webapp/html/template_main.html',
284
285 'remoting_webapp_template_wcs_sandbox':
286 'webapp/html/template_wcs_sandbox.html',
287
[email protected]f34acc692014-08-12 22:47:14288 'remoting_webapp_template_background':
289 'webapp/html/template_background.html',
290
[email protected]cb896cc2014-02-20 00:35:31291 'remoting_webapp_template_files': [
292 'webapp/html/butterbar.html',
[email protected]95489032014-02-25 13:58:04293 'webapp/html/client_plugin.html',
[email protected]cb896cc2014-02-20 00:35:31294 'webapp/html/dialog_auth.html',
[email protected]95489032014-02-25 13:58:04295 'webapp/html/dialog_client_connect_failed.html',
296 'webapp/html/dialog_client_connecting.html',
[email protected]cb896cc2014-02-20 00:35:31297 'webapp/html/dialog_client_host_needs_upgrade.html',
[email protected]cb896cc2014-02-20 00:35:31298 'webapp/html/dialog_client_pin_prompt.html',
299 'webapp/html/dialog_client_session_finished.html',
300 'webapp/html/dialog_client_third_party_auth.html',
301 'webapp/html/dialog_client_unconnected.html',
302 'webapp/html/dialog_confirm_host_delete.html',
303 'webapp/html/dialog_connection_history.html',
304 'webapp/html/dialog_host.html',
305 'webapp/html/dialog_host_install.html',
306 'webapp/html/dialog_host_setup.html',
307 'webapp/html/dialog_manage_pairings.html',
308 'webapp/html/dialog_token_refresh_failed.html',
309 'webapp/html/toolbar.html',
310 'webapp/html/ui_header.html',
311 'webapp/html/ui_it2me.html',
312 'webapp/html/ui_me2me.html',
[email protected]f733f262014-05-14 06:10:16313 'webapp/html/window_frame.html',
[email protected]cb896cc2014-02-20 00:35:31314 ],
315
[email protected]af2d58182014-01-25 01:21:42316 },
317}