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
3 # found in the LICENSE file.
7 'remoting_webapp_info_files': [
8 'resources/chromoting16.webp',
9 'resources/chromoting48.webp',
10 'resources/chromoting128.webp',
13 # 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',
22 # 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
29 # Auth (client to host) JavaScript files.
30 'remoting_webapp_js_auth_client2host_files': [
31 'webapp/third_party_host_permissions.js',
32 'webapp/third_party_token_fetcher.js',
34 # Auth (Google account) JavaScript files.
35 'remoting_webapp_js_auth_google_files': [
38 'webapp/oauth2_api.js',
40 # Client JavaScript files.
41 'remoting_webapp_js_client_files': [
42 'webapp/client_plugin.js',
43 'webapp/client_plugin_impl.js',
44 # 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',
50 'webapp/hangout_session.js',
51 'webapp/media_source_renderer.js',
52 'webapp/session_connector.js',
53 'webapp/session_connector_impl.js',
54 'webapp/smart_reconnector.js',
55 'webapp/video_frame_recorder.js',
57 # Remoting core JavaScript files.
58 'remoting_webapp_js_core_files': [
61 'webapp/event_handlers.js',
63 'webapp/plugin_settings.js',
64 # TODO(garykac) Split out UI client stuff from remoting.js.
66 'webapp/typecheck.js',
69 # Host JavaScript files.
70 # Includes both it2me and me2me files.
71 'remoting_webapp_js_host_files': [
72 'webapp/host_controller.js',
73 'webapp/host_daemon_facade.js',
74 'webapp/it2me_host_facade.js',
75 'webapp/host_session.js',
77 # Logging and stats JavaScript files.
78 'remoting_webapp_js_logging_files': [
79 'webapp/format_iq.js',
80 'webapp/log_to_server.js',
81 'webapp/server_log_entry.js',
82 'webapp/stats_accumulator.js',
84 # UI JavaScript files.
85 'remoting_webapp_js_ui_files': [
86 'webapp/butter_bar.js',
87 'webapp/connection_stats.js',
89 'webapp/fullscreen.js',
90 'webapp/fullscreen_v1.js',
91 'webapp/fullscreen_v2.js',
93 'webapp/menu_button.js',
94 'webapp/options_menu.js',
97 'webapp/window_frame.js',
99 # UI files for controlling the local machine as a host.
100 'remoting_webapp_js_ui_host_control_files': [
101 'webapp/host_screen.js',
102 'webapp/host_setup_dialog.js',
103 'webapp/host_install_dialog.js',
104 'webapp/host_installer.js',
105 'webapp/paired_client_manager.js',
107 # UI files for displaying (in the client) info about available hosts.
108 'remoting_webapp_js_ui_host_display_files': [
110 'webapp/host_list.js',
111 'webapp/host_settings.js',
112 'webapp/host_table_entry.js',
114 # Remoting signaling files.
115 'remoting_webapp_js_signaling_files': [
116 'webapp/signal_strategy.js',
117 'webapp/wcs_adapter.js',
118 'webapp/wcs_sandbox_container.js',
119 'webapp/xmpp_connection.js',
120 'webapp/xmpp_login_handler.js',
121 'webapp/xmpp_stream_parser.js',
123 # Remoting WCS sandbox JavaScript files.
124 'remoting_webapp_js_wcs_sandbox_files': [
126 'webapp/wcs_loader.js',
127 'webapp/wcs_sandbox_content.js',
128 'webapp/xhr_proxy.js',
130 # gnubby authentication JavaScript files.
131 'remoting_webapp_js_gnubby_auth_files': [
132 'webapp/gnubby_auth_handler.js',
134 # cast extension handler JavaScript files.
135 'remoting_webapp_js_cast_extension_files': [
136 'webapp/cast_extension_handler.js',
138 # browser test JavaScript files.
139 'remoting_webapp_js_browser_test_files': [
140 'webapp/browser_test/browser_test.js',
141 'webapp/browser_test/bump_scroll_browser_test.js',
142 'webapp/browser_test/cancel_pin_browser_test.js',
143 'webapp/browser_test/invalid_pin_browser_test.js',
144 'webapp/browser_test/mock_client_plugin.js',
145 'webapp/browser_test/mock_session_connector.js',
146 'webapp/browser_test/mock_signal_strategy.js',
147 'webapp/browser_test/scrollbar_browser_test.js',
148 'webapp/browser_test/update_pin_browser_test.js',
150 # These product files are excluded from our JavaScript unittest
151 'remoting_webapp_unittest_exclude_files': [
152 # background.js is where the onLoad handler is defined, which
153 # makes it the entry point of the background page.
154 'webapp/background/background.js',
155 # event_handlers.js is where the onLoad handler is defined, which
156 # makes it the entry point of the webapp.
157 'webapp/event_handlers.js',
159 # The unit test cases for the webapp
160 'remoting_webapp_unittest_js_files': [
161 'webapp/js_proto/chrome_proto.js',
162 'webapp/unittests/chrome_mocks.js',
163 'webapp/unittests/base_unittest.js',
164 'webapp/unittests/it2me_helpee_channel_unittest.js',
165 'webapp/unittests/it2me_helper_channel_unittest.js',
166 'webapp/unittests/it2me_service_unittest.js',
167 'webapp/unittests/l10n_unittest.js',
168 'webapp/unittests/menu_button_unittest.js',
169 'webapp/unittests/xmpp_connection_unittest.js',
170 'webapp/unittests/xmpp_login_handler_unittest.js',
171 'webapp/unittests/xmpp_stream_parser_unittest.js',
173 'remoting_webapp_unittest_additional_files': [
174 'webapp/menu_button.css',
176 'remoting_webapp_unittest_template_main':
177 'webapp/html/template_unittest.html',
179 # The JavaScript files required by main.html.
180 'remoting_webapp_main_html_js_files': [
181 # Include the core files first as it is required by the other files.
182 # Otherwise, Jscompile will complain.
183 '<@(remoting_webapp_js_core_files)',
184 '<@(remoting_webapp_js_auth_client2host_files)',
185 '<@(remoting_webapp_js_auth_google_files)',
186 '<@(remoting_webapp_js_client_files)',
187 '<@(remoting_webapp_js_gnubby_auth_files)',
188 '<@(remoting_webapp_js_cast_extension_files)',
189 '<@(remoting_webapp_js_host_files)',
190 '<@(remoting_webapp_js_logging_files)',
191 '<@(remoting_webapp_js_ui_files)',
192 '<@(remoting_webapp_js_ui_host_control_files)',
193 '<@(remoting_webapp_js_ui_host_display_files)',
194 '<@(remoting_webapp_js_signaling_files)',
195 # Uncomment this line to include browser test files in the web app
196 # to expedite debugging or local development.
197 # '<@(remoting_webapp_js_browser_test_files)'
200 # The JavaScript files that are used in the background page.
201 'remoting_webapp_background_js_files': [
203 'webapp/client_session.js',
205 'webapp/host_installer.js',
206 'webapp/host_session.js',
207 'webapp/it2me_host_facade.js',
209 'webapp/plugin_settings.js',
210 'webapp/typecheck.js',
211 'webapp/background/app_launcher.js',
212 'webapp/background/background.js',
213 'webapp/background/it2me_helpee_channel.js',
214 'webapp/background/it2me_helper_channel.js',
215 'webapp/background/it2me_service.js',
216 'webapp/background/message_window_helper.js',
217 'webapp/background/message_window_manager.js',
220 # The JavaScript files required by wcs_sandbox.html.
221 'remoting_webapp_wcs_sandbox_html_js_files': [
222 '<@(remoting_webapp_js_wcs_sandbox_files)',
224 'webapp/plugin_settings.js',
227 # All the JavaScript files required by the webapp.
228 'remoting_webapp_all_js_files': [
229 # JS files for main.html.
230 '<@(remoting_webapp_main_html_js_files)',
231 '<@(remoting_webapp_background_js_files)',
232 # JS files for message_window.html
233 'webapp/background/message_window.js',
234 # JS files for wcs_sandbox.html.
235 # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files
236 # so that we don't double include error.js and plugin_settings.js.
237 '<@(remoting_webapp_js_wcs_sandbox_files)',
238 # JS files referenced in mainfest.json.
239 '<@(remoting_webapp_js_auth_v1_files)',
242 'remoting_webapp_resource_files': [
243 'resources/disclosure_arrow_down.webp',
244 'resources/disclosure_arrow_right.webp',
245 'resources/drag.webp',
246 'resources/host_setup_instructions.webp',
247 'resources/icon_close.webp',
248 'resources/icon_cross.webp',
249 'resources/icon_disconnect.webp',
250 'resources/icon_fullscreen.webp',
251 'resources/icon_help.webp',
252 'resources/icon_host.webp',
253 'resources/icon_maximize_restore.webp',
254 'resources/icon_minimize.webp',
255 'resources/icon_options.webp',
256 'resources/icon_pencil.webp',
257 'resources/icon_warning.webp',
258 'resources/infographic_my_computers.webp',
259 'resources/infographic_remote_assistance.webp',
260 'resources/plus.webp',
261 'resources/reload.webp',
262 'resources/tick.webp',
263 'webapp/connection_stats.css',
264 'webapp/html/message_window.html',
266 'webapp/menu_button.css',
267 'webapp/message_window.css',
268 'webapp/open_sans.css',
269 'webapp/open_sans.woff',
270 'webapp/scale-to-fit.webp',
271 'webapp/spinner.gif',
272 'webapp/toolbar.css',
273 'webapp/window_frame.css',
276 'remoting_webapp_files': [
277 '<@(remoting_webapp_info_files)',
278 '<@(remoting_webapp_all_js_files)',
279 '<@(remoting_webapp_resource_files)',
282 # These template files are used to construct the webapp html files.
283 'remoting_webapp_template_main':
284 'webapp/html/template_main.html',
286 'remoting_webapp_template_wcs_sandbox':
287 'webapp/html/template_wcs_sandbox.html',
289 'remoting_webapp_template_background':
290 'webapp/html/template_background.html',
292 'remoting_webapp_template_files': [
293 'webapp/html/butterbar.html',
294 'webapp/html/client_plugin.html',
295 'webapp/html/dialog_auth.html',
296 'webapp/html/dialog_client_connect_failed.html',
297 'webapp/html/dialog_client_connecting.html',
298 'webapp/html/dialog_client_host_needs_upgrade.html',
299 'webapp/html/dialog_client_pin_prompt.html',
300 'webapp/html/dialog_client_session_finished.html',
301 'webapp/html/dialog_client_third_party_auth.html',
302 'webapp/html/dialog_client_unconnected.html',
303 'webapp/html/dialog_confirm_host_delete.html',
304 'webapp/html/dialog_connection_history.html',
305 'webapp/html/dialog_host.html',
306 'webapp/html/dialog_host_install.html',
307 'webapp/html/dialog_host_setup.html',
308 'webapp/html/dialog_manage_pairings.html',
309 'webapp/html/dialog_token_refresh_failed.html',
310 'webapp/html/toolbar.html',
311 'webapp/html/ui_header.html',
312 'webapp/html/ui_it2me.html',
313 'webapp/html/ui_me2me.html',
314 'webapp/html/window_frame.html',