blob: 2f098ae9e36db8f94191bfe031676e886de50c12 [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 Kacmarcik6110f4b2014-10-23 00:20:0736 'webapp/crd/js/identity.js',
37 'webapp/crd/js/oauth2.js',
38 'webapp/crd/js/oauth2_api.js',
[email protected]af2d58182014-01-25 01:21:4239 ],
[email protected]fd1468352014-02-06 10:38:4740 # Client JavaScript files.
[email protected]af2d58182014-01-25 01:21:4241 'remoting_webapp_js_client_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:0742 'webapp/crd/js/client_plugin.js',
43 'webapp/crd/js/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
Gary Kacmarcik6110f4b2014-10-23 00:20:0747 'webapp/crd/js/client_screen.js',
48 'webapp/crd/js/client_session.js',
49 'webapp/crd/js/clipboard.js',
50 'webapp/crd/js/hangout_session.js',
51 'webapp/crd/js/media_source_renderer.js',
52 'webapp/crd/js/session_connector.js',
53 'webapp/crd/js/session_connector_impl.js',
54 'webapp/crd/js/smart_reconnector.js',
55 'webapp/crd/js/video_frame_recorder.js',
[email protected]af2d58182014-01-25 01:21:4256 ],
57 # Remoting core JavaScript files.
58 'remoting_webapp_js_core_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:0759 'webapp/base/js/base.js',
60 'webapp/base/js/platform.js',
61 'webapp/crd/js/error.js',
62 'webapp/crd/js/event_handlers.js',
63 'webapp/crd/js/plugin_settings.js',
[email protected]af2d58182014-01-25 01:21:4264 # TODO(garykac) Split out UI client stuff from remoting.js.
Gary Kacmarcik6110f4b2014-10-23 00:20:0765 'webapp/crd/js/remoting.js',
66 'webapp/crd/js/typecheck.js',
67 'webapp/crd/js/xhr.js',
[email protected]af2d58182014-01-25 01:21:4268 ],
69 # Host JavaScript files.
70 # Includes both it2me and me2me files.
71 'remoting_webapp_js_host_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:0772 'webapp/crd/js/host_controller.js',
73 'webapp/crd/js/host_daemon_facade.js',
74 'webapp/crd/js/it2me_host_facade.js',
75 'webapp/crd/js/host_session.js',
[email protected]af2d58182014-01-25 01:21:4276 ],
77 # Logging and stats JavaScript files.
78 'remoting_webapp_js_logging_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:0779 'webapp/crd/js/format_iq.js',
80 'webapp/crd/js/log_to_server.js',
81 'webapp/crd/js/server_log_entry.js',
82 'webapp/crd/js/stats_accumulator.js',
[email protected]af2d58182014-01-25 01:21:4283 ],
84 # UI JavaScript files.
85 'remoting_webapp_js_ui_files': [
garykac701a99c2014-11-17 18:10:5286 'webapp/base/js/window_shape.js',
Gary Kacmarcik6110f4b2014-10-23 00:20:0787 'webapp/crd/js/butter_bar.js',
88 'webapp/crd/js/connection_stats.js',
89 'webapp/crd/js/feedback.js',
90 'webapp/crd/js/fullscreen.js',
91 'webapp/crd/js/fullscreen_v1.js',
92 'webapp/crd/js/fullscreen_v2.js',
93 'webapp/crd/js/l10n.js',
94 'webapp/crd/js/menu_button.js',
95 'webapp/crd/js/options_menu.js',
96 'webapp/crd/js/ui_mode.js',
97 'webapp/crd/js/toolbar.js',
98 'webapp/crd/js/window_frame.js',
[email protected]af2d58182014-01-25 01:21:4299 ],
100 # UI files for controlling the local machine as a host.
101 'remoting_webapp_js_ui_host_control_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07102 'webapp/crd/js/host_screen.js',
103 'webapp/crd/js/host_setup_dialog.js',
104 'webapp/crd/js/host_install_dialog.js',
105 'webapp/crd/js/host_installer.js',
106 'webapp/crd/js/paired_client_manager.js',
[email protected]af2d58182014-01-25 01:21:42107 ],
108 # UI files for displaying (in the client) info about available hosts.
109 'remoting_webapp_js_ui_host_display_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07110 'webapp/crd/js/host.js',
111 'webapp/crd/js/host_list.js',
112 'webapp/crd/js/host_settings.js',
113 'webapp/crd/js/host_table_entry.js',
[email protected]af2d58182014-01-25 01:21:42114 ],
sergeyu30975b82014-09-04 06:37:18115 # Remoting signaling files.
116 'remoting_webapp_js_signaling_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07117 'webapp/crd/js/signal_strategy.js',
118 'webapp/crd/js/wcs_adapter.js',
119 'webapp/crd/js/wcs_sandbox_container.js',
120 'webapp/crd/js/xmpp_connection.js',
121 'webapp/crd/js/xmpp_login_handler.js',
122 'webapp/crd/js/xmpp_stream_parser.js',
sergeyuea321002014-09-03 04:50:26123 ],
[email protected]cb896cc2014-02-20 00:35:31124 # Remoting WCS sandbox JavaScript files.
125 'remoting_webapp_js_wcs_sandbox_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07126 'webapp/crd/js/wcs.js',
127 'webapp/crd/js/wcs_loader.js',
128 'webapp/crd/js/wcs_sandbox_content.js',
129 'webapp/crd/js/xhr_proxy.js',
[email protected]af2d58182014-01-25 01:21:42130 ],
[email protected]de101e12014-02-27 04:12:08131 # gnubby authentication JavaScript files.
132 'remoting_webapp_js_gnubby_auth_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07133 'webapp/crd/js/gnubby_auth_handler.js',
[email protected]de101e12014-02-27 04:12:08134 ],
[email protected]2f4e73e2014-08-16 08:35:47135 # cast extension handler JavaScript files.
136 'remoting_webapp_js_cast_extension_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07137 'webapp/crd/js/cast_extension_handler.js',
[email protected]2f4e73e2014-08-16 08:35:47138 ],
[email protected]4eacd672014-05-09 06:58:23139 # browser test JavaScript files.
140 'remoting_webapp_js_browser_test_files': [
141 'webapp/browser_test/browser_test.js',
[email protected]6395ecd2014-08-08 01:02:25142 'webapp/browser_test/bump_scroll_browser_test.js',
[email protected]e1680702014-05-14 03:09:01143 'webapp/browser_test/cancel_pin_browser_test.js',
144 'webapp/browser_test/invalid_pin_browser_test.js',
jamiewalch8e0666d2014-09-25 02:10:10145 'webapp/browser_test/mock_client_plugin.js',
146 'webapp/browser_test/mock_session_connector.js',
147 'webapp/browser_test/mock_signal_strategy.js',
jamiewalch7689f9b2014-09-11 01:51:18148 'webapp/browser_test/scrollbar_browser_test.js',
[email protected]e1680702014-05-14 03:09:01149 'webapp/browser_test/update_pin_browser_test.js',
[email protected]4eacd672014-05-09 06:58:23150 ],
[email protected]78485562014-06-23 21:12:45151 # These product files are excluded from our JavaScript unittest
152 'remoting_webapp_unittest_exclude_files': [
[email protected]f34acc692014-08-12 22:47:14153 # background.js is where the onLoad handler is defined, which
154 # makes it the entry point of the background page.
Gary Kacmarcik6110f4b2014-10-23 00:20:07155 'webapp/crd/js/background.js',
[email protected]78485562014-06-23 21:12:45156 # event_handlers.js is where the onLoad handler is defined, which
157 # makes it the entry point of the webapp.
Gary Kacmarcik6110f4b2014-10-23 00:20:07158 'webapp/crd/js/event_handlers.js',
[email protected]78485562014-06-23 21:12:45159 ],
160 # The unit test cases for the webapp
[email protected]23005b62014-08-14 12:42:28161 'remoting_webapp_unittest_js_files': [
[email protected]ea93fa562014-07-23 16:54:24162 'webapp/js_proto/chrome_proto.js',
[email protected]23005b62014-08-14 12:42:28163 'webapp/unittests/chrome_mocks.js',
[email protected]09b6ce892014-07-18 23:40:05164 'webapp/unittests/base_unittest.js',
[email protected]16f0bac2014-08-21 05:24:48165 'webapp/unittests/it2me_helpee_channel_unittest.js',
[email protected]23005b62014-08-14 12:42:28166 'webapp/unittests/it2me_helper_channel_unittest.js',
sergeyuea321002014-09-03 04:50:26167 'webapp/unittests/it2me_service_unittest.js',
168 'webapp/unittests/l10n_unittest.js',
169 'webapp/unittests/menu_button_unittest.js',
170 'webapp/unittests/xmpp_connection_unittest.js',
171 'webapp/unittests/xmpp_login_handler_unittest.js',
172 'webapp/unittests/xmpp_stream_parser_unittest.js',
[email protected]79132942014-07-19 02:59:53173 ],
174 'remoting_webapp_unittest_additional_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07175 'webapp/crd/html/menu_button.css',
[email protected]78485562014-06-23 21:12:45176 ],
177 'remoting_webapp_unittest_template_main':
Gary Kacmarcik6110f4b2014-10-23 00:20:07178 'webapp/crd/html/template_unittest.html',
[email protected]78485562014-06-23 21:12:45179
[email protected]cb896cc2014-02-20 00:35:31180 # The JavaScript files required by main.html.
181 'remoting_webapp_main_html_js_files': [
[email protected]f8881a72014-04-25 08:55:18182 # Include the core files first as it is required by the other files.
183 # Otherwise, Jscompile will complain.
184 '<@(remoting_webapp_js_core_files)',
[email protected]af2d58182014-01-25 01:21:42185 '<@(remoting_webapp_js_auth_client2host_files)',
186 '<@(remoting_webapp_js_auth_google_files)',
187 '<@(remoting_webapp_js_client_files)',
[email protected]de101e12014-02-27 04:12:08188 '<@(remoting_webapp_js_gnubby_auth_files)',
[email protected]2f4e73e2014-08-16 08:35:47189 '<@(remoting_webapp_js_cast_extension_files)',
[email protected]af2d58182014-01-25 01:21:42190 '<@(remoting_webapp_js_host_files)',
191 '<@(remoting_webapp_js_logging_files)',
192 '<@(remoting_webapp_js_ui_files)',
193 '<@(remoting_webapp_js_ui_host_control_files)',
194 '<@(remoting_webapp_js_ui_host_display_files)',
sergeyu30975b82014-09-04 06:37:18195 '<@(remoting_webapp_js_signaling_files)',
[email protected]4eacd672014-05-09 06:58:23196 # Uncomment this line to include browser test files in the web app
197 # to expedite debugging or local development.
[email protected]f34acc692014-08-12 22:47:14198 # '<@(remoting_webapp_js_browser_test_files)'
199 ],
200
[email protected]16f0bac2014-08-21 05:24:48201 # The JavaScript files that are used in the background page.
[email protected]f34acc692014-08-12 22:47:14202 'remoting_webapp_background_js_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07203 'webapp/base/js/base.js',
204 'webapp/base/js/message_window_helper.js',
205 'webapp/base/js/message_window_manager.js',
206 'webapp/crd/js/app_launcher.js',
207 'webapp/crd/js/background.js',
208 'webapp/crd/js/client_session.js',
209 'webapp/crd/js/error.js',
210 'webapp/crd/js/host_installer.js',
211 'webapp/crd/js/host_session.js',
212 'webapp/crd/js/it2me_helpee_channel.js',
213 'webapp/crd/js/it2me_helper_channel.js',
214 'webapp/crd/js/it2me_host_facade.js',
215 'webapp/crd/js/it2me_service.js',
216 'webapp/crd/js/l10n.js',
jamiewalch6d20d9e2014-10-30 22:33:12217 'webapp/crd/js/oauth2.js',
218 'webapp/crd/js/oauth2_api.js',
Gary Kacmarcik6110f4b2014-10-23 00:20:07219 'webapp/crd/js/plugin_settings.js',
220 'webapp/crd/js/typecheck.js',
jamiewalch6d20d9e2014-10-30 22:33:12221 'webapp/crd/js/xhr.js',
[email protected]cb896cc2014-02-20 00:35:31222 ],
223
224 # The JavaScript files required by wcs_sandbox.html.
225 'remoting_webapp_wcs_sandbox_html_js_files': [
226 '<@(remoting_webapp_js_wcs_sandbox_files)',
Gary Kacmarcik6110f4b2014-10-23 00:20:07227 'webapp/crd/js/error.js',
228 'webapp/crd/js/plugin_settings.js',
[email protected]cb896cc2014-02-20 00:35:31229 ],
230
231 # All the JavaScript files required by the webapp.
232 'remoting_webapp_all_js_files': [
233 # JS files for main.html.
234 '<@(remoting_webapp_main_html_js_files)',
[email protected]f34acc692014-08-12 22:47:14235 '<@(remoting_webapp_background_js_files)',
kelvinp8df98f362014-08-25 18:26:19236 # JS files for message_window.html
Gary Kacmarcik6110f4b2014-10-23 00:20:07237 'webapp/base/js/message_window.js',
[email protected]cb896cc2014-02-20 00:35:31238 # JS files for wcs_sandbox.html.
239 # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files
240 # so that we don't double include error.js and plugin_settings.js.
241 '<@(remoting_webapp_js_wcs_sandbox_files)',
242 # JS files referenced in mainfest.json.
243 '<@(remoting_webapp_js_auth_v1_files)',
[email protected]af2d58182014-01-25 01:21:42244 ],
245
246 'remoting_webapp_resource_files': [
247 'resources/disclosure_arrow_down.webp',
248 'resources/disclosure_arrow_right.webp',
[email protected]f733f262014-05-14 06:10:16249 'resources/drag.webp',
[email protected]af2d58182014-01-25 01:21:42250 'resources/host_setup_instructions.webp',
[email protected]f733f262014-05-14 06:10:16251 'resources/icon_close.webp',
[email protected]af2d58182014-01-25 01:21:42252 'resources/icon_cross.webp',
[email protected]f733f262014-05-14 06:10:16253 'resources/icon_disconnect.webp',
jamiewalch0bc497a82014-08-26 00:33:45254 'resources/icon_fullscreen.webp',
[email protected]ef16f932014-04-16 09:41:58255 'resources/icon_help.webp',
[email protected]af2d58182014-01-25 01:21:42256 'resources/icon_host.webp',
[email protected]f733f262014-05-14 06:10:16257 'resources/icon_maximize_restore.webp',
258 'resources/icon_minimize.webp',
[email protected]d7f7e2ff2014-07-24 03:05:19259 'resources/icon_options.webp',
[email protected]af2d58182014-01-25 01:21:42260 'resources/icon_pencil.webp',
261 'resources/icon_warning.webp',
262 'resources/infographic_my_computers.webp',
263 'resources/infographic_remote_assistance.webp',
264 'resources/plus.webp',
265 'resources/reload.webp',
266 'resources/tick.webp',
Gary Kacmarcik6110f4b2014-10-23 00:20:07267 'webapp/base/html/connection_stats.css',
268 'webapp/base/html/message_window.html',
269 'webapp/base/html/main.css',
270 'webapp/base/html/message_window.css',
271 'webapp/base/resources/open_sans.css',
272 'webapp/base/resources/open_sans.woff',
273 'webapp/base/resources/spinner.gif',
Gary Kacmarcikac6b679f2014-11-13 20:52:17274 'webapp/crd/html/butter_bar.css',
Gary Kacmarcik6110f4b2014-10-23 00:20:07275 'webapp/crd/html/toolbar.css',
276 'webapp/crd/html/menu_button.css',
277 'webapp/crd/html/window_frame.css',
278 'webapp/crd/resources/scale-to-fit.webp',
[email protected]af2d58182014-01-25 01:21:42279 ],
280
281 'remoting_webapp_files': [
282 '<@(remoting_webapp_info_files)',
[email protected]cb896cc2014-02-20 00:35:31283 '<@(remoting_webapp_all_js_files)',
[email protected]af2d58182014-01-25 01:21:42284 '<@(remoting_webapp_resource_files)',
285 ],
[email protected]cb896cc2014-02-20 00:35:31286
287 # These template files are used to construct the webapp html files.
288 'remoting_webapp_template_main':
Gary Kacmarcik6110f4b2014-10-23 00:20:07289 'webapp/crd/html/template_main.html',
[email protected]cb896cc2014-02-20 00:35:31290
291 'remoting_webapp_template_wcs_sandbox':
Gary Kacmarcik6110f4b2014-10-23 00:20:07292 'webapp/base/html/template_wcs_sandbox.html',
[email protected]cb896cc2014-02-20 00:35:31293
[email protected]f34acc692014-08-12 22:47:14294 'remoting_webapp_template_background':
Gary Kacmarcik6110f4b2014-10-23 00:20:07295 'webapp/crd/html/template_background.html',
[email protected]f34acc692014-08-12 22:47:14296
[email protected]cb896cc2014-02-20 00:35:31297 'remoting_webapp_template_files': [
Gary Kacmarcik6110f4b2014-10-23 00:20:07298 'webapp/base/html/client_plugin.html',
299 'webapp/base/html/dialog_auth.html',
Gary Kacmarcikac6b679f2014-11-13 20:52:17300 'webapp/crd/html/butter_bar.html',
Gary Kacmarcik6110f4b2014-10-23 00:20:07301 'webapp/crd/html/dialog_client_connect_failed.html',
302 'webapp/crd/html/dialog_client_connecting.html',
303 'webapp/crd/html/dialog_client_host_needs_upgrade.html',
304 'webapp/crd/html/dialog_client_pin_prompt.html',
305 'webapp/crd/html/dialog_client_session_finished.html',
306 'webapp/crd/html/dialog_client_third_party_auth.html',
307 'webapp/crd/html/dialog_client_unconnected.html',
308 'webapp/crd/html/dialog_confirm_host_delete.html',
309 'webapp/crd/html/dialog_connection_history.html',
310 'webapp/crd/html/dialog_host.html',
311 'webapp/crd/html/dialog_host_install.html',
312 'webapp/crd/html/dialog_host_setup.html',
313 'webapp/crd/html/dialog_manage_pairings.html',
314 'webapp/crd/html/dialog_token_refresh_failed.html',
315 'webapp/crd/html/toolbar.html',
316 'webapp/crd/html/ui_header.html',
317 'webapp/crd/html/ui_it2me.html',
318 'webapp/crd/html/ui_me2me.html',
319 'webapp/crd/html/window_frame.html',
[email protected]cb896cc2014-02-20 00:35:31320 ],
321
[email protected]af2d58182014-01-25 01:21:42322 },
323}