[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 | |
garykac | ed09d9af | 2015-04-28 22:28:14 | [diff] [blame] | 5 | # `7MM"""Mq. `7MM |
| 6 | # MM `MM. MM |
| 7 | # MM ,M9 .gP"Ya ,6"Yb. ,M""bMM `7MMpMMMb.pMMMb. .gP"Ya |
| 8 | # MMmmdM9 ,M' Yb 8) MM ,AP MM MM MM MM ,M' Yb |
| 9 | # MM YM. 8M"""""" ,pm9MM 8MI MM MM MM MM 8M"""""" |
| 10 | # MM `Mb.YM. , 8M MM `Mb MM MM MM MM YM. , |
| 11 | # .JMML. .JMM.`Mbmmd' `Moo9^Yo.`Wbmd"MML..JMML JMML JMML.`Mbmmd' |
| 12 | # |
| 13 | # Please keep this file in sync with remoting/webapp/files.gni. |
garykac | 3eddb5b | 2015-04-17 23:16:38 | [diff] [blame] | 14 | |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 15 | { |
| 16 | 'variables': { |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 17 | |
jhawkins | 13c5c463 | 2015-06-22 18:39:54 | [diff] [blame] | 18 | # JSCompiler externs. |
| 19 | 'remoting_webapp_js_externs_files': [ |
| 20 | 'webapp/externs/qunit.js', |
| 21 | ], |
| 22 | |
[email protected] | cbc8bb0 | 2014-01-28 18:01:53 | [diff] [blame] | 23 | # Jscompile proto files. |
| 24 | # These provide type information for jscompile. |
| 25 | 'remoting_webapp_js_proto_files': [ |
| 26 | 'webapp/js_proto/chrome_proto.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 27 | 'webapp/js_proto/chrome_cast_proto.js', |
[email protected] | cbc8bb0 | 2014-01-28 18:01:53 | [diff] [blame] | 28 | 'webapp/js_proto/dom_proto.js', |
| 29 | 'webapp/js_proto/remoting_proto.js', |
| 30 | ], |
| 31 | |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 32 | # |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 33 | # Webapp browsertest JavaScript files. |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 34 | # |
| 35 | |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 36 | # Browser test files. |
| 37 | 'remoting_webapp_browsertest_js_files': [ |
| 38 | 'webapp/browser_test/browser_test.js', |
| 39 | 'webapp/browser_test/bump_scroll_browser_test.js', |
| 40 | 'webapp/browser_test/cancel_pin_browser_test.js', |
| 41 | 'webapp/browser_test/invalid_pin_browser_test.js', |
| 42 | 'webapp/browser_test/it2me_browser_test.js', |
kelvinp | bbaef9c2 | 2015-05-07 02:11:35 | [diff] [blame] | 43 | 'webapp/browser_test/me2me_browser_test.js', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 44 | 'webapp/browser_test/scrollbar_browser_test.js', |
| 45 | 'webapp/browser_test/timeout_waiter.js', |
| 46 | 'webapp/browser_test/unauthenticated_browser_test.js', |
| 47 | 'webapp/browser_test/update_pin_browser_test.js', |
| 48 | ], |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 49 | # Browser test files. |
| 50 | 'remoting_webapp_browsertest_js_mock_files': [ |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 51 | 'webapp/crd/js/mock_client_plugin.js', |
| 52 | 'webapp/crd/js/mock_host_list_api.js', |
| 53 | 'webapp/crd/js/mock_identity.js', |
| 54 | 'webapp/crd/js/mock_oauth2_api.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 55 | 'webapp/crd/js/mock_signal_strategy.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 56 | ], |
| 57 | 'remoting_webapp_browsertest_js_proto_files': [ |
| 58 | 'webapp/js_proto/sinon_proto.js', |
| 59 | 'webapp/js_proto/test_proto.js', |
| 60 | '<@(remoting_webapp_js_proto_files)', |
| 61 | ], |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 62 | 'remoting_webapp_browsertest_all_js_files': [ |
| 63 | '<@(remoting_webapp_browsertest_js_files)', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 64 | '<@(remoting_webapp_browsertest_js_mock_files)', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 65 | ], |
kelvinp | 14c5971 | 2015-04-29 05:20:43 | [diff] [blame] | 66 | 'remoting_webapp_browsertest_main_html_extra_files': [ |
| 67 | '<@(remoting_webapp_browsertest_all_js_files)', |
| 68 | '../third_party/sinonjs/src/sinon.js', |
| 69 | ], |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 70 | |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 71 | # |
| 72 | # Webapp unittest JavaScript files. |
| 73 | # |
| 74 | |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 75 | # These product files are excluded from our JavaScript unittest |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 76 | 'remoting_webapp_unittests_exclude_js_files': [ |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 77 | # background.js is where the onLoad handler is defined, which |
| 78 | # makes it the entry point of the background page. |
| 79 | 'webapp/crd/js/background.js', |
| 80 | ], |
| 81 | # The unit test cases for the webapp |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 82 | 'remoting_webapp_unittests_js_files': [ |
jrw | 7829d55 | 2015-03-14 00:16:38 | [diff] [blame] | 83 | # TODO(jrw): Move spy_promise to base. |
| 84 | 'webapp/unittests/spy_promise.js', |
| 85 | 'webapp/unittests/spy_promise_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 86 | 'webapp/base/js/base_unittest.js', |
| 87 | 'webapp/base/js/base_event_hook_unittest.js', |
kelvinp | 718f4e8 | 2015-03-20 23:19:47 | [diff] [blame] | 88 | 'webapp/base/js/base_inherits_unittest.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 89 | 'webapp/base/js/client_session_unittest.js', |
| 90 | 'webapp/base/js/client_session_factory_unittest.js', |
| 91 | 'webapp/base/js/dns_blackhole_checker_unittest.js', |
| 92 | 'webapp/base/js/error_unittest.js', |
| 93 | 'webapp/base/js/fallback_signal_strategy_unittest.js', |
| 94 | 'webapp/base/js/identity_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 95 | 'webapp/base/js/ipc_unittest.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 96 | 'webapp/base/js/l10n_unittest.js', |
kelvinp | e989257af | 2015-06-06 02:56:42 | [diff] [blame] | 97 | 'webapp/base/js/platform_unittest.js', |
kelvinp | 25f89e58 | 2015-04-08 01:20:50 | [diff] [blame] | 98 | 'webapp/base/js/protocol_extension_manager_unittest.js', |
kelvinp | f2c15c3 | 2015-06-25 21:31:29 | [diff] [blame^] | 99 | 'webapp/base/js/telemetry_event_writer_unittest.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 100 | 'webapp/base/js/typecheck_unittest.js', |
garykac | 828a33d | 2015-04-27 16:23:50 | [diff] [blame] | 101 | 'webapp/base/js/viewport_unittest.js', |
kelvinp | 41b04f3 | 2015-05-19 18:51:32 | [diff] [blame] | 102 | 'webapp/base/js/window_shape_unittest.js', |
weitaosu | 574f304 | 2015-06-23 22:55:56 | [diff] [blame] | 103 | 'webapp/base/js/window_message_dispatcher_unittest.js', |
kelvinp | e0e0c0d | 2015-06-18 17:57:16 | [diff] [blame] | 104 | 'webapp/base/js/xhr_event_writer_unittest.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 105 | 'webapp/base/js/xhr_unittest.js', |
| 106 | 'webapp/base/js/xmpp_connection_unittest.js', |
| 107 | 'webapp/base/js/xmpp_login_handler_unittest.js', |
| 108 | 'webapp/base/js/xmpp_stream_parser_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 109 | 'webapp/crd/js/apps_v2_migration_unittest.js', |
jrw | 12e3cb3 | 2015-03-31 00:58:14 | [diff] [blame] | 110 | 'webapp/crd/js/gcd_client_unittest.js', |
jrw | 58e816f0 | 2015-04-07 19:59:12 | [diff] [blame] | 111 | 'webapp/crd/js/gcd_client_with_mock_xhr_unittest.js', |
jrw | f326e5a | 2015-04-09 20:20:49 | [diff] [blame] | 112 | 'webapp/crd/js/host_controller_unittest.js', |
jrw | 133be79 | 2015-04-08 01:12:28 | [diff] [blame] | 113 | 'webapp/crd/js/host_daemon_facade_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 114 | 'webapp/crd/js/host_table_entry_unittest.js', |
jrw | 5ffa27c | 2015-06-10 22:56:24 | [diff] [blame] | 115 | 'webapp/crd/js/legacy_host_list_api_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 116 | 'webapp/crd/js/menu_button_unittest.js', |
jrw | 58e816f0 | 2015-04-07 19:59:12 | [diff] [blame] | 117 | 'webapp/crd/js/mock_xhr_unittest.js', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 118 | ], |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 119 | 'remoting_webapp_unittests_js_mock_files': [ |
kelvinp | 2c5de34 | 2015-04-20 18:52:01 | [diff] [blame] | 120 | 'webapp/crd/js/mock_client_plugin.js', |
jrw | f326e5a | 2015-04-09 20:20:49 | [diff] [blame] | 121 | 'webapp/crd/js/mock_host_daemon_facade.js', |
jrw | 300af59 | 2015-04-18 02:10:28 | [diff] [blame] | 122 | 'webapp/crd/js/mock_host_list_api.js', |
| 123 | 'webapp/crd/js/mock_identity.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 124 | 'webapp/crd/js/mock_signal_strategy.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 125 | 'webapp/js_proto/chrome_mocks.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 126 | 'webapp/unittests/sinon_helpers.js', |
jrw | 58e816f0 | 2015-04-07 19:59:12 | [diff] [blame] | 127 | 'webapp/crd/js/mock_xhr.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 128 | ], |
| 129 | # Prototypes for objects that are not mocked. |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 130 | 'remoting_webapp_unittests_js_proto_files': [ |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 131 | 'webapp/js_proto/chrome_cast_proto.js', |
kelvinp | 1a8d5b2 | 2015-05-26 21:32:52 | [diff] [blame] | 132 | 'webapp/js_proto/chrome_proto.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 133 | 'webapp/js_proto/dom_proto.js', |
| 134 | 'webapp/js_proto/remoting_proto.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 135 | 'webapp/js_proto/sinon_proto.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 136 | ], |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 137 | 'remoting_webapp_unittests_all_js_files': [ |
| 138 | '<@(remoting_webapp_unittests_js_files)', |
| 139 | '<@(remoting_webapp_unittests_js_mock_files)', |
kelvinp | 1a8d5b2 | 2015-05-26 21:32:52 | [diff] [blame] | 140 | 'webapp/unittests/qunit_callbacks.js', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 141 | ], |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 142 | # All the files needed to run the unittests. |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 143 | 'remoting_webapp_unittests_all_files': [ |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 144 | 'webapp/crd/html/menu_button.css', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 145 | '<@(remoting_webapp_unittests_all_js_files)', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 146 | ], |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 147 | 'remoting_webapp_unittests_template_main': |
| 148 | 'webapp/crd/html/template_unittests.html', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 149 | |
| 150 | # |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 151 | # Shared webapp JavaScript file groups. |
| 152 | # |
| 153 | |
| 154 | # Auth (Google account) JavaScript files. |
| 155 | 'remoting_webapp_shared_js_auth_google_files': [ |
| 156 | 'webapp/base/js/auth_init.js', |
| 157 | 'webapp/base/js/identity.js', |
| 158 | 'webapp/base/js/oauth2.js', |
| 159 | 'webapp/base/js/oauth2_api.js', |
| 160 | 'webapp/base/js/oauth2_api_impl.js', |
| 161 | ], |
| 162 | # Client JavaScript files. |
| 163 | 'remoting_webapp_shared_js_client_files': [ |
| 164 | 'webapp/base/js/activity.js', |
| 165 | 'webapp/base/js/client_plugin.js', |
| 166 | 'webapp/base/js/client_plugin_host_desktop_impl.js', |
| 167 | 'webapp/base/js/client_plugin_impl.js', |
| 168 | 'webapp/base/js/client_session.js', |
| 169 | 'webapp/base/js/client_session_factory.js', |
| 170 | 'webapp/base/js/clipboard.js', |
| 171 | 'webapp/base/js/connected_view.js', |
| 172 | 'webapp/base/js/connection_info.js', |
| 173 | 'webapp/base/js/credentials_provider.js', |
| 174 | 'webapp/base/js/host_desktop.js', |
| 175 | 'webapp/base/js/smart_reconnector.js', |
kelvinp | f2c15c3 | 2015-06-25 21:31:29 | [diff] [blame^] | 176 | 'webapp/base/js/telemetry_event_writer.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 177 | ], |
| 178 | # Remoting core JavaScript files. |
| 179 | 'remoting_webapp_shared_js_core_files': [ |
phoglund | 6235553 | 2015-06-17 08:44:33 | [diff] [blame] | 180 | 'webapp/base/js/app_capabilities.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 181 | 'webapp/base/js/application.js', |
| 182 | 'webapp/base/js/base.js', |
| 183 | 'webapp/base/js/ipc.js', |
| 184 | 'webapp/base/js/modal_dialogs.js', |
| 185 | 'webapp/base/js/platform.js', |
| 186 | 'webapp/base/js/protocol_extension_manager.js', |
| 187 | 'webapp/base/js/protocol_extension.js', |
| 188 | 'webapp/base/js/error.js', |
| 189 | 'webapp/base/js/plugin_settings.js', |
kelvinp | 2a8128f | 2015-05-27 00:54:01 | [diff] [blame] | 190 | 'webapp/base/js/suspend_detector.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 191 | 'webapp/base/js/typecheck.js', |
weitaosu | 574f304 | 2015-06-23 22:55:56 | [diff] [blame] | 192 | 'webapp/base/js/window_message_dispatcher.js', |
kelvinp | e0e0c0d | 2015-06-18 17:57:16 | [diff] [blame] | 193 | 'webapp/base/js/xhr_event_writer.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 194 | 'webapp/base/js/xhr.js', |
| 195 | ], |
| 196 | # Host JavaScript files. |
| 197 | 'remoting_webapp_shared_js_host_files': [ |
| 198 | 'webapp/base/js/host.js', |
| 199 | 'webapp/base/js/host_settings.js', |
| 200 | ], |
| 201 | # Logging and stats JavaScript files. |
| 202 | 'remoting_webapp_shared_js_logging_files': [ |
kelvinp | c41125a | 2015-06-25 20:20:41 | [diff] [blame] | 203 | 'webapp/base/js/chromoting_event.js', |
| 204 | 'webapp/base/js/logger.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 205 | 'webapp/base/js/format_iq.js', |
| 206 | 'webapp/base/js/log_to_server.js', |
| 207 | 'webapp/base/js/server_log_entry.js', |
| 208 | 'webapp/base/js/stats_accumulator.js', |
| 209 | ], |
| 210 | # Remoting signaling files. |
| 211 | 'remoting_webapp_shared_js_signaling_files': [ |
| 212 | 'webapp/base/js/dns_blackhole_checker.js', |
| 213 | 'webapp/base/js/fallback_signal_strategy.js', |
| 214 | 'webapp/base/js/signal_strategy.js', |
| 215 | 'webapp/base/js/tcp_socket.js', |
| 216 | 'webapp/base/js/wcs_adapter.js', |
| 217 | 'webapp/base/js/wcs_sandbox_container.js', |
| 218 | 'webapp/base/js/xmpp_connection.js', |
| 219 | 'webapp/base/js/xmpp_login_handler.js', |
| 220 | 'webapp/base/js/xmpp_stream_parser.js', |
| 221 | ], |
| 222 | # Shared UI JavaScript files. |
| 223 | 'remoting_webapp_shared_js_ui_files': [ |
kelvinp | c1be511 | 2015-05-27 21:39:25 | [diff] [blame] | 224 | 'webapp/base/js/connection_dropped_dialog.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 225 | 'webapp/base/js/connection_stats.js', |
| 226 | 'webapp/base/js/l10n.js', |
| 227 | 'webapp/base/js/ui_mode.js', |
| 228 | 'webapp/base/js/viewport.js', |
| 229 | 'webapp/base/js/window_shape.js', |
| 230 | ], |
| 231 | |
| 232 | # |
| 233 | # DesktopRemoting webapp JavaScript file groups. |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 234 | # |
| 235 | |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 236 | # Auth (apps v1) JavaScript files. |
| 237 | # These files aren't included directly from main.html. They are |
| 238 | # referenced from the manifest.json file (appsv1 only). |
| 239 | 'remoting_webapp_js_auth_v1_files': [ |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 240 | 'webapp/crd/js/cs_third_party_auth_trampoline.js', # client to host |
| 241 | 'webapp/crd/js/cs_oauth2_trampoline.js', # Google account |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 242 | ], |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 243 | # Auth (client to host) JavaScript files. |
| 244 | 'remoting_webapp_js_auth_client2host_files': [ |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 245 | 'webapp/crd/js/third_party_host_permissions.js', |
| 246 | 'webapp/crd/js/third_party_token_fetcher.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 247 | ], |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 248 | # Cast extension handler JavaScript files. |
| 249 | 'remoting_webapp_js_cast_extension_files': [ |
| 250 | 'webapp/crd/js/cast_extension_handler.js', |
| 251 | ], |
[email protected] | fd146835 | 2014-02-06 10:38:47 | [diff] [blame] | 252 | # Client JavaScript files. |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 253 | 'remoting_webapp_js_client_files': [ |
kelvinp | ef56d87 | 2015-01-22 03:13:36 | [diff] [blame] | 254 | 'webapp/crd/js/apps_v2_migration.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 255 | 'webapp/crd/js/event_handlers.js', |
jrw | 12e3cb3 | 2015-03-31 00:58:14 | [diff] [blame] | 256 | 'webapp/crd/js/gcd_client.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 257 | 'webapp/crd/js/video_frame_recorder.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 258 | ], |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 259 | # Gnubby authentication JavaScript files. |
| 260 | 'remoting_webapp_js_gnubby_auth_files': [ |
| 261 | 'webapp/crd/js/gnubby_auth_handler.js', |
| 262 | ], |
garykac | 846c7c7 | 2014-12-19 23:36:14 | [diff] [blame] | 263 | # Files for controlling the local machine as a host. |
| 264 | # Includes both it2me and me2me files. |
| 265 | 'remoting_webapp_js_host_control_files': [ |
jamiewalch | 9ea60d8 | 2015-06-10 19:17:56 | [diff] [blame] | 266 | 'webapp/crd/js/buffered_signal_strategy.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 267 | 'webapp/crd/js/host_controller.js', |
| 268 | 'webapp/crd/js/host_daemon_facade.js', |
garykac | 846c7c7 | 2014-12-19 23:36:14 | [diff] [blame] | 269 | 'webapp/crd/js/host_screen.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 270 | 'webapp/crd/js/host_session.js', |
garykac | 846c7c7 | 2014-12-19 23:36:14 | [diff] [blame] | 271 | 'webapp/crd/js/host_setup_dialog.js', |
| 272 | 'webapp/crd/js/host_install_dialog.js', |
| 273 | 'webapp/crd/js/host_installer.js', |
| 274 | 'webapp/crd/js/it2me_host_facade.js', |
| 275 | 'webapp/crd/js/paired_client_manager.js', |
| 276 | ], |
| 277 | # Files for displaying (in the client) info about available hosts. |
| 278 | 'remoting_webapp_js_host_display_files': [ |
| 279 | 'webapp/crd/js/host_list.js', |
jamiewalch | b874952 | 2015-01-05 20:00:49 | [diff] [blame] | 280 | 'webapp/crd/js/host_list_api.js', |
garykac | 846c7c7 | 2014-12-19 23:36:14 | [diff] [blame] | 281 | 'webapp/crd/js/host_table_entry.js', |
kelvinp | f95677a | 2015-03-04 08:57:51 | [diff] [blame] | 282 | 'webapp/crd/js/local_host_section.js', |
jrw | 5ffa27c | 2015-06-10 22:56:24 | [diff] [blame] | 283 | |
| 284 | # Must come after host_list_api.js because of an issue with |
| 285 | # JSCompiler. If an implementation of an interface occurs in a |
| 286 | # file processed before the interface itself, the @override tag |
| 287 | # doesn't always work correctly. |
| 288 | 'webapp/crd/js/gcd_host_list_api.js', |
| 289 | 'webapp/crd/js/legacy_host_list_api.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 290 | ], |
garykac | 5b228c89 | 2015-04-28 01:03:07 | [diff] [blame] | 291 | # The CRD-specific JavaScript files required by main.html. |
| 292 | 'remoting_webapp_crd_js_ui_files': [ |
kelvinp | 1e259c47 | 2015-02-24 01:03:04 | [diff] [blame] | 293 | 'webapp/crd/js/bump_scroller.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 294 | 'webapp/crd/js/butter_bar.js', |
garykac | 5b228c89 | 2015-04-28 01:03:07 | [diff] [blame] | 295 | 'webapp/crd/js/crd_auth_dialog.js', |
| 296 | 'webapp/crd/js/crd_event_handlers.js', |
| 297 | 'webapp/crd/js/crd_experimental.js', |
| 298 | 'webapp/crd/js/desktop_connected_view.js', |
| 299 | 'webapp/crd/js/desktop_remoting.js', |
| 300 | 'webapp/crd/js/desktop_remoting_activity.js', |
kelvinp | 1e259c47 | 2015-02-24 01:03:04 | [diff] [blame] | 301 | 'webapp/crd/js/desktop_viewport.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 302 | 'webapp/crd/js/feedback.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 303 | 'webapp/crd/js/fullscreen.js', |
| 304 | 'webapp/crd/js/fullscreen_v1.js', |
| 305 | 'webapp/crd/js/fullscreen_v2.js', |
garykac | 5b228c89 | 2015-04-28 01:03:07 | [diff] [blame] | 306 | 'webapp/crd/js/it2me_activity.js', |
| 307 | 'webapp/crd/js/me2me_activity.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 308 | 'webapp/crd/js/menu_button.js', |
| 309 | 'webapp/crd/js/options_menu.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 310 | 'webapp/crd/js/toolbar.js', |
| 311 | 'webapp/crd/js/window_frame.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 312 | ], |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 313 | |
| 314 | # |
| 315 | # DesktopRemoting main.html generation files. |
| 316 | # |
| 317 | |
| 318 | 'remoting_webapp_template_main': |
| 319 | '<(DEPTH)/remoting/webapp/crd/html/template_main.html', |
[email protected] | 7848556 | 2014-06-23 21:12:45 | [diff] [blame] | 320 | |
garykac | 7b15ac05 | 2014-12-02 03:12:37 | [diff] [blame] | 321 | # The shared JavaScript files required by main.html. |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 322 | # These files are shared with the unittest target. |
garykac | 7b15ac05 | 2014-12-02 03:12:37 | [diff] [blame] | 323 | 'remoting_webapp_shared_main_html_js_files': [ |
[email protected] | f8881a7 | 2014-04-25 08:55:18 | [diff] [blame] | 324 | # Include the core files first as it is required by the other files. |
| 325 | # Otherwise, Jscompile will complain. |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 326 | '<@(remoting_webapp_shared_js_core_files)', |
| 327 | '<@(remoting_webapp_shared_js_auth_google_files)', |
| 328 | '<@(remoting_webapp_shared_js_client_files)', |
| 329 | '<@(remoting_webapp_shared_js_host_files)', |
| 330 | '<@(remoting_webapp_shared_js_logging_files)', |
| 331 | '<@(remoting_webapp_shared_js_signaling_files)', |
| 332 | '<@(remoting_webapp_shared_js_ui_files)', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 333 | '<@(remoting_webapp_js_auth_client2host_files)', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 334 | '<@(remoting_webapp_js_client_files)', |
[email protected] | de101e1 | 2014-02-27 04:12:08 | [diff] [blame] | 335 | '<@(remoting_webapp_js_gnubby_auth_files)', |
[email protected] | 2f4e73e | 2014-08-16 08:35:47 | [diff] [blame] | 336 | '<@(remoting_webapp_js_cast_extension_files)', |
garykac | 846c7c7 | 2014-12-19 23:36:14 | [diff] [blame] | 337 | '<@(remoting_webapp_js_host_control_files)', |
| 338 | '<@(remoting_webapp_js_host_display_files)', |
[email protected] | f34acc69 | 2014-08-12 22:47:14 | [diff] [blame] | 339 | ], |
| 340 | |
garykac | 5b228c89 | 2015-04-28 01:03:07 | [diff] [blame] | 341 | # The JS files required by unittest.html. |
| 342 | 'remoting_webapp_unittest_html_all_js_files': [ |
| 343 | '<@(remoting_webapp_shared_main_html_js_files)', |
| 344 | '<@(remoting_webapp_crd_js_ui_files)', |
| 345 | ], |
| 346 | |
garykac | 7b15ac05 | 2014-12-02 03:12:37 | [diff] [blame] | 347 | # The CRD-specific JavaScript files required by main.html. |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 348 | 'remoting_webapp_crd_main_html_all_js_files': [ |
| 349 | '<@(remoting_webapp_shared_main_html_js_files)', |
garykac | 5b228c89 | 2015-04-28 01:03:07 | [diff] [blame] | 350 | '<@(remoting_webapp_crd_js_ui_files)', |
garykac | 7b15ac05 | 2014-12-02 03:12:37 | [diff] [blame] | 351 | 'webapp/crd/js/crd_main.js', |
| 352 | ], |
| 353 | |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 354 | # These template files are used to construct main.html. |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 355 | 'remoting_webapp_template_files': [ |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 356 | 'webapp/base/html/client_plugin.html', |
Gary Kacmarcik | ac6b679f | 2014-11-13 20:52:17 | [diff] [blame] | 357 | 'webapp/crd/html/butter_bar.html', |
jamiewalch | d0bb0df | 2015-03-24 00:37:32 | [diff] [blame] | 358 | 'webapp/crd/html/dialog_auth.html', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 359 | 'webapp/crd/html/dialog_client_connect_failed.html', |
| 360 | 'webapp/crd/html/dialog_client_connecting.html', |
| 361 | 'webapp/crd/html/dialog_client_host_needs_upgrade.html', |
| 362 | 'webapp/crd/html/dialog_client_pin_prompt.html', |
| 363 | 'webapp/crd/html/dialog_client_session_finished.html', |
| 364 | 'webapp/crd/html/dialog_client_third_party_auth.html', |
| 365 | 'webapp/crd/html/dialog_client_unconnected.html', |
| 366 | 'webapp/crd/html/dialog_confirm_host_delete.html', |
| 367 | 'webapp/crd/html/dialog_connection_history.html', |
| 368 | 'webapp/crd/html/dialog_host.html', |
| 369 | 'webapp/crd/html/dialog_host_install.html', |
| 370 | 'webapp/crd/html/dialog_host_setup.html', |
| 371 | 'webapp/crd/html/dialog_manage_pairings.html', |
| 372 | 'webapp/crd/html/dialog_token_refresh_failed.html', |
| 373 | 'webapp/crd/html/toolbar.html', |
| 374 | 'webapp/crd/html/ui_header.html', |
| 375 | 'webapp/crd/html/ui_it2me.html', |
| 376 | 'webapp/crd/html/ui_me2me.html', |
| 377 | 'webapp/crd/html/window_frame.html', |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 378 | ], |
| 379 | |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 380 | # |
| 381 | # Webapp background.html generation files. |
| 382 | # |
| 383 | |
| 384 | 'remoting_webapp_template_background': |
| 385 | '<(DEPTH)/remoting/webapp/crd/html/template_background.html', |
| 386 | |
| 387 | # These JS files are specific to the background page and are not part of |
| 388 | # the main JS files. |
| 389 | 'remoting_webapp_background_html_js_files': [ |
| 390 | 'webapp/base/js/message_window_helper.js', |
| 391 | 'webapp/base/js/message_window_manager.js', |
| 392 | 'webapp/crd/js/activation_handler.js', |
| 393 | 'webapp/crd/js/app_launcher.js', |
| 394 | 'webapp/crd/js/background.js', |
| 395 | ], |
| 396 | |
| 397 | # All the JavaScript files required by background.html. |
| 398 | 'remoting_webapp_background_html_all_js_files': [ |
| 399 | '<@(remoting_webapp_background_html_js_files)', |
| 400 | 'webapp/base/js/base.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 401 | 'webapp/base/js/error.js', |
| 402 | 'webapp/base/js/identity.js', |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 403 | 'webapp/base/js/ipc.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 404 | 'webapp/base/js/l10n.js', |
| 405 | 'webapp/base/js/oauth2.js', |
| 406 | 'webapp/base/js/oauth2_api.js', |
| 407 | 'webapp/base/js/oauth2_api_impl.js', |
| 408 | 'webapp/base/js/plugin_settings.js', |
kelvinp | f2c15c3 | 2015-06-25 21:31:29 | [diff] [blame^] | 409 | 'webapp/base/js/telemetry_event_writer.js', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 410 | 'webapp/base/js/typecheck.js', |
| 411 | 'webapp/base/js/xhr.js', |
kelvinp | f2c15c3 | 2015-06-25 21:31:29 | [diff] [blame^] | 412 | 'webapp/base/js/xhr_event_writer.js', |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 413 | 'webapp/crd/js/host_installer.js', |
| 414 | 'webapp/crd/js/host_session.js', |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 415 | 'webapp/crd/js/it2me_host_facade.js', |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 416 | ], |
| 417 | |
| 418 | # |
| 419 | # Webapp wcs_sandbox.html generation files. |
| 420 | # |
| 421 | |
| 422 | 'remoting_webapp_template_wcs_sandbox': |
| 423 | '<(DEPTH)/remoting/webapp/base/html/template_wcs_sandbox.html', |
| 424 | |
| 425 | # These JS files are specific to the WCS sandbox page and are not part of |
| 426 | # the main JS files. |
| 427 | 'remoting_webapp_wcs_sandbox_html_js_files': [ |
| 428 | 'webapp/crd/js/wcs.js', |
| 429 | 'webapp/crd/js/wcs_loader.js', |
| 430 | 'webapp/crd/js/wcs_sandbox_content.js', |
| 431 | 'webapp/crd/js/xhr_proxy.js', |
| 432 | ], |
| 433 | |
| 434 | # All the JavaScript files required by wcs_sandbox.html. |
| 435 | 'remoting_webapp_wcs_sandbox_html_all_js_files': [ |
| 436 | '<@(remoting_webapp_wcs_sandbox_html_js_files)', |
garykac | 43a567e | 2015-05-11 17:48:33 | [diff] [blame] | 437 | 'webapp/base/js/error.js', |
| 438 | 'webapp/base/js/plugin_settings.js', |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 439 | ], |
| 440 | |
| 441 | # |
| 442 | # Webapp message_window.html generation files. |
| 443 | # |
| 444 | |
| 445 | 'remoting_webapp_template_message_window': |
| 446 | '<(DEPTH)/remoting/webapp/base/html/template_message_window.html', |
| 447 | |
| 448 | # These JS files are specific to the message window page and are not part of |
| 449 | # the main JS files. |
| 450 | 'remoting_webapp_message_window_html_js_files': [ |
| 451 | 'webapp/base/js/message_window.js', |
| 452 | ], |
| 453 | |
| 454 | # All the JavaScript files required by message_window.html. |
| 455 | 'remoting_webapp_message_window_html_all_js_files': [ |
| 456 | '<@(remoting_webapp_message_window_html_js_files)', |
| 457 | 'webapp/base/js/base.js', |
| 458 | ], |
| 459 | |
| 460 | # |
jamiewalch | 6275de5 | 2015-06-17 23:25:34 | [diff] [blame] | 461 | # All the JavaScript files required by credits.html |
| 462 | # |
| 463 | |
| 464 | 'remoting_webapp_credits_html_all_js_files': [ |
lambroslambrou | d5d8d0d | 2015-06-20 01:10:41 | [diff] [blame] | 465 | 'webapp/base/js/credits_js.js', |
jamiewalch | 6275de5 | 2015-06-17 23:25:34 | [diff] [blame] | 466 | ], |
| 467 | |
| 468 | # |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 469 | # Complete webapp JS and resource files. |
| 470 | # |
| 471 | |
| 472 | # All the JavaScript files that are shared by webapps. |
| 473 | 'remoting_webapp_shared_js_files': [ |
| 474 | '<@(remoting_webapp_shared_main_html_js_files)', |
| 475 | '<@(remoting_webapp_background_html_js_files)', |
| 476 | '<@(remoting_webapp_message_window_html_js_files)', |
| 477 | '<@(remoting_webapp_wcs_sandbox_html_js_files)', |
| 478 | # JS files referenced in manifest.json. |
| 479 | '<@(remoting_webapp_js_auth_v1_files)', |
| 480 | ], |
| 481 | |
| 482 | # All the JavaScript files required by DesktopRemoting. |
| 483 | 'remoting_webapp_crd_js_files': [ |
| 484 | '<@(remoting_webapp_shared_js_files)', |
| 485 | '<@(remoting_webapp_crd_main_html_all_js_files)', |
jamiewalch | 6275de5 | 2015-06-17 23:25:34 | [diff] [blame] | 486 | '<@(remoting_webapp_credits_html_all_js_files)', |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 487 | ], |
| 488 | |
| 489 | 'remoting_webapp_info_files': [ |
| 490 | 'resources/chromoting16.webp', |
| 491 | 'resources/chromoting48.webp', |
| 492 | 'resources/chromoting128.webp', |
| 493 | ], |
| 494 | |
| 495 | # All the resource files required by DesktopRemoting. |
| 496 | 'remoting_webapp_resource_files': [ |
| 497 | 'resources/disclosure_arrow_down.webp', |
| 498 | 'resources/disclosure_arrow_right.webp', |
| 499 | 'resources/drag.webp', |
| 500 | 'resources/host_setup_instructions.webp', |
| 501 | 'resources/icon_close.webp', |
| 502 | 'resources/icon_cross.webp', |
| 503 | 'resources/icon_disconnect.webp', |
| 504 | 'resources/icon_fullscreen.webp', |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 505 | 'resources/icon_host.webp', |
| 506 | 'resources/icon_maximize_restore.webp', |
| 507 | 'resources/icon_minimize.webp', |
| 508 | 'resources/icon_options.webp', |
| 509 | 'resources/icon_pencil.webp', |
| 510 | 'resources/icon_warning.webp', |
| 511 | 'resources/infographic_my_computers.webp', |
| 512 | 'resources/infographic_remote_assistance.webp', |
| 513 | 'resources/plus.webp', |
| 514 | 'resources/reload.webp', |
| 515 | 'resources/tick.webp', |
| 516 | 'webapp/base/html/connection_stats.css', |
lambroslambrou | d5d8d0d | 2015-06-20 01:10:41 | [diff] [blame] | 517 | 'webapp/base/html/credits_css.css', |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 518 | 'webapp/base/html/main.css', |
| 519 | 'webapp/base/html/message_window.css', |
| 520 | 'webapp/base/resources/open_sans.css', |
| 521 | 'webapp/base/resources/open_sans.woff', |
| 522 | 'webapp/base/resources/spinner.gif', |
| 523 | 'webapp/crd/html/butter_bar.css', |
jamiewalch | ca9ccb8 | 2015-06-02 01:12:14 | [diff] [blame] | 524 | 'webapp/crd/html/crd_main.css', |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 525 | 'webapp/crd/html/toolbar.css', |
| 526 | 'webapp/crd/html/menu_button.css', |
| 527 | 'webapp/crd/html/window_frame.css', |
| 528 | 'webapp/crd/resources/scale-to-fit.webp', |
| 529 | ], |
| 530 | |
| 531 | 'remoting_webapp_crd_files': [ |
| 532 | '<@(remoting_webapp_info_files)', |
| 533 | '<@(remoting_webapp_crd_js_files)', |
| 534 | '<@(remoting_webapp_resource_files)', |
| 535 | ], |
| 536 | |
garykac | 9ab9df49 | 2015-01-27 16:21:01 | [diff] [blame] | 537 | # Files that contain localizable strings. |
| 538 | 'desktop_remoting_webapp_localizable_files': [ |
| 539 | 'webapp/crd/manifest.json.jinja2', |
garykac | 9ab9df49 | 2015-01-27 16:21:01 | [diff] [blame] | 540 | '<(remoting_webapp_template_background)', |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 541 | '<(remoting_webapp_template_main)', |
| 542 | '<(remoting_webapp_template_message_window)', |
| 543 | '<(remoting_webapp_template_wcs_sandbox)', |
garykac | 9ab9df49 | 2015-01-27 16:21:01 | [diff] [blame] | 544 | '<@(remoting_webapp_template_files)', |
| 545 | '<@(remoting_webapp_crd_js_files)', |
| 546 | ], |
| 547 | |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 548 | }, |
| 549 | } |