cc: Skip commit state timer on sync compositor
[chromium-blink-merge.git] / remoting / remoting_webapp_files.gypi
blob1a74de7c4225743312daf2fb5d00481cdf22ac75
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/media_source_renderer.js',
50       'webapp/session_connector.js',
51     ],
52     # Remoting core JavaScript files.
53     'remoting_webapp_js_core_files': [
54       'webapp/error.js',
55       'webapp/event_handlers.js',
56       'webapp/plugin_settings.js',
57       # TODO(garykac) Split out UI client stuff from remoting.js.
58       'webapp/remoting.js',
59       'webapp/typecheck.js',
60       'webapp/xhr.js',
61     ],
62     # Host JavaScript files.
63     # Includes both it2me and me2me files.
64     'remoting_webapp_js_host_files': [
65       'webapp/host_controller.js',
66       'webapp/host_dispatcher.js',
67       'webapp/host_it2me_dispatcher.js',
68       'webapp/host_it2me_native_messaging.js',
69       'webapp/host_native_messaging.js',
70       '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',
83       'webapp/l10n.js',
84       'webapp/menu_button.js',
85       'webapp/ui_mode.js',
86       'webapp/toolbar.js',
87     ],
88     # UI files for controlling the local machine as a host.
89     'remoting_webapp_js_ui_host_control_files': [
90       'webapp/host_screen.js',
91       'webapp/host_setup_dialog.js',
92       'webapp/host_install_dialog.js',
93       'webapp/paired_client_manager.js',
94     ],
95     # UI files for displaying (in the client) info about available hosts.
96     'remoting_webapp_js_ui_host_display_files': [
97       'webapp/host.js',
98       'webapp/host_list.js',
99       'webapp/host_settings.js',
100       'webapp/host_table_entry.js',
101     ],
102     # Remoting WCS container JavaScript files.
103     'remoting_webapp_js_wcs_container_files': [
104       'webapp/wcs_sandbox_container.js',
105     ],
106     # Remoting WCS sandbox JavaScript files.
107     'remoting_webapp_js_wcs_sandbox_files': [
108       'webapp/wcs.js',
109       'webapp/wcs_loader.js',
110       'webapp/wcs_sandbox_content.js',
111       'webapp/xhr_proxy.js',
112     ],
113     # gnubby authentication JavaScript files.
114     'remoting_webapp_js_gnubby_auth_files': [
115       'webapp/gnubby_auth_handler.js',
116     ],
117     # The JavaScript files required by main.html.
118     'remoting_webapp_main_html_js_files': [
119       '<@(remoting_webapp_js_auth_client2host_files)',
120       '<@(remoting_webapp_js_auth_google_files)',
121       '<@(remoting_webapp_js_client_files)',
122       '<@(remoting_webapp_js_core_files)',
123       '<@(remoting_webapp_js_gnubby_auth_files)',
124       '<@(remoting_webapp_js_host_files)',
125       '<@(remoting_webapp_js_logging_files)',
126       '<@(remoting_webapp_js_ui_files)',
127       '<@(remoting_webapp_js_ui_host_control_files)',
128       '<@(remoting_webapp_js_ui_host_display_files)',
129       '<@(remoting_webapp_js_wcs_container_files)',
130     ],
132     # The JavaScript files required by wcs_sandbox.html.
133     'remoting_webapp_wcs_sandbox_html_js_files': [
134       '<@(remoting_webapp_js_wcs_sandbox_files)',
135       'webapp/error.js',
136       'webapp/plugin_settings.js',
137     ],
139     # All the JavaScript files required by the webapp.
140     'remoting_webapp_all_js_files': [
141       # JS files for main.html.
142       '<@(remoting_webapp_main_html_js_files)',
143       # JS files for wcs_sandbox.html.
144       # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files
145       # so that we don't double include error.js and plugin_settings.js.
146       '<@(remoting_webapp_js_wcs_sandbox_files)',
147       # JS files referenced in mainfest.json.
148       '<@(remoting_webapp_js_auth_v1_files)',
149     ],
151     'remoting_webapp_resource_files': [
152       'resources/disclosure_arrow_down.webp',
153       'resources/disclosure_arrow_right.webp',
154       'resources/host_setup_instructions.webp',
155       'resources/icon_cross.webp',
156       'resources/icon_host.webp',
157       'resources/icon_pencil.webp',
158       'resources/icon_warning.webp',
159       'resources/infographic_my_computers.webp',
160       'resources/infographic_remote_assistance.webp',
161       'resources/plus.webp',
162       'resources/reload.webp',
163       'resources/tick.webp',
164       'webapp/connection_stats.css',
165       'webapp/main.css',
166       'webapp/menu_button.css',
167       'webapp/open_sans.css',
168       'webapp/open_sans.woff',
169       'webapp/scale-to-fit.webp',
170       'webapp/spinner.gif',
171       'webapp/toolbar.css',
172     ],
174     'remoting_webapp_files': [
175       '<@(remoting_webapp_info_files)',
176       '<@(remoting_webapp_all_js_files)',
177       '<@(remoting_webapp_resource_files)',
178     ],
180     # These template files are used to construct the webapp html files.
181     'remoting_webapp_template_main':
182       'webapp/html/template_main.html',
184     'remoting_webapp_template_wcs_sandbox':
185       'webapp/html/template_wcs_sandbox.html',
187     'remoting_webapp_template_files': [
188       'webapp/html/butterbar.html',
189       'webapp/html/client_plugin.html',
190       'webapp/html/dialog_auth.html',
191       'webapp/html/dialog_client_connect_failed.html',
192       'webapp/html/dialog_client_connecting.html',
193       'webapp/html/dialog_client_host_needs_upgrade.html',
194       'webapp/html/dialog_client_pin_prompt.html',
195       'webapp/html/dialog_client_session_finished.html',
196       'webapp/html/dialog_client_third_party_auth.html',
197       'webapp/html/dialog_client_unconnected.html',
198       'webapp/html/dialog_confirm_host_delete.html',
199       'webapp/html/dialog_connection_history.html',
200       'webapp/html/dialog_host.html',
201       'webapp/html/dialog_host_install.html',
202       'webapp/html/dialog_host_setup.html',
203       'webapp/html/dialog_manage_pairings.html',
204       'webapp/html/dialog_token_refresh_failed.html',
205       'webapp/html/toolbar.html',
206       'webapp/html/ui_header.html',
207       'webapp/html/ui_it2me.html',
208       'webapp/html/ui_me2me.html',
209     ],
211   },