blob: 54e7d5bec927a608e08b7ce9fd3438f28890934b [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',
11 'webapp/manifest.json',
12 ],
13
[email protected]cbc8bb02014-01-28 18:01:5314 # Jscompile proto files.
15 # These provide type information for jscompile.
16 'remoting_webapp_js_proto_files': [
17 'webapp/js_proto/chrome_proto.js',
18 'webapp/js_proto/console_proto.js',
19 'webapp/js_proto/dom_proto.js',
20 'webapp/js_proto/remoting_proto.js',
21 ],
22
[email protected]cb896cc2014-02-20 00:35:3123 # Auth (apps v1) JavaScript files.
24 # These files aren't included directly from main.html. They are
25 # referenced from the manifest.json file (appsv1 only).
26 'remoting_webapp_js_auth_v1_files': [
27 'webapp/cs_third_party_auth_trampoline.js', # client to host
28 'webapp/cs_oauth2_trampoline.js', # Google account
29 ],
[email protected]af2d58182014-01-25 01:21:4230 # Auth (client to host) JavaScript files.
31 'remoting_webapp_js_auth_client2host_files': [
[email protected]af2d58182014-01-25 01:21:4232 'webapp/third_party_host_permissions.js',
33 'webapp/third_party_token_fetcher.js',
34 ],
35 # Auth (Google account) JavaScript files.
36 'remoting_webapp_js_auth_google_files': [
[email protected]af2d58182014-01-25 01:21:4237 'webapp/identity.js',
38 'webapp/oauth2.js',
39 'webapp/oauth2_api.js',
40 ],
[email protected]fd1468352014-02-06 10:38:4741 # Client JavaScript files.
[email protected]af2d58182014-01-25 01:21:4242 'remoting_webapp_js_client_files': [
43 'webapp/client_plugin.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',
[email protected]fd1468352014-02-06 10:38:4750 'webapp/media_source_renderer.js',
[email protected]af2d58182014-01-25 01:21:4251 'webapp/session_connector.js',
52 ],
53 # Remoting core JavaScript files.
54 'remoting_webapp_js_core_files': [
55 'webapp/error.js',
56 'webapp/event_handlers.js',
57 'webapp/plugin_settings.js',
58 # TODO(garykac) Split out UI client stuff from remoting.js.
59 'webapp/remoting.js',
[email protected]ef2f63382014-02-12 22:50:3860 'webapp/typecheck.js',
[email protected]af2d58182014-01-25 01:21:4261 'webapp/xhr.js',
[email protected]af2d58182014-01-25 01:21:4262 ],
63 # Host JavaScript files.
64 # Includes both it2me and me2me files.
65 'remoting_webapp_js_host_files': [
66 'webapp/host_controller.js',
67 'webapp/host_dispatcher.js',
[email protected]e71c1b52014-02-02 06:11:0568 'webapp/host_it2me_dispatcher.js',
69 'webapp/host_it2me_native_messaging.js',
[email protected]af2d58182014-01-25 01:21:4270 'webapp/host_native_messaging.js',
71 'webapp/host_session.js',
72 ],
73 # Logging and stats JavaScript files.
74 'remoting_webapp_js_logging_files': [
75 'webapp/format_iq.js',
76 'webapp/log_to_server.js',
77 'webapp/server_log_entry.js',
78 'webapp/stats_accumulator.js',
79 ],
80 # UI JavaScript files.
81 'remoting_webapp_js_ui_files': [
82 'webapp/butter_bar.js',
83 'webapp/connection_stats.js',
84 'webapp/l10n.js',
85 'webapp/menu_button.js',
86 'webapp/ui_mode.js',
87 'webapp/toolbar.js',
88 ],
89 # UI files for controlling the local machine as a host.
90 'remoting_webapp_js_ui_host_control_files': [
91 'webapp/host_screen.js',
92 'webapp/host_setup_dialog.js',
[email protected]0564f8a2014-02-06 02:29:1493 'webapp/host_install_dialog.js',
[email protected]af2d58182014-01-25 01:21:4294 'webapp/paired_client_manager.js',
95 ],
96 # UI files for displaying (in the client) info about available hosts.
97 'remoting_webapp_js_ui_host_display_files': [
98 'webapp/host.js',
99 'webapp/host_list.js',
100 'webapp/host_settings.js',
101 'webapp/host_table_entry.js',
102 ],
[email protected]cb896cc2014-02-20 00:35:31103 # Remoting WCS container JavaScript files.
104 'remoting_webapp_js_wcs_container_files': [
105 'webapp/wcs_sandbox_container.js',
106 ],
107 # Remoting WCS sandbox JavaScript files.
108 'remoting_webapp_js_wcs_sandbox_files': [
[email protected]af2d58182014-01-25 01:21:42109 'webapp/wcs.js',
110 'webapp/wcs_loader.js',
[email protected]af2d58182014-01-25 01:21:42111 'webapp/wcs_sandbox_content.js',
[email protected]cb896cc2014-02-20 00:35:31112 'webapp/xhr_proxy.js',
[email protected]af2d58182014-01-25 01:21:42113 ],
[email protected]cb896cc2014-02-20 00:35:31114
115 # The JavaScript files required by main.html.
116 'remoting_webapp_main_html_js_files': [
[email protected]af2d58182014-01-25 01:21:42117 '<@(remoting_webapp_js_auth_client2host_files)',
118 '<@(remoting_webapp_js_auth_google_files)',
119 '<@(remoting_webapp_js_client_files)',
120 '<@(remoting_webapp_js_core_files)',
121 '<@(remoting_webapp_js_host_files)',
122 '<@(remoting_webapp_js_logging_files)',
123 '<@(remoting_webapp_js_ui_files)',
124 '<@(remoting_webapp_js_ui_host_control_files)',
125 '<@(remoting_webapp_js_ui_host_display_files)',
[email protected]cb896cc2014-02-20 00:35:31126 '<@(remoting_webapp_js_wcs_container_files)',
127 ],
128
129 # The JavaScript files required by wcs_sandbox.html.
130 'remoting_webapp_wcs_sandbox_html_js_files': [
131 '<@(remoting_webapp_js_wcs_sandbox_files)',
132 'webapp/error.js',
133 'webapp/plugin_settings.js',
134 ],
135
136 # All the JavaScript files required by the webapp.
137 'remoting_webapp_all_js_files': [
138 # JS files for main.html.
139 '<@(remoting_webapp_main_html_js_files)',
140 # JS files for wcs_sandbox.html.
141 # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files
142 # so that we don't double include error.js and plugin_settings.js.
143 '<@(remoting_webapp_js_wcs_sandbox_files)',
144 # JS files referenced in mainfest.json.
145 '<@(remoting_webapp_js_auth_v1_files)',
[email protected]af2d58182014-01-25 01:21:42146 ],
147
148 'remoting_webapp_resource_files': [
149 'resources/disclosure_arrow_down.webp',
150 'resources/disclosure_arrow_right.webp',
151 'resources/host_setup_instructions.webp',
152 'resources/icon_cross.webp',
153 'resources/icon_host.webp',
154 'resources/icon_pencil.webp',
155 'resources/icon_warning.webp',
156 'resources/infographic_my_computers.webp',
157 'resources/infographic_remote_assistance.webp',
158 'resources/plus.webp',
159 'resources/reload.webp',
160 'resources/tick.webp',
[email protected]af2d58182014-01-25 01:21:42161 'webapp/connection_stats.css',
162 'webapp/main.css',
[email protected]af2d58182014-01-25 01:21:42163 'webapp/menu_button.css',
164 'webapp/open_sans.css',
165 'webapp/open_sans.woff',
166 'webapp/scale-to-fit.webp',
167 'webapp/spinner.gif',
168 'webapp/toolbar.css',
[email protected]af2d58182014-01-25 01:21:42169 ],
170
171 'remoting_webapp_files': [
172 '<@(remoting_webapp_info_files)',
[email protected]cb896cc2014-02-20 00:35:31173 '<@(remoting_webapp_all_js_files)',
[email protected]af2d58182014-01-25 01:21:42174 '<@(remoting_webapp_resource_files)',
175 ],
[email protected]cb896cc2014-02-20 00:35:31176
177 # These template files are used to construct the webapp html files.
178 'remoting_webapp_template_main':
179 'webapp/html/template_main.html',
180
181 'remoting_webapp_template_wcs_sandbox':
182 'webapp/html/template_wcs_sandbox.html',
183
184 'remoting_webapp_template_files': [
185 'webapp/html/butterbar.html',
[email protected]95489032014-02-25 13:58:04186 'webapp/html/client_plugin.html',
[email protected]cb896cc2014-02-20 00:35:31187 'webapp/html/dialog_auth.html',
[email protected]95489032014-02-25 13:58:04188 'webapp/html/dialog_client_connect_failed.html',
189 'webapp/html/dialog_client_connecting.html',
[email protected]cb896cc2014-02-20 00:35:31190 'webapp/html/dialog_client_host_needs_upgrade.html',
[email protected]cb896cc2014-02-20 00:35:31191 'webapp/html/dialog_client_pin_prompt.html',
192 'webapp/html/dialog_client_session_finished.html',
193 'webapp/html/dialog_client_third_party_auth.html',
194 'webapp/html/dialog_client_unconnected.html',
195 'webapp/html/dialog_confirm_host_delete.html',
196 'webapp/html/dialog_connection_history.html',
197 'webapp/html/dialog_host.html',
198 'webapp/html/dialog_host_install.html',
199 'webapp/html/dialog_host_setup.html',
200 'webapp/html/dialog_manage_pairings.html',
201 'webapp/html/dialog_token_refresh_failed.html',
202 'webapp/html/toolbar.html',
203 'webapp/html/ui_header.html',
204 'webapp/html/ui_it2me.html',
205 'webapp/html/ui_me2me.html',
206 ],
207
[email protected]af2d58182014-01-25 01:21:42208 },
209}