blob: 603a502b155de8125a7387aa444d45c6d5ff8fde [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',
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',
[email protected]fd1468352014-02-06 10:38:4749 'webapp/media_source_renderer.js',
[email protected]af2d58182014-01-25 01:21:4250 'webapp/session_connector.js',
[email protected]bf7e9521a2014-05-01 23:48:5551 'webapp/smart_reconnector.js',
[email protected]af2d58182014-01-25 01:21:4252 ],
53 # Remoting core JavaScript files.
54 'remoting_webapp_js_core_files': [
[email protected]f8881a72014-04-25 08:55:1855 'webapp/base.js',
[email protected]af2d58182014-01-25 01:21:4256 'webapp/error.js',
57 'webapp/event_handlers.js',
58 'webapp/plugin_settings.js',
59 # TODO(garykac) Split out UI client stuff from remoting.js.
60 'webapp/remoting.js',
[email protected]ef2f63382014-02-12 22:50:3861 'webapp/typecheck.js',
[email protected]af2d58182014-01-25 01:21:4262 'webapp/xhr.js',
[email protected]af2d58182014-01-25 01:21:4263 ],
64 # Host JavaScript files.
65 # Includes both it2me and me2me files.
66 'remoting_webapp_js_host_files': [
67 'webapp/host_controller.js',
[email protected]ed3ec74c2014-06-24 01:34:0268 'webapp/host_daemon_facade.js',
[email protected]d6e2a7c2014-06-24 22:12:4569 'webapp/it2me_host_facade.js',
[email protected]af2d58182014-01-25 01:21:4270 'webapp/host_session.js',
71 ],
72 # Logging and stats JavaScript files.
73 'remoting_webapp_js_logging_files': [
74 'webapp/format_iq.js',
75 'webapp/log_to_server.js',
76 'webapp/server_log_entry.js',
77 'webapp/stats_accumulator.js',
78 ],
79 # UI JavaScript files.
80 'remoting_webapp_js_ui_files': [
81 'webapp/butter_bar.js',
82 'webapp/connection_stats.js',
[email protected]3febebe2014-04-30 21:07:2783 'webapp/feedback.js',
84 'webapp/fullscreen.js',
85 'webapp/fullscreen_v1.js',
86 'webapp/fullscreen_v2.js',
[email protected]af2d58182014-01-25 01:21:4287 'webapp/l10n.js',
88 'webapp/menu_button.js',
[email protected]ddd417e2014-06-25 04:58:4289 'webapp/options_menu.js',
[email protected]af2d58182014-01-25 01:21:4290 'webapp/ui_mode.js',
91 'webapp/toolbar.js',
[email protected]f733f262014-05-14 06:10:1692 'webapp/window_frame.js',
[email protected]af2d58182014-01-25 01:21:4293 ],
94 # UI files for controlling the local machine as a host.
95 'remoting_webapp_js_ui_host_control_files': [
96 'webapp/host_screen.js',
97 'webapp/host_setup_dialog.js',
[email protected]0564f8a2014-02-06 02:29:1498 'webapp/host_install_dialog.js',
[email protected]af2d58182014-01-25 01:21:4299 'webapp/paired_client_manager.js',
100 ],
101 # UI files for displaying (in the client) info about available hosts.
102 'remoting_webapp_js_ui_host_display_files': [
103 'webapp/host.js',
104 'webapp/host_list.js',
105 'webapp/host_settings.js',
106 'webapp/host_table_entry.js',
107 ],
[email protected]cb896cc2014-02-20 00:35:31108 # Remoting WCS container JavaScript files.
109 'remoting_webapp_js_wcs_container_files': [
110 'webapp/wcs_sandbox_container.js',
111 ],
112 # Remoting WCS sandbox JavaScript files.
113 'remoting_webapp_js_wcs_sandbox_files': [
[email protected]af2d58182014-01-25 01:21:42114 'webapp/wcs.js',
115 'webapp/wcs_loader.js',
[email protected]af2d58182014-01-25 01:21:42116 'webapp/wcs_sandbox_content.js',
[email protected]cb896cc2014-02-20 00:35:31117 'webapp/xhr_proxy.js',
[email protected]af2d58182014-01-25 01:21:42118 ],
[email protected]de101e12014-02-27 04:12:08119 # gnubby authentication JavaScript files.
120 'remoting_webapp_js_gnubby_auth_files': [
121 'webapp/gnubby_auth_handler.js',
122 ],
[email protected]4eacd672014-05-09 06:58:23123 # browser test JavaScript files.
124 'remoting_webapp_js_browser_test_files': [
125 'webapp/browser_test/browser_test.js',
[email protected]e1680702014-05-14 03:09:01126 'webapp/browser_test/cancel_pin_browser_test.js',
127 'webapp/browser_test/invalid_pin_browser_test.js',
128 'webapp/browser_test/update_pin_browser_test.js',
[email protected]4eacd672014-05-09 06:58:23129 ],
[email protected]78485562014-06-23 21:12:45130 # These product files are excluded from our JavaScript unittest
131 'remoting_webapp_unittest_exclude_files': [
132 # event_handlers.js is where the onLoad handler is defined, which
133 # makes it the entry point of the webapp.
134 'webapp/event_handlers.js',
135 ],
136 # The unit test cases for the webapp
137 'remoting_webapp_unittest_cases': [
[email protected]ea93fa562014-07-23 16:54:24138 'webapp/js_proto/chrome_proto.js',
[email protected]09b6ce892014-07-18 23:40:05139 'webapp/unittests/base_unittest.js',
[email protected]ea93fa562014-07-23 16:54:24140 'webapp/unittests/l10n_unittest.js',
[email protected]79132942014-07-19 02:59:53141 'webapp/unittests/menu_button_unittest.js',
142 ],
143 'remoting_webapp_unittest_additional_files': [
144 'webapp/menu_button.css',
[email protected]78485562014-06-23 21:12:45145 ],
146 'remoting_webapp_unittest_template_main':
147 'webapp/html/template_unittest.html',
148
[email protected]cb896cc2014-02-20 00:35:31149 # The JavaScript files required by main.html.
150 'remoting_webapp_main_html_js_files': [
[email protected]f8881a72014-04-25 08:55:18151 # Include the core files first as it is required by the other files.
152 # Otherwise, Jscompile will complain.
153 '<@(remoting_webapp_js_core_files)',
[email protected]af2d58182014-01-25 01:21:42154 '<@(remoting_webapp_js_auth_client2host_files)',
155 '<@(remoting_webapp_js_auth_google_files)',
156 '<@(remoting_webapp_js_client_files)',
[email protected]de101e12014-02-27 04:12:08157 '<@(remoting_webapp_js_gnubby_auth_files)',
[email protected]af2d58182014-01-25 01:21:42158 '<@(remoting_webapp_js_host_files)',
159 '<@(remoting_webapp_js_logging_files)',
160 '<@(remoting_webapp_js_ui_files)',
161 '<@(remoting_webapp_js_ui_host_control_files)',
162 '<@(remoting_webapp_js_ui_host_display_files)',
[email protected]cb896cc2014-02-20 00:35:31163 '<@(remoting_webapp_js_wcs_container_files)',
[email protected]4eacd672014-05-09 06:58:23164 # Uncomment this line to include browser test files in the web app
165 # to expedite debugging or local development.
166 # '<@(remoting_webapp_js_browser_test_files)'
[email protected]cb896cc2014-02-20 00:35:31167 ],
168
169 # The JavaScript files required by wcs_sandbox.html.
170 'remoting_webapp_wcs_sandbox_html_js_files': [
171 '<@(remoting_webapp_js_wcs_sandbox_files)',
172 'webapp/error.js',
173 'webapp/plugin_settings.js',
174 ],
175
176 # All the JavaScript files required by the webapp.
177 'remoting_webapp_all_js_files': [
178 # JS files for main.html.
179 '<@(remoting_webapp_main_html_js_files)',
180 # JS files for wcs_sandbox.html.
181 # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files
182 # so that we don't double include error.js and plugin_settings.js.
183 '<@(remoting_webapp_js_wcs_sandbox_files)',
184 # JS files referenced in mainfest.json.
185 '<@(remoting_webapp_js_auth_v1_files)',
[email protected]af2d58182014-01-25 01:21:42186 ],
187
188 'remoting_webapp_resource_files': [
189 'resources/disclosure_arrow_down.webp',
190 'resources/disclosure_arrow_right.webp',
[email protected]f733f262014-05-14 06:10:16191 'resources/drag.webp',
[email protected]af2d58182014-01-25 01:21:42192 'resources/host_setup_instructions.webp',
[email protected]f733f262014-05-14 06:10:16193 'resources/icon_close.webp',
[email protected]af2d58182014-01-25 01:21:42194 'resources/icon_cross.webp',
[email protected]f733f262014-05-14 06:10:16195 'resources/icon_disconnect.webp',
[email protected]ef16f932014-04-16 09:41:58196 'resources/icon_help.webp',
[email protected]af2d58182014-01-25 01:21:42197 'resources/icon_host.webp',
[email protected]f733f262014-05-14 06:10:16198 'resources/icon_maximize_restore.webp',
199 'resources/icon_minimize.webp',
[email protected]af2d58182014-01-25 01:21:42200 'resources/icon_pencil.webp',
201 'resources/icon_warning.webp',
202 'resources/infographic_my_computers.webp',
203 'resources/infographic_remote_assistance.webp',
204 'resources/plus.webp',
205 'resources/reload.webp',
206 'resources/tick.webp',
[email protected]af2d58182014-01-25 01:21:42207 'webapp/connection_stats.css',
208 'webapp/main.css',
[email protected]af2d58182014-01-25 01:21:42209 'webapp/menu_button.css',
210 'webapp/open_sans.css',
211 'webapp/open_sans.woff',
212 'webapp/scale-to-fit.webp',
213 'webapp/spinner.gif',
214 'webapp/toolbar.css',
[email protected]f733f262014-05-14 06:10:16215 'webapp/window_frame.css',
[email protected]af2d58182014-01-25 01:21:42216 ],
217
218 'remoting_webapp_files': [
219 '<@(remoting_webapp_info_files)',
[email protected]cb896cc2014-02-20 00:35:31220 '<@(remoting_webapp_all_js_files)',
[email protected]af2d58182014-01-25 01:21:42221 '<@(remoting_webapp_resource_files)',
222 ],
[email protected]cb896cc2014-02-20 00:35:31223
224 # These template files are used to construct the webapp html files.
225 'remoting_webapp_template_main':
226 'webapp/html/template_main.html',
227
228 'remoting_webapp_template_wcs_sandbox':
229 'webapp/html/template_wcs_sandbox.html',
230
231 'remoting_webapp_template_files': [
232 'webapp/html/butterbar.html',
[email protected]95489032014-02-25 13:58:04233 'webapp/html/client_plugin.html',
[email protected]cb896cc2014-02-20 00:35:31234 'webapp/html/dialog_auth.html',
[email protected]95489032014-02-25 13:58:04235 'webapp/html/dialog_client_connect_failed.html',
236 'webapp/html/dialog_client_connecting.html',
[email protected]cb896cc2014-02-20 00:35:31237 'webapp/html/dialog_client_host_needs_upgrade.html',
[email protected]cb896cc2014-02-20 00:35:31238 'webapp/html/dialog_client_pin_prompt.html',
239 'webapp/html/dialog_client_session_finished.html',
240 'webapp/html/dialog_client_third_party_auth.html',
241 'webapp/html/dialog_client_unconnected.html',
242 'webapp/html/dialog_confirm_host_delete.html',
243 'webapp/html/dialog_connection_history.html',
244 'webapp/html/dialog_host.html',
245 'webapp/html/dialog_host_install.html',
246 'webapp/html/dialog_host_setup.html',
247 'webapp/html/dialog_manage_pairings.html',
248 'webapp/html/dialog_token_refresh_failed.html',
249 'webapp/html/toolbar.html',
250 'webapp/html/ui_header.html',
251 'webapp/html/ui_it2me.html',
252 'webapp/html/ui_me2me.html',
[email protected]f733f262014-05-14 06:10:16253 'webapp/html/window_frame.html',
[email protected]cb896cc2014-02-20 00:35:31254 ],
255
[email protected]af2d58182014-01-25 01:21:42256 },
257}