[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 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. |
| 4 | |
| 5 | { |
| 6 | 'variables': { |
| 7 | 'remoting_webapp_info_files': [ |
| 8 | 'resources/chromoting16.webp', |
| 9 | 'resources/chromoting48.webp', |
| 10 | 'resources/chromoting128.webp', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 11 | ], |
| 12 | |
[email protected] | cbc8bb0 | 2014-01-28 18:01:53 | [diff] [blame] | 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 | ], |
| 21 | |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 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 | ], |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 29 | # Auth (client to host) JavaScript files. |
| 30 | 'remoting_webapp_js_auth_client2host_files': [ |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 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': [ |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 36 | 'webapp/identity.js', |
| 37 | 'webapp/oauth2.js', |
| 38 | 'webapp/oauth2_api.js', |
| 39 | ], |
[email protected] | fd146835 | 2014-02-06 10:38:47 | [diff] [blame] | 40 | # Client JavaScript files. |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 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', |
[email protected] | fd146835 | 2014-02-06 10:38:47 | [diff] [blame] | 49 | 'webapp/media_source_renderer.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 50 | 'webapp/session_connector.js', |
[email protected] | bf7e952 | 2014-05-01 23:48:55 | [diff] [blame] | 51 | 'webapp/smart_reconnector.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 52 | ], |
| 53 | # Remoting core JavaScript files. |
| 54 | 'remoting_webapp_js_core_files': [ |
[email protected] | f8881a7 | 2014-04-25 08:55:18 | [diff] [blame] | 55 | 'webapp/base.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 56 | '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] | ef2f6338 | 2014-02-12 22:50:38 | [diff] [blame] | 61 | 'webapp/typecheck.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 62 | 'webapp/xhr.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 63 | ], |
| 64 | # Host JavaScript files. |
| 65 | # Includes both it2me and me2me files. |
| 66 | 'remoting_webapp_js_host_files': [ |
| 67 | 'webapp/host_controller.js', |
| 68 | 'webapp/host_dispatcher.js', |
[email protected] | e71c1b5 | 2014-02-02 06:11:05 | [diff] [blame] | 69 | 'webapp/host_it2me_dispatcher.js', |
| 70 | 'webapp/host_it2me_native_messaging.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 71 | 'webapp/host_native_messaging.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', |
[email protected] | 3febebe | 2014-04-30 21:07:27 | [diff] [blame] | 85 | 'webapp/feedback.js', |
| 86 | 'webapp/fullscreen.js', |
| 87 | 'webapp/fullscreen_v1.js', |
| 88 | 'webapp/fullscreen_v2.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 89 | 'webapp/l10n.js', |
| 90 | 'webapp/menu_button.js', |
| 91 | 'webapp/ui_mode.js', |
| 92 | 'webapp/toolbar.js', |
[email protected] | f733f26 | 2014-05-14 06:10:16 | [diff] [blame^] | 93 | 'webapp/window_frame.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 94 | ], |
| 95 | # UI files for controlling the local machine as a host. |
| 96 | 'remoting_webapp_js_ui_host_control_files': [ |
| 97 | 'webapp/host_screen.js', |
| 98 | 'webapp/host_setup_dialog.js', |
[email protected] | 0564f8a | 2014-02-06 02:29:14 | [diff] [blame] | 99 | 'webapp/host_install_dialog.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 100 | 'webapp/paired_client_manager.js', |
| 101 | ], |
| 102 | # UI files for displaying (in the client) info about available hosts. |
| 103 | 'remoting_webapp_js_ui_host_display_files': [ |
| 104 | 'webapp/host.js', |
| 105 | 'webapp/host_list.js', |
| 106 | 'webapp/host_settings.js', |
| 107 | 'webapp/host_table_entry.js', |
| 108 | ], |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 109 | # Remoting WCS container JavaScript files. |
| 110 | 'remoting_webapp_js_wcs_container_files': [ |
| 111 | 'webapp/wcs_sandbox_container.js', |
| 112 | ], |
| 113 | # Remoting WCS sandbox JavaScript files. |
| 114 | 'remoting_webapp_js_wcs_sandbox_files': [ |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 115 | 'webapp/wcs.js', |
| 116 | 'webapp/wcs_loader.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 117 | 'webapp/wcs_sandbox_content.js', |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 118 | 'webapp/xhr_proxy.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 119 | ], |
[email protected] | de101e1 | 2014-02-27 04:12:08 | [diff] [blame] | 120 | # gnubby authentication JavaScript files. |
| 121 | 'remoting_webapp_js_gnubby_auth_files': [ |
| 122 | 'webapp/gnubby_auth_handler.js', |
| 123 | ], |
[email protected] | 4eacd67 | 2014-05-09 06:58:23 | [diff] [blame] | 124 | # browser test JavaScript files. |
| 125 | 'remoting_webapp_js_browser_test_files': [ |
| 126 | 'webapp/browser_test/browser_test.js', |
[email protected] | e168070 | 2014-05-14 03:09:01 | [diff] [blame] | 127 | 'webapp/browser_test/cancel_pin_browser_test.js', |
| 128 | 'webapp/browser_test/invalid_pin_browser_test.js', |
| 129 | 'webapp/browser_test/update_pin_browser_test.js', |
[email protected] | 4eacd67 | 2014-05-09 06:58:23 | [diff] [blame] | 130 | ], |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 131 | # The JavaScript files required by main.html. |
| 132 | 'remoting_webapp_main_html_js_files': [ |
[email protected] | f8881a7 | 2014-04-25 08:55:18 | [diff] [blame] | 133 | # Include the core files first as it is required by the other files. |
| 134 | # Otherwise, Jscompile will complain. |
| 135 | '<@(remoting_webapp_js_core_files)', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 136 | '<@(remoting_webapp_js_auth_client2host_files)', |
| 137 | '<@(remoting_webapp_js_auth_google_files)', |
| 138 | '<@(remoting_webapp_js_client_files)', |
[email protected] | de101e1 | 2014-02-27 04:12:08 | [diff] [blame] | 139 | '<@(remoting_webapp_js_gnubby_auth_files)', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 140 | '<@(remoting_webapp_js_host_files)', |
| 141 | '<@(remoting_webapp_js_logging_files)', |
| 142 | '<@(remoting_webapp_js_ui_files)', |
| 143 | '<@(remoting_webapp_js_ui_host_control_files)', |
| 144 | '<@(remoting_webapp_js_ui_host_display_files)', |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 145 | '<@(remoting_webapp_js_wcs_container_files)', |
[email protected] | 4eacd67 | 2014-05-09 06:58:23 | [diff] [blame] | 146 | # Uncomment this line to include browser test files in the web app |
| 147 | # to expedite debugging or local development. |
| 148 | # '<@(remoting_webapp_js_browser_test_files)' |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 149 | ], |
| 150 | |
| 151 | # The JavaScript files required by wcs_sandbox.html. |
| 152 | 'remoting_webapp_wcs_sandbox_html_js_files': [ |
| 153 | '<@(remoting_webapp_js_wcs_sandbox_files)', |
| 154 | 'webapp/error.js', |
| 155 | 'webapp/plugin_settings.js', |
| 156 | ], |
| 157 | |
| 158 | # All the JavaScript files required by the webapp. |
| 159 | 'remoting_webapp_all_js_files': [ |
| 160 | # JS files for main.html. |
| 161 | '<@(remoting_webapp_main_html_js_files)', |
| 162 | # JS files for wcs_sandbox.html. |
| 163 | # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files |
| 164 | # so that we don't double include error.js and plugin_settings.js. |
| 165 | '<@(remoting_webapp_js_wcs_sandbox_files)', |
| 166 | # JS files referenced in mainfest.json. |
| 167 | '<@(remoting_webapp_js_auth_v1_files)', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 168 | ], |
| 169 | |
| 170 | 'remoting_webapp_resource_files': [ |
| 171 | 'resources/disclosure_arrow_down.webp', |
| 172 | 'resources/disclosure_arrow_right.webp', |
[email protected] | f733f26 | 2014-05-14 06:10:16 | [diff] [blame^] | 173 | 'resources/drag.webp', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 174 | 'resources/host_setup_instructions.webp', |
[email protected] | f733f26 | 2014-05-14 06:10:16 | [diff] [blame^] | 175 | 'resources/icon_close.webp', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 176 | 'resources/icon_cross.webp', |
[email protected] | f733f26 | 2014-05-14 06:10:16 | [diff] [blame^] | 177 | 'resources/icon_disconnect.webp', |
[email protected] | ef16f93 | 2014-04-16 09:41:58 | [diff] [blame] | 178 | 'resources/icon_help.webp', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 179 | 'resources/icon_host.webp', |
[email protected] | f733f26 | 2014-05-14 06:10:16 | [diff] [blame^] | 180 | 'resources/icon_maximize_restore.webp', |
| 181 | 'resources/icon_minimize.webp', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 182 | 'resources/icon_pencil.webp', |
| 183 | 'resources/icon_warning.webp', |
| 184 | 'resources/infographic_my_computers.webp', |
| 185 | 'resources/infographic_remote_assistance.webp', |
| 186 | 'resources/plus.webp', |
| 187 | 'resources/reload.webp', |
| 188 | 'resources/tick.webp', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 189 | 'webapp/connection_stats.css', |
| 190 | 'webapp/main.css', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 191 | 'webapp/menu_button.css', |
| 192 | 'webapp/open_sans.css', |
| 193 | 'webapp/open_sans.woff', |
| 194 | 'webapp/scale-to-fit.webp', |
| 195 | 'webapp/spinner.gif', |
| 196 | 'webapp/toolbar.css', |
[email protected] | f733f26 | 2014-05-14 06:10:16 | [diff] [blame^] | 197 | 'webapp/window_frame.css', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 198 | ], |
| 199 | |
| 200 | 'remoting_webapp_files': [ |
| 201 | '<@(remoting_webapp_info_files)', |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 202 | '<@(remoting_webapp_all_js_files)', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 203 | '<@(remoting_webapp_resource_files)', |
| 204 | ], |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 205 | |
| 206 | # These template files are used to construct the webapp html files. |
| 207 | 'remoting_webapp_template_main': |
| 208 | 'webapp/html/template_main.html', |
| 209 | |
| 210 | 'remoting_webapp_template_wcs_sandbox': |
| 211 | 'webapp/html/template_wcs_sandbox.html', |
| 212 | |
| 213 | 'remoting_webapp_template_files': [ |
| 214 | 'webapp/html/butterbar.html', |
[email protected] | 9548903 | 2014-02-25 13:58:04 | [diff] [blame] | 215 | 'webapp/html/client_plugin.html', |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 216 | 'webapp/html/dialog_auth.html', |
[email protected] | 9548903 | 2014-02-25 13:58:04 | [diff] [blame] | 217 | 'webapp/html/dialog_client_connect_failed.html', |
| 218 | 'webapp/html/dialog_client_connecting.html', |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 219 | 'webapp/html/dialog_client_host_needs_upgrade.html', |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 220 | 'webapp/html/dialog_client_pin_prompt.html', |
| 221 | 'webapp/html/dialog_client_session_finished.html', |
| 222 | 'webapp/html/dialog_client_third_party_auth.html', |
| 223 | 'webapp/html/dialog_client_unconnected.html', |
| 224 | 'webapp/html/dialog_confirm_host_delete.html', |
| 225 | 'webapp/html/dialog_connection_history.html', |
| 226 | 'webapp/html/dialog_host.html', |
| 227 | 'webapp/html/dialog_host_install.html', |
| 228 | 'webapp/html/dialog_host_setup.html', |
| 229 | 'webapp/html/dialog_manage_pairings.html', |
| 230 | 'webapp/html/dialog_token_refresh_failed.html', |
| 231 | 'webapp/html/toolbar.html', |
| 232 | 'webapp/html/ui_header.html', |
| 233 | 'webapp/html/ui_it2me.html', |
| 234 | 'webapp/html/ui_me2me.html', |
[email protected] | f733f26 | 2014-05-14 06:10:16 | [diff] [blame^] | 235 | 'webapp/html/window_frame.html', |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 236 | ], |
| 237 | |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 238 | }, |
| 239 | } |