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/crd/js/cs_third_party_auth_trampoline.js', # client to host
27 'webapp/crd/js/cs_oauth2_trampoline.js', # Google account
29 # Auth (client to host) JavaScript files.
30 'remoting_webapp_js_auth_client2host_files': [
31 'webapp/crd/js/third_party_host_permissions.js',
32 'webapp/crd/js/third_party_token_fetcher.js',
34 # Auth (Google account) JavaScript files.
35 'remoting_webapp_js_auth_google_files': [
36 'webapp/base/js/auth_dialog.js',
37 'webapp/crd/js/identity.js',
38 'webapp/crd/js/oauth2.js',
39 'webapp/crd/js/oauth2_api.js',
41 # Client JavaScript files.
42 'remoting_webapp_js_client_files': [
43 'webapp/crd/js/client_plugin.js',
44 'webapp/crd/js/client_plugin_impl.js',
45 # TODO(garykac) For client_screen:
46 # * Split out pin/access code stuff into separate file.
47 # * Move client logic into session_connector
48 'webapp/crd/js/client_screen.js',
49 'webapp/crd/js/client_session.js',
50 'webapp/crd/js/clipboard.js',
51 'webapp/crd/js/hangout_session.js',
52 'webapp/crd/js/media_source_renderer.js',
53 'webapp/crd/js/session_connector.js',
54 'webapp/crd/js/session_connector_impl.js',
55 'webapp/crd/js/smart_reconnector.js',
56 'webapp/crd/js/video_frame_recorder.js',
58 # Remoting core JavaScript files.
59 'remoting_webapp_js_core_files': [
60 'webapp/base/js/base.js',
61 'webapp/base/js/platform.js',
62 'webapp/crd/js/error.js',
63 'webapp/crd/js/event_handlers.js',
64 'webapp/crd/js/plugin_settings.js',
65 # TODO(garykac) Split out UI client stuff from remoting.js.
66 'webapp/crd/js/remoting.js',
67 'webapp/crd/js/typecheck.js',
68 'webapp/crd/js/xhr.js',
70 # Host JavaScript files.
71 # Includes both it2me and me2me files.
72 'remoting_webapp_js_host_files': [
73 'webapp/crd/js/host_controller.js',
74 'webapp/crd/js/host_daemon_facade.js',
75 'webapp/crd/js/it2me_host_facade.js',
76 'webapp/crd/js/host_session.js',
78 # Logging and stats JavaScript files.
79 'remoting_webapp_js_logging_files': [
80 'webapp/crd/js/format_iq.js',
81 'webapp/crd/js/log_to_server.js',
82 'webapp/crd/js/server_log_entry.js',
83 'webapp/crd/js/stats_accumulator.js',
85 # UI JavaScript files.
86 'remoting_webapp_js_ui_files': [
87 'webapp/base/js/window_shape.js',
88 'webapp/crd/js/butter_bar.js',
89 'webapp/crd/js/connection_stats.js',
90 'webapp/crd/js/feedback.js',
91 'webapp/crd/js/fullscreen.js',
92 'webapp/crd/js/fullscreen_v1.js',
93 'webapp/crd/js/fullscreen_v2.js',
94 'webapp/crd/js/l10n.js',
95 'webapp/crd/js/menu_button.js',
96 'webapp/crd/js/options_menu.js',
97 'webapp/crd/js/ui_mode.js',
98 'webapp/crd/js/toolbar.js',
99 'webapp/crd/js/window_frame.js',
101 # UI files for controlling the local machine as a host.
102 'remoting_webapp_js_ui_host_control_files': [
103 'webapp/crd/js/host_screen.js',
104 'webapp/crd/js/host_setup_dialog.js',
105 'webapp/crd/js/host_install_dialog.js',
106 'webapp/crd/js/host_installer.js',
107 'webapp/crd/js/paired_client_manager.js',
109 # UI files for displaying (in the client) info about available hosts.
110 'remoting_webapp_js_ui_host_display_files': [
111 'webapp/crd/js/host.js',
112 'webapp/crd/js/host_list.js',
113 'webapp/crd/js/host_settings.js',
114 'webapp/crd/js/host_table_entry.js',
116 # Remoting signaling files.
117 'remoting_webapp_js_signaling_files': [
118 'webapp/crd/js/signal_strategy.js',
119 'webapp/crd/js/wcs_adapter.js',
120 'webapp/crd/js/wcs_sandbox_container.js',
121 'webapp/crd/js/xmpp_connection.js',
122 'webapp/crd/js/xmpp_login_handler.js',
123 'webapp/crd/js/xmpp_stream_parser.js',
125 # Remoting WCS sandbox JavaScript files.
126 'remoting_webapp_js_wcs_sandbox_files': [
127 'webapp/crd/js/wcs.js',
128 'webapp/crd/js/wcs_loader.js',
129 'webapp/crd/js/wcs_sandbox_content.js',
130 'webapp/crd/js/xhr_proxy.js',
132 # gnubby authentication JavaScript files.
133 'remoting_webapp_js_gnubby_auth_files': [
134 'webapp/crd/js/gnubby_auth_handler.js',
136 # cast extension handler JavaScript files.
137 'remoting_webapp_js_cast_extension_files': [
138 'webapp/crd/js/cast_extension_handler.js',
140 # browser test JavaScript files.
141 'remoting_webapp_js_browser_test_files': [
142 'webapp/browser_test/browser_test.js',
143 'webapp/browser_test/bump_scroll_browser_test.js',
144 'webapp/browser_test/cancel_pin_browser_test.js',
145 'webapp/browser_test/invalid_pin_browser_test.js',
146 'webapp/browser_test/mock_client_plugin.js',
147 'webapp/browser_test/mock_session_connector.js',
148 'webapp/browser_test/mock_signal_strategy.js',
149 'webapp/browser_test/scrollbar_browser_test.js',
150 'webapp/browser_test/update_pin_browser_test.js',
152 # These product files are excluded from our JavaScript unittest
153 'remoting_webapp_unittest_exclude_files': [
154 # background.js is where the onLoad handler is defined, which
155 # makes it the entry point of the background page.
156 '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',
161 # The unit test cases for the webapp
162 'remoting_webapp_unittest_js_files': [
163 'webapp/js_proto/chrome_proto.js',
164 'webapp/unittests/chrome_mocks.js',
165 'webapp/unittests/base_unittest.js',
166 'webapp/unittests/it2me_helpee_channel_unittest.js',
167 'webapp/unittests/it2me_helper_channel_unittest.js',
168 'webapp/unittests/it2me_service_unittest.js',
169 'webapp/unittests/l10n_unittest.js',
170 'webapp/unittests/menu_button_unittest.js',
171 'webapp/unittests/xmpp_connection_unittest.js',
172 'webapp/unittests/xmpp_login_handler_unittest.js',
173 'webapp/unittests/xmpp_stream_parser_unittest.js',
175 'remoting_webapp_unittest_additional_files': [
176 'webapp/crd/html/menu_button.css',
178 'remoting_webapp_unittest_template_main':
179 'webapp/crd/html/template_unittest.html',
181 # The JavaScript files required by main.html.
182 'remoting_webapp_main_html_js_files': [
183 # Include the core files first as it is required by the other files.
184 # Otherwise, Jscompile will complain.
185 '<@(remoting_webapp_js_core_files)',
186 '<@(remoting_webapp_js_auth_client2host_files)',
187 '<@(remoting_webapp_js_auth_google_files)',
188 '<@(remoting_webapp_js_client_files)',
189 '<@(remoting_webapp_js_gnubby_auth_files)',
190 '<@(remoting_webapp_js_cast_extension_files)',
191 '<@(remoting_webapp_js_host_files)',
192 '<@(remoting_webapp_js_logging_files)',
193 '<@(remoting_webapp_js_ui_files)',
194 '<@(remoting_webapp_js_ui_host_control_files)',
195 '<@(remoting_webapp_js_ui_host_display_files)',
196 '<@(remoting_webapp_js_signaling_files)',
197 # Uncomment this line to include browser test files in the web app
198 # to expedite debugging or local development.
199 # '<@(remoting_webapp_js_browser_test_files)'
202 # The JavaScript files that are used in the background page.
203 'remoting_webapp_background_js_files': [
204 'webapp/base/js/base.js',
205 'webapp/base/js/message_window_helper.js',
206 'webapp/base/js/message_window_manager.js',
207 'webapp/crd/js/app_launcher.js',
208 'webapp/crd/js/background.js',
209 'webapp/crd/js/client_session.js',
210 'webapp/crd/js/error.js',
211 'webapp/crd/js/host_installer.js',
212 'webapp/crd/js/host_session.js',
213 'webapp/crd/js/it2me_helpee_channel.js',
214 'webapp/crd/js/it2me_helper_channel.js',
215 'webapp/crd/js/it2me_host_facade.js',
216 'webapp/crd/js/it2me_service.js',
217 'webapp/crd/js/l10n.js',
218 'webapp/crd/js/oauth2.js',
219 'webapp/crd/js/oauth2_api.js',
220 'webapp/crd/js/plugin_settings.js',
221 'webapp/crd/js/typecheck.js',
222 'webapp/crd/js/xhr.js',
225 # The JavaScript files required by wcs_sandbox.html.
226 'remoting_webapp_wcs_sandbox_html_js_files': [
227 '<@(remoting_webapp_js_wcs_sandbox_files)',
228 'webapp/crd/js/error.js',
229 'webapp/crd/js/plugin_settings.js',
232 # All the JavaScript files required by the webapp.
233 'remoting_webapp_all_js_files': [
234 # JS files for main.html.
235 '<@(remoting_webapp_main_html_js_files)',
236 '<@(remoting_webapp_background_js_files)',
237 # JS files for message_window.html
238 'webapp/base/js/message_window.js',
239 # JS files for wcs_sandbox.html.
240 # 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.
242 '<@(remoting_webapp_js_wcs_sandbox_files)',
243 # JS files referenced in mainfest.json.
244 '<@(remoting_webapp_js_auth_v1_files)',
247 'remoting_webapp_resource_files': [
248 'resources/disclosure_arrow_down.webp',
249 'resources/disclosure_arrow_right.webp',
250 'resources/drag.webp',
251 'resources/host_setup_instructions.webp',
252 'resources/icon_close.webp',
253 'resources/icon_cross.webp',
254 'resources/icon_disconnect.webp',
255 'resources/icon_fullscreen.webp',
256 'resources/icon_help.webp',
257 'resources/icon_host.webp',
258 'resources/icon_maximize_restore.webp',
259 'resources/icon_minimize.webp',
260 'resources/icon_options.webp',
261 'resources/icon_pencil.webp',
262 'resources/icon_warning.webp',
263 'resources/infographic_my_computers.webp',
264 'resources/infographic_remote_assistance.webp',
265 'resources/plus.webp',
266 'resources/reload.webp',
267 'resources/tick.webp',
268 'webapp/base/html/connection_stats.css',
269 'webapp/base/html/message_window.html',
270 'webapp/base/html/main.css',
271 'webapp/base/html/message_window.css',
272 'webapp/base/resources/open_sans.css',
273 'webapp/base/resources/open_sans.woff',
274 'webapp/base/resources/spinner.gif',
275 'webapp/crd/html/butter_bar.css',
276 'webapp/crd/html/toolbar.css',
277 'webapp/crd/html/menu_button.css',
278 'webapp/crd/html/window_frame.css',
279 'webapp/crd/resources/scale-to-fit.webp',
282 'remoting_webapp_files': [
283 '<@(remoting_webapp_info_files)',
284 '<@(remoting_webapp_all_js_files)',
285 '<@(remoting_webapp_resource_files)',
288 # These template files are used to construct the webapp html files.
289 'remoting_webapp_template_main':
290 'webapp/crd/html/template_main.html',
292 'remoting_webapp_template_wcs_sandbox':
293 'webapp/base/html/template_wcs_sandbox.html',
295 'remoting_webapp_template_background':
296 'webapp/crd/html/template_background.html',
298 'remoting_webapp_template_files': [
299 'webapp/base/html/client_plugin.html',
300 'webapp/base/html/dialog_auth.html',
301 'webapp/crd/html/butter_bar.html',
302 'webapp/crd/html/dialog_client_connect_failed.html',
303 'webapp/crd/html/dialog_client_connecting.html',
304 'webapp/crd/html/dialog_client_host_needs_upgrade.html',
305 'webapp/crd/html/dialog_client_pin_prompt.html',
306 'webapp/crd/html/dialog_client_session_finished.html',
307 'webapp/crd/html/dialog_client_third_party_auth.html',
308 'webapp/crd/html/dialog_client_unconnected.html',
309 'webapp/crd/html/dialog_confirm_host_delete.html',
310 'webapp/crd/html/dialog_connection_history.html',
311 'webapp/crd/html/dialog_host.html',
312 'webapp/crd/html/dialog_host_install.html',
313 'webapp/crd/html/dialog_host_setup.html',
314 'webapp/crd/html/dialog_manage_pairings.html',
315 'webapp/crd/html/dialog_token_refresh_failed.html',
316 'webapp/crd/html/toolbar.html',
317 'webapp/crd/html/ui_header.html',
318 'webapp/crd/html/ui_it2me.html',
319 'webapp/crd/html/ui_me2me.html',
320 'webapp/crd/html/window_frame.html',