Supervised user interstitial: Handle missing custodian profile URL.
[chromium-blink-merge.git] / remoting / remoting_webapp_files.gypi
blob64bc593ff4949e831e15f406f60e109e51eb0081
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.
6   'variables': {
7     'remoting_webapp_info_files': [
8       'resources/chromoting16.webp',
9       'resources/chromoting48.webp',
10       'resources/chromoting128.webp',
11     ],
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',
20     ],
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
28     ],
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',
33     ],
34     # Auth (Google account) JavaScript files.
35     'remoting_webapp_js_auth_google_files': [
36       'webapp/identity.js',
37       'webapp/oauth2.js',
38       'webapp/oauth2_api.js',
39     ],
40     # Client JavaScript files.
41     'remoting_webapp_js_client_files': [
42       'webapp/client_plugin.js',
43       # TODO(garykac) For client_screen:
44       # * Split out pin/access code stuff into separate file.
45       # * Move client logic into session_connector
46       'webapp/client_screen.js',
47       'webapp/client_session.js',
48       'webapp/clipboard.js',
49       'webapp/hangout_session.js',
50       'webapp/media_source_renderer.js',
51       'webapp/session_connector.js',
52       'webapp/smart_reconnector.js',
53       'webapp/video_frame_recorder.js',
54     ],
55     # Remoting core JavaScript files.
56     'remoting_webapp_js_core_files': [
57       'webapp/base.js',
58       'webapp/error.js',
59       'webapp/event_handlers.js',
60       'webapp/plugin_settings.js',
61       # TODO(garykac) Split out UI client stuff from remoting.js.
62       'webapp/remoting.js',
63       'webapp/typecheck.js',
64       'webapp/xhr.js',
65     ],
66     # Host JavaScript files.
67     # Includes both it2me and me2me files.
68     'remoting_webapp_js_host_files': [
69       'webapp/host_controller.js',
70       'webapp/host_daemon_facade.js',
71       'webapp/it2me_host_facade.js',
72       'webapp/host_session.js',
73     ],
74     # Logging and stats JavaScript files.
75     'remoting_webapp_js_logging_files': [
76       'webapp/format_iq.js',
77       'webapp/log_to_server.js',
78       'webapp/server_log_entry.js',
79       'webapp/stats_accumulator.js',
80     ],
81     # UI JavaScript files.
82     'remoting_webapp_js_ui_files': [
83       'webapp/butter_bar.js',
84       'webapp/connection_stats.js',
85       'webapp/feedback.js',
86       'webapp/fullscreen.js',
87       'webapp/fullscreen_v1.js',
88       'webapp/fullscreen_v2.js',
89       'webapp/l10n.js',
90       'webapp/menu_button.js',
91       'webapp/options_menu.js',
92       'webapp/ui_mode.js',
93       'webapp/toolbar.js',
94       'webapp/window_frame.js',
95     ],
96     # UI files for controlling the local machine as a host.
97     'remoting_webapp_js_ui_host_control_files': [
98       'webapp/host_screen.js',
99       'webapp/host_setup_dialog.js',
100       'webapp/host_install_dialog.js',
101       'webapp/host_installer.js',
102       'webapp/paired_client_manager.js',
103     ],
104     # UI files for displaying (in the client) info about available hosts.
105     'remoting_webapp_js_ui_host_display_files': [
106       'webapp/host.js',
107       'webapp/host_list.js',
108       'webapp/host_settings.js',
109       'webapp/host_table_entry.js',
110     ],
111     # Remoting WCS container JavaScript files.
112     'remoting_webapp_js_wcs_container_files': [
113       'webapp/wcs_sandbox_container.js',
114     ],
115     # Remoting WCS sandbox JavaScript files.
116     'remoting_webapp_js_wcs_sandbox_files': [
117       'webapp/wcs.js',
118       'webapp/wcs_loader.js',
119       'webapp/wcs_sandbox_content.js',
120       'webapp/xhr_proxy.js',
121     ],
122     # gnubby authentication JavaScript files.
123     'remoting_webapp_js_gnubby_auth_files': [
124       'webapp/gnubby_auth_handler.js',
125     ],
126     # cast extension handler JavaScript files.
127     'remoting_webapp_js_cast_extension_files': [
128       'webapp/cast_extension_handler.js',
129     ],
130     # browser test JavaScript files.
131     'remoting_webapp_js_browser_test_files': [
132       'webapp/browser_test/browser_test.js',
133       'webapp/browser_test/bump_scroll_browser_test.js',
134       'webapp/browser_test/cancel_pin_browser_test.js',
135       'webapp/browser_test/invalid_pin_browser_test.js',
136       'webapp/browser_test/update_pin_browser_test.js',
137     ],
138     # These product files are excluded from our JavaScript unittest
139     'remoting_webapp_unittest_exclude_files': [
140       # background.js is where the onLoad handler is defined, which
141       # makes it the entry point of the background page.
142       'webapp/background/background.js',
143       # event_handlers.js is where the onLoad handler is defined, which
144       # makes it the entry point of the webapp.
145       'webapp/event_handlers.js',
146     ],
147     # The unit test cases for the webapp
148     'remoting_webapp_unittest_js_files': [
149       'webapp/js_proto/chrome_proto.js',
150       'webapp/unittests/chrome_mocks.js',
151       'webapp/unittests/base_unittest.js',
152       'webapp/unittests/l10n_unittest.js',
153       'webapp/unittests/menu_button_unittest.js',
154       'webapp/unittests/it2me_helpee_channel_unittest.js',
155       'webapp/unittests/it2me_helper_channel_unittest.js',
156       'webapp/unittests/it2me_service_unittest.js'
157     ],
158     'remoting_webapp_unittest_additional_files': [
159       'webapp/menu_button.css',
160     ],
161     'remoting_webapp_unittest_template_main':
162       'webapp/html/template_unittest.html',
164     # The JavaScript files required by main.html.
165     'remoting_webapp_main_html_js_files': [
166       # Include the core files first as it is required by the other files.
167       # Otherwise, Jscompile will complain.
168       '<@(remoting_webapp_js_core_files)',
169       '<@(remoting_webapp_js_auth_client2host_files)',
170       '<@(remoting_webapp_js_auth_google_files)',
171       '<@(remoting_webapp_js_client_files)',
172       '<@(remoting_webapp_js_gnubby_auth_files)',
173       '<@(remoting_webapp_js_cast_extension_files)',
174       '<@(remoting_webapp_js_host_files)',
175       '<@(remoting_webapp_js_logging_files)',
176       '<@(remoting_webapp_js_ui_files)',
177       '<@(remoting_webapp_js_ui_host_control_files)',
178       '<@(remoting_webapp_js_ui_host_display_files)',
179       '<@(remoting_webapp_js_wcs_container_files)',
180       # Uncomment this line to include browser test files in the web app
181       # to expedite debugging or local development.
182       # '<@(remoting_webapp_js_browser_test_files)'
183     ],
185     # The JavaScript files that are used in the background page.
186     'remoting_webapp_background_js_files': [
187       'webapp/base.js',
188       'webapp/client_session.js',
189       'webapp/error.js',
190       'webapp/host_installer.js',
191       'webapp/host_session.js',
192       'webapp/it2me_host_facade.js',
193       'webapp/plugin_settings.js',
194       'webapp/typecheck.js',
195       'webapp/background/app_launcher.js',
196       'webapp/background/background.js',
197       'webapp/background/it2me_helpee_channel.js',
198       'webapp/background/it2me_helper_channel.js',
199       'webapp/background/it2me_service.js',
200     ],
202     # The JavaScript files required by wcs_sandbox.html.
203     'remoting_webapp_wcs_sandbox_html_js_files': [
204       '<@(remoting_webapp_js_wcs_sandbox_files)',
205       'webapp/error.js',
206       'webapp/plugin_settings.js',
207     ],
209     # All the JavaScript files required by the webapp.
210     'remoting_webapp_all_js_files': [
211       # JS files for main.html.
212       '<@(remoting_webapp_main_html_js_files)',
213       '<@(remoting_webapp_background_js_files)',
214       # JS files for wcs_sandbox.html.
215       # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files
216       # so that we don't double include error.js and plugin_settings.js.
217       '<@(remoting_webapp_js_wcs_sandbox_files)',
218       # JS files referenced in mainfest.json.
219       '<@(remoting_webapp_js_auth_v1_files)',
220     ],
222     'remoting_webapp_resource_files': [
223       'resources/disclosure_arrow_down.webp',
224       'resources/disclosure_arrow_right.webp',
225       'resources/drag.webp',
226       'resources/host_setup_instructions.webp',
227       'resources/icon_close.webp',
228       'resources/icon_cross.webp',
229       'resources/icon_disconnect.webp',
230       'resources/icon_help.webp',
231       'resources/icon_host.webp',
232       'resources/icon_maximize_restore.webp',
233       'resources/icon_minimize.webp',
234       'resources/icon_options.webp',
235       'resources/icon_pencil.webp',
236       'resources/icon_warning.webp',
237       'resources/infographic_my_computers.webp',
238       'resources/infographic_remote_assistance.webp',
239       'resources/plus.webp',
240       'resources/reload.webp',
241       'resources/tick.webp',
242       'webapp/connection_stats.css',
243       'webapp/main.css',
244       'webapp/menu_button.css',
245       'webapp/open_sans.css',
246       'webapp/open_sans.woff',
247       'webapp/scale-to-fit.webp',
248       'webapp/spinner.gif',
249       'webapp/toolbar.css',
250       'webapp/window_frame.css',
251     ],
253     'remoting_webapp_files': [
254       '<@(remoting_webapp_info_files)',
255       '<@(remoting_webapp_all_js_files)',
256       '<@(remoting_webapp_resource_files)',
257     ],
259     # These template files are used to construct the webapp html files.
260     'remoting_webapp_template_main':
261       'webapp/html/template_main.html',
263     'remoting_webapp_template_wcs_sandbox':
264       'webapp/html/template_wcs_sandbox.html',
266     'remoting_webapp_template_background':
267       'webapp/html/template_background.html',
269     'remoting_webapp_template_files': [
270       'webapp/html/butterbar.html',
271       'webapp/html/client_plugin.html',
272       'webapp/html/dialog_auth.html',
273       'webapp/html/dialog_client_connect_failed.html',
274       'webapp/html/dialog_client_connecting.html',
275       'webapp/html/dialog_client_host_needs_upgrade.html',
276       'webapp/html/dialog_client_pin_prompt.html',
277       'webapp/html/dialog_client_session_finished.html',
278       'webapp/html/dialog_client_third_party_auth.html',
279       'webapp/html/dialog_client_unconnected.html',
280       'webapp/html/dialog_confirm_host_delete.html',
281       'webapp/html/dialog_connection_history.html',
282       'webapp/html/dialog_host.html',
283       'webapp/html/dialog_host_install.html',
284       'webapp/html/dialog_host_setup.html',
285       'webapp/html/dialog_manage_pairings.html',
286       'webapp/html/dialog_token_refresh_failed.html',
287       'webapp/html/toolbar.html',
288       'webapp/html/ui_header.html',
289       'webapp/html/ui_it2me.html',
290       'webapp/html/ui_me2me.html',
291       'webapp/html/window_frame.html',
292     ],
294   },