[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 | 3eddb5b | 2015-04-17 23:16:38 | [diff] [blame] | 5 | # Keep in sync with remoting/webapp/files.gni. |
| 6 | |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 7 | { |
| 8 | 'variables': { |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 9 | |
[email protected] | cbc8bb0 | 2014-01-28 18:01:53 | [diff] [blame] | 10 | # Jscompile proto files. |
| 11 | # These provide type information for jscompile. |
| 12 | 'remoting_webapp_js_proto_files': [ |
| 13 | 'webapp/js_proto/chrome_proto.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 14 | 'webapp/js_proto/chrome_cast_proto.js', |
| 15 | 'webapp/js_proto/chrome_event_proto.js', |
[email protected] | cbc8bb0 | 2014-01-28 18:01:53 | [diff] [blame] | 16 | 'webapp/js_proto/dom_proto.js', |
| 17 | 'webapp/js_proto/remoting_proto.js', |
| 18 | ], |
| 19 | |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 20 | # |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 21 | # Webapp browsertest JavaScript files. |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 22 | # |
| 23 | |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 24 | # Browser test files. |
| 25 | 'remoting_webapp_browsertest_js_files': [ |
| 26 | 'webapp/browser_test/browser_test.js', |
| 27 | 'webapp/browser_test/bump_scroll_browser_test.js', |
| 28 | 'webapp/browser_test/cancel_pin_browser_test.js', |
| 29 | 'webapp/browser_test/invalid_pin_browser_test.js', |
| 30 | 'webapp/browser_test/it2me_browser_test.js', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 31 | 'webapp/browser_test/scrollbar_browser_test.js', |
| 32 | 'webapp/browser_test/timeout_waiter.js', |
| 33 | 'webapp/browser_test/unauthenticated_browser_test.js', |
| 34 | 'webapp/browser_test/update_pin_browser_test.js', |
| 35 | ], |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 36 | # Browser test files. |
| 37 | 'remoting_webapp_browsertest_js_mock_files': [ |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 38 | 'webapp/crd/js/mock_client_plugin.js', |
| 39 | 'webapp/crd/js/mock_host_list_api.js', |
| 40 | 'webapp/crd/js/mock_identity.js', |
| 41 | 'webapp/crd/js/mock_oauth2_api.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 42 | 'webapp/crd/js/mock_signal_strategy.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 43 | ], |
| 44 | 'remoting_webapp_browsertest_js_proto_files': [ |
| 45 | 'webapp/js_proto/sinon_proto.js', |
| 46 | 'webapp/js_proto/test_proto.js', |
| 47 | '<@(remoting_webapp_js_proto_files)', |
| 48 | ], |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 49 | 'remoting_webapp_browsertest_all_js_files': [ |
| 50 | '<@(remoting_webapp_browsertest_js_files)', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 51 | '<@(remoting_webapp_browsertest_js_mock_files)', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 52 | ], |
| 53 | |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 54 | # |
| 55 | # Webapp unittest JavaScript files. |
| 56 | # |
| 57 | |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 58 | # These product files are excluded from our JavaScript unittest |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 59 | 'remoting_webapp_unittests_exclude_js_files': [ |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 60 | # background.js is where the onLoad handler is defined, which |
| 61 | # makes it the entry point of the background page. |
| 62 | 'webapp/crd/js/background.js', |
| 63 | ], |
| 64 | # The unit test cases for the webapp |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 65 | 'remoting_webapp_unittests_js_files': [ |
jrw | 7829d55 | 2015-03-14 00:16:38 | [diff] [blame] | 66 | # TODO(jrw): Move spy_promise to base. |
| 67 | 'webapp/unittests/spy_promise.js', |
| 68 | 'webapp/unittests/spy_promise_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 69 | 'webapp/base/js/base_unittest.js', |
| 70 | 'webapp/base/js/base_event_hook_unittest.js', |
kelvinp | 718f4e8 | 2015-03-20 23:19:47 | [diff] [blame] | 71 | 'webapp/base/js/base_inherits_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 72 | 'webapp/base/js/ipc_unittest.js', |
kelvinp | 25f89e58 | 2015-04-08 01:20:50 | [diff] [blame] | 73 | 'webapp/base/js/protocol_extension_manager_unittest.js', |
garykac | 828a33d | 2015-04-27 16:23:50 | [diff] [blame^] | 74 | 'webapp/base/js/viewport_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 75 | 'webapp/crd/js/apps_v2_migration_unittest.js', |
kelvinp | 2128aa3 | 2015-04-23 02:24:07 | [diff] [blame] | 76 | 'webapp/crd/js/client_session_unittest.js', |
kelvinp | 2c5de34 | 2015-04-20 18:52:01 | [diff] [blame] | 77 | 'webapp/crd/js/client_session_factory_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 78 | 'webapp/crd/js/dns_blackhole_checker_unittest.js', |
jrw | 745e53b | 2015-03-16 21:26:13 | [diff] [blame] | 79 | 'webapp/crd/js/error_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 80 | 'webapp/crd/js/fallback_signal_strategy_unittest.js', |
jrw | 12e3cb3 | 2015-03-31 00:58:14 | [diff] [blame] | 81 | 'webapp/crd/js/gcd_client_unittest.js', |
jrw | 58e816f0 | 2015-04-07 19:59:12 | [diff] [blame] | 82 | 'webapp/crd/js/gcd_client_with_mock_xhr_unittest.js', |
jrw | f326e5a | 2015-04-09 20:20:49 | [diff] [blame] | 83 | 'webapp/crd/js/host_controller_unittest.js', |
jrw | 133be79 | 2015-04-08 01:12:28 | [diff] [blame] | 84 | 'webapp/crd/js/host_daemon_facade_unittest.js', |
jrw | 300af59 | 2015-04-18 02:10:28 | [diff] [blame] | 85 | 'webapp/crd/js/host_list_api_impl_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 86 | 'webapp/crd/js/host_table_entry_unittest.js', |
jamiewalch | 2119652 | 2015-03-17 02:04:26 | [diff] [blame] | 87 | 'webapp/crd/js/identity_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 88 | 'webapp/crd/js/l10n_unittest.js', |
| 89 | 'webapp/crd/js/menu_button_unittest.js', |
jrw | 58e816f0 | 2015-04-07 19:59:12 | [diff] [blame] | 90 | 'webapp/crd/js/mock_xhr_unittest.js', |
jrw | b814ba0 | 2015-03-19 20:08:45 | [diff] [blame] | 91 | 'webapp/crd/js/typecheck_unittest.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 92 | 'webapp/crd/js/xhr_unittest.js', |
| 93 | 'webapp/crd/js/xmpp_connection_unittest.js', |
| 94 | 'webapp/crd/js/xmpp_login_handler_unittest.js', |
| 95 | 'webapp/crd/js/xmpp_stream_parser_unittest.js', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 96 | ], |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 97 | 'remoting_webapp_unittests_js_mock_files': [ |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 98 | # Some proto files can be repurposed as simple mocks for the unittests. |
| 99 | # Note that some defs in chrome_proto are overwritten by chrome_mocks. |
kelvinp | 2c5de34 | 2015-04-20 18:52:01 | [diff] [blame] | 100 | 'webapp/crd/js/mock_client_plugin.js', |
jrw | f326e5a | 2015-04-09 20:20:49 | [diff] [blame] | 101 | 'webapp/crd/js/mock_host_daemon_facade.js', |
jrw | 300af59 | 2015-04-18 02:10:28 | [diff] [blame] | 102 | 'webapp/crd/js/mock_host_list_api.js', |
| 103 | 'webapp/crd/js/mock_identity.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 104 | 'webapp/crd/js/mock_signal_strategy.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 105 | 'webapp/js_proto/chrome_proto.js', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 106 | 'webapp/js_proto/chrome_mocks.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 107 | 'webapp/unittests/sinon_helpers.js', |
jrw | 58e816f0 | 2015-04-07 19:59:12 | [diff] [blame] | 108 | 'webapp/crd/js/mock_xhr.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 109 | ], |
| 110 | # Prototypes for objects that are not mocked. |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 111 | 'remoting_webapp_unittests_js_proto_files': [ |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 112 | 'webapp/js_proto/chrome_cast_proto.js', |
| 113 | 'webapp/js_proto/dom_proto.js', |
| 114 | 'webapp/js_proto/remoting_proto.js', |
| 115 | 'webapp/js_proto/qunit_proto.js', |
| 116 | 'webapp/js_proto/sinon_proto.js', |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 117 | ], |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 118 | 'remoting_webapp_unittests_all_js_files': [ |
| 119 | '<@(remoting_webapp_unittests_js_files)', |
| 120 | '<@(remoting_webapp_unittests_js_mock_files)', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 121 | ], |
garykac | 818c801 | 2015-03-02 18:37:47 | [diff] [blame] | 122 | # All the files needed to run the unittests. |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 123 | 'remoting_webapp_unittests_all_files': [ |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 124 | 'webapp/crd/html/menu_button.css', |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 125 | '<@(remoting_webapp_unittests_all_js_files)', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 126 | ], |
wez | 0f92988 | 2015-03-12 16:19:19 | [diff] [blame] | 127 | 'remoting_webapp_unittests_template_main': |
| 128 | 'webapp/crd/html/template_unittests.html', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 129 | |
| 130 | # |
| 131 | # Webapp JavaScript file groups. |
| 132 | # |
| 133 | |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 134 | # Auth (apps v1) JavaScript files. |
| 135 | # These files aren't included directly from main.html. They are |
| 136 | # referenced from the manifest.json file (appsv1 only). |
| 137 | 'remoting_webapp_js_auth_v1_files': [ |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 138 | 'webapp/crd/js/cs_third_party_auth_trampoline.js', # client to host |
| 139 | 'webapp/crd/js/cs_oauth2_trampoline.js', # Google account |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 140 | ], |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 141 | # Auth (client to host) JavaScript files. |
| 142 | 'remoting_webapp_js_auth_client2host_files': [ |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 143 | 'webapp/crd/js/third_party_host_permissions.js', |
| 144 | 'webapp/crd/js/third_party_token_fetcher.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 145 | ], |
| 146 | # Auth (Google account) JavaScript files. |
| 147 | 'remoting_webapp_js_auth_google_files': [ |
garykac | 7b15ac05 | 2014-12-02 03:12:37 | [diff] [blame] | 148 | 'webapp/base/js/auth_init.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 149 | 'webapp/crd/js/identity.js', |
| 150 | 'webapp/crd/js/oauth2.js', |
| 151 | 'webapp/crd/js/oauth2_api.js', |
jamiewalch | 499b99a | 2015-01-09 23:19:07 | [diff] [blame] | 152 | 'webapp/crd/js/oauth2_api_impl.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 153 | ], |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 154 | # Cast extension handler JavaScript files. |
| 155 | 'remoting_webapp_js_cast_extension_files': [ |
| 156 | 'webapp/crd/js/cast_extension_handler.js', |
| 157 | ], |
[email protected] | fd146835 | 2014-02-06 10:38:47 | [diff] [blame] | 158 | # Client JavaScript files. |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 159 | 'remoting_webapp_js_client_files': [ |
kelvinp | 4a6581f | 2015-04-15 02:25:03 | [diff] [blame] | 160 | 'webapp/crd/js/activity.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 161 | 'webapp/crd/js/client_plugin.js', |
| 162 | 'webapp/crd/js/client_plugin_impl.js', |
kelvinp | 87368c7 | 2015-02-20 00:17:42 | [diff] [blame] | 163 | 'webapp/crd/js/client_plugin_host_desktop_impl.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 164 | 'webapp/crd/js/client_session.js', |
kelvinp | 2c5de34 | 2015-04-20 18:52:01 | [diff] [blame] | 165 | 'webapp/crd/js/client_session_factory.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 166 | 'webapp/crd/js/clipboard.js', |
kelvinp | 9ba1fff0 | 2015-03-12 01:15:32 | [diff] [blame] | 167 | 'webapp/crd/js/connected_view.js', |
kelvinp | 0d9f28d | 2015-03-16 23:05:11 | [diff] [blame] | 168 | 'webapp/crd/js/connection_info.js', |
kelvinp | a656e72 | 2015-03-02 21:40:47 | [diff] [blame] | 169 | 'webapp/crd/js/credentials_provider.js', |
garykac | f6377ee | 2015-02-13 03:08:04 | [diff] [blame] | 170 | 'webapp/crd/js/desktop_connected_view.js', |
kelvinp | 87368c7 | 2015-02-20 00:17:42 | [diff] [blame] | 171 | 'webapp/crd/js/host_desktop.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 172 | 'webapp/crd/js/smart_reconnector.js', |
| 173 | 'webapp/crd/js/video_frame_recorder.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 174 | ], |
| 175 | # Remoting core JavaScript files. |
| 176 | 'remoting_webapp_js_core_files': [ |
garykac | 12564e8 | 2015-02-03 21:45:20 | [diff] [blame] | 177 | 'webapp/base/js/app_capabilities.js', |
garykac | ccb1b86 | 2014-12-06 03:46:44 | [diff] [blame] | 178 | 'webapp/base/js/application.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 179 | 'webapp/base/js/base.js', |
kelvinp | 6f290c2 | 2015-01-28 23:29:29 | [diff] [blame] | 180 | 'webapp/base/js/ipc.js', |
kelvinp | e474a782 | 2015-04-08 20:53:18 | [diff] [blame] | 181 | 'webapp/base/js/modal_dialogs.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 182 | 'webapp/base/js/platform.js', |
kelvinp | 25f89e58 | 2015-04-08 01:20:50 | [diff] [blame] | 183 | 'webapp/base/js/protocol_extension_manager.js', |
garykac | cd415d0 | 2015-03-13 20:38:11 | [diff] [blame] | 184 | 'webapp/base/js/protocol_extension.js', |
kelvinp | ef56d87 | 2015-01-22 03:13:36 | [diff] [blame] | 185 | 'webapp/crd/js/apps_v2_migration.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 186 | 'webapp/crd/js/error.js', |
| 187 | 'webapp/crd/js/event_handlers.js', |
| 188 | 'webapp/crd/js/plugin_settings.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 189 | 'webapp/crd/js/typecheck.js', |
| 190 | 'webapp/crd/js/xhr.js', |
jrw | 12e3cb3 | 2015-03-31 00:58:14 | [diff] [blame] | 191 | 'webapp/crd/js/gcd_client.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 192 | ], |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 193 | # Gnubby authentication JavaScript files. |
| 194 | 'remoting_webapp_js_gnubby_auth_files': [ |
| 195 | 'webapp/crd/js/gnubby_auth_handler.js', |
| 196 | ], |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 197 | # Host JavaScript files. |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 198 | 'remoting_webapp_js_host_files': [ |
garykac | 846c7c7 | 2014-12-19 23:36:14 | [diff] [blame] | 199 | 'webapp/crd/js/host.js', |
| 200 | 'webapp/crd/js/host_settings.js', |
| 201 | ], |
| 202 | # Files for controlling the local machine as a host. |
| 203 | # Includes both it2me and me2me files. |
| 204 | 'remoting_webapp_js_host_control_files': [ |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 205 | 'webapp/crd/js/host_controller.js', |
| 206 | 'webapp/crd/js/host_daemon_facade.js', |
garykac | 846c7c7 | 2014-12-19 23:36:14 | [diff] [blame] | 207 | 'webapp/crd/js/host_screen.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 208 | 'webapp/crd/js/host_session.js', |
garykac | 846c7c7 | 2014-12-19 23:36:14 | [diff] [blame] | 209 | 'webapp/crd/js/host_setup_dialog.js', |
| 210 | 'webapp/crd/js/host_install_dialog.js', |
| 211 | 'webapp/crd/js/host_installer.js', |
| 212 | 'webapp/crd/js/it2me_host_facade.js', |
| 213 | 'webapp/crd/js/paired_client_manager.js', |
| 214 | ], |
| 215 | # Files for displaying (in the client) info about available hosts. |
| 216 | 'remoting_webapp_js_host_display_files': [ |
| 217 | 'webapp/crd/js/host_list.js', |
jamiewalch | b874952 | 2015-01-05 20:00:49 | [diff] [blame] | 218 | 'webapp/crd/js/host_list_api.js', |
jamiewalch | 499b99a | 2015-01-09 23:19:07 | [diff] [blame] | 219 | 'webapp/crd/js/host_list_api_impl.js', |
garykac | 846c7c7 | 2014-12-19 23:36:14 | [diff] [blame] | 220 | 'webapp/crd/js/host_table_entry.js', |
kelvinp | f95677a | 2015-03-04 08:57:51 | [diff] [blame] | 221 | 'webapp/crd/js/local_host_section.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 222 | ], |
| 223 | # Logging and stats JavaScript files. |
| 224 | 'remoting_webapp_js_logging_files': [ |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 225 | 'webapp/crd/js/format_iq.js', |
| 226 | 'webapp/crd/js/log_to_server.js', |
| 227 | 'webapp/crd/js/server_log_entry.js', |
| 228 | 'webapp/crd/js/stats_accumulator.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 229 | ], |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 230 | # Remoting signaling files. |
| 231 | 'remoting_webapp_js_signaling_files': [ |
| 232 | 'webapp/crd/js/dns_blackhole_checker.js', |
| 233 | 'webapp/crd/js/fallback_signal_strategy.js', |
| 234 | 'webapp/crd/js/signal_strategy.js', |
sergeyu | 749305d | 2015-03-11 23:05:34 | [diff] [blame] | 235 | 'webapp/crd/js/tcp_socket.js', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 236 | 'webapp/crd/js/wcs_adapter.js', |
| 237 | 'webapp/crd/js/wcs_sandbox_container.js', |
| 238 | 'webapp/crd/js/xmpp_connection.js', |
| 239 | 'webapp/crd/js/xmpp_login_handler.js', |
| 240 | 'webapp/crd/js/xmpp_stream_parser.js', |
| 241 | ], |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 242 | # UI JavaScript files. |
| 243 | 'remoting_webapp_js_ui_files': [ |
garykac | 828a33d | 2015-04-27 16:23:50 | [diff] [blame^] | 244 | 'webapp/base/js/viewport.js', |
garykac | 701a99c | 2014-11-17 18:10:52 | [diff] [blame] | 245 | 'webapp/base/js/window_shape.js', |
kelvinp | 1e259c47 | 2015-02-24 01:03:04 | [diff] [blame] | 246 | 'webapp/crd/js/bump_scroller.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 247 | 'webapp/crd/js/butter_bar.js', |
| 248 | 'webapp/crd/js/connection_stats.js', |
kelvinp | 1e259c47 | 2015-02-24 01:03:04 | [diff] [blame] | 249 | 'webapp/crd/js/desktop_viewport.js', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 250 | 'webapp/crd/js/feedback.js', |
| 251 | 'webapp/crd/js/fullscreen.js', |
| 252 | 'webapp/crd/js/fullscreen_v1.js', |
| 253 | 'webapp/crd/js/fullscreen_v2.js', |
| 254 | 'webapp/crd/js/l10n.js', |
| 255 | 'webapp/crd/js/menu_button.js', |
| 256 | 'webapp/crd/js/options_menu.js', |
| 257 | 'webapp/crd/js/ui_mode.js', |
| 258 | 'webapp/crd/js/toolbar.js', |
| 259 | 'webapp/crd/js/window_frame.js', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 260 | ], |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 261 | |
| 262 | # |
| 263 | # DesktopRemoting main.html generation files. |
| 264 | # |
| 265 | |
| 266 | 'remoting_webapp_template_main': |
| 267 | '<(DEPTH)/remoting/webapp/crd/html/template_main.html', |
[email protected] | 7848556 | 2014-06-23 21:12:45 | [diff] [blame] | 268 | |
garykac | 7b15ac05 | 2014-12-02 03:12:37 | [diff] [blame] | 269 | # The shared JavaScript files required by main.html. |
| 270 | 'remoting_webapp_shared_main_html_js_files': [ |
[email protected] | f8881a7 | 2014-04-25 08:55:18 | [diff] [blame] | 271 | # Include the core files first as it is required by the other files. |
| 272 | # Otherwise, Jscompile will complain. |
| 273 | '<@(remoting_webapp_js_core_files)', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 274 | '<@(remoting_webapp_js_auth_client2host_files)', |
| 275 | '<@(remoting_webapp_js_auth_google_files)', |
| 276 | '<@(remoting_webapp_js_client_files)', |
[email protected] | de101e1 | 2014-02-27 04:12:08 | [diff] [blame] | 277 | '<@(remoting_webapp_js_gnubby_auth_files)', |
[email protected] | 2f4e73e | 2014-08-16 08:35:47 | [diff] [blame] | 278 | '<@(remoting_webapp_js_cast_extension_files)', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 279 | '<@(remoting_webapp_js_host_files)', |
garykac | 846c7c7 | 2014-12-19 23:36:14 | [diff] [blame] | 280 | '<@(remoting_webapp_js_host_control_files)', |
| 281 | '<@(remoting_webapp_js_host_display_files)', |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 282 | '<@(remoting_webapp_js_logging_files)', |
| 283 | '<@(remoting_webapp_js_ui_files)', |
sergeyu | 30975b8 | 2014-09-04 06:37:18 | [diff] [blame] | 284 | '<@(remoting_webapp_js_signaling_files)', |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 285 | # Uncomment this line to include browser test files in the web app |
[email protected] | 4eacd67 | 2014-05-09 06:58:23 | [diff] [blame] | 286 | # to expedite debugging or local development. |
garykac | b70d463 | 2015-02-19 02:58:52 | [diff] [blame] | 287 | #'<@(remoting_webapp_browsertest_all_js_files)', |
[email protected] | f34acc69 | 2014-08-12 22:47:14 | [diff] [blame] | 288 | ], |
| 289 | |
garykac | 7b15ac05 | 2014-12-02 03:12:37 | [diff] [blame] | 290 | # The CRD-specific JavaScript files required by main.html. |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 291 | 'remoting_webapp_crd_main_html_all_js_files': [ |
| 292 | '<@(remoting_webapp_shared_main_html_js_files)', |
jamiewalch | d0bb0df | 2015-03-24 00:37:32 | [diff] [blame] | 293 | 'webapp/crd/js/crd_auth_dialog.js', |
garykac | 846c7c7 | 2014-12-19 23:36:14 | [diff] [blame] | 294 | 'webapp/crd/js/crd_event_handlers.js', |
garykac | a1a7ffb0 | 2015-04-02 21:10:47 | [diff] [blame] | 295 | 'webapp/crd/js/crd_experimental.js', |
garykac | 7b15ac05 | 2014-12-02 03:12:37 | [diff] [blame] | 296 | 'webapp/crd/js/crd_main.js', |
garykac | ccb1b86 | 2014-12-06 03:46:44 | [diff] [blame] | 297 | 'webapp/crd/js/desktop_remoting.js', |
kelvinp | 1050ee48 | 2015-04-14 02:01:17 | [diff] [blame] | 298 | 'webapp/crd/js/desktop_remoting_activity.js', |
kelvinp | 3b3e16c4 | 2015-04-07 23:50:28 | [diff] [blame] | 299 | 'webapp/crd/js/it2me_activity.js', |
| 300 | 'webapp/crd/js/me2me_activity.js', |
garykac | 7b15ac05 | 2014-12-02 03:12:37 | [diff] [blame] | 301 | ], |
| 302 | |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 303 | # These template files are used to construct main.html. |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 304 | 'remoting_webapp_template_files': [ |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 305 | 'webapp/base/html/client_plugin.html', |
Gary Kacmarcik | ac6b679f | 2014-11-13 20:52:17 | [diff] [blame] | 306 | 'webapp/crd/html/butter_bar.html', |
jamiewalch | d0bb0df | 2015-03-24 00:37:32 | [diff] [blame] | 307 | 'webapp/crd/html/dialog_auth.html', |
Gary Kacmarcik | 6110f4b | 2014-10-23 00:20:07 | [diff] [blame] | 308 | 'webapp/crd/html/dialog_client_connect_failed.html', |
| 309 | 'webapp/crd/html/dialog_client_connecting.html', |
| 310 | 'webapp/crd/html/dialog_client_host_needs_upgrade.html', |
| 311 | 'webapp/crd/html/dialog_client_pin_prompt.html', |
| 312 | 'webapp/crd/html/dialog_client_session_finished.html', |
| 313 | 'webapp/crd/html/dialog_client_third_party_auth.html', |
| 314 | 'webapp/crd/html/dialog_client_unconnected.html', |
| 315 | 'webapp/crd/html/dialog_confirm_host_delete.html', |
| 316 | 'webapp/crd/html/dialog_connection_history.html', |
| 317 | 'webapp/crd/html/dialog_host.html', |
| 318 | 'webapp/crd/html/dialog_host_install.html', |
| 319 | 'webapp/crd/html/dialog_host_setup.html', |
| 320 | 'webapp/crd/html/dialog_manage_pairings.html', |
| 321 | 'webapp/crd/html/dialog_token_refresh_failed.html', |
| 322 | 'webapp/crd/html/toolbar.html', |
| 323 | 'webapp/crd/html/ui_header.html', |
| 324 | 'webapp/crd/html/ui_it2me.html', |
| 325 | 'webapp/crd/html/ui_me2me.html', |
| 326 | 'webapp/crd/html/window_frame.html', |
[email protected] | cb896cc | 2014-02-20 00:35:31 | [diff] [blame] | 327 | ], |
| 328 | |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 329 | # |
| 330 | # Webapp background.html generation files. |
| 331 | # |
| 332 | |
| 333 | 'remoting_webapp_template_background': |
| 334 | '<(DEPTH)/remoting/webapp/crd/html/template_background.html', |
| 335 | |
| 336 | # These JS files are specific to the background page and are not part of |
| 337 | # the main JS files. |
| 338 | 'remoting_webapp_background_html_js_files': [ |
| 339 | 'webapp/base/js/message_window_helper.js', |
| 340 | 'webapp/base/js/message_window_manager.js', |
| 341 | 'webapp/crd/js/activation_handler.js', |
| 342 | 'webapp/crd/js/app_launcher.js', |
| 343 | 'webapp/crd/js/background.js', |
| 344 | ], |
| 345 | |
| 346 | # All the JavaScript files required by background.html. |
| 347 | 'remoting_webapp_background_html_all_js_files': [ |
| 348 | '<@(remoting_webapp_background_html_js_files)', |
| 349 | 'webapp/base/js/base.js', |
| 350 | 'webapp/base/js/ipc.js', |
| 351 | 'webapp/crd/js/client_session.js', |
| 352 | 'webapp/crd/js/error.js', |
| 353 | 'webapp/crd/js/host_installer.js', |
| 354 | 'webapp/crd/js/host_session.js', |
| 355 | 'webapp/crd/js/identity.js', |
| 356 | 'webapp/crd/js/it2me_host_facade.js', |
| 357 | 'webapp/crd/js/l10n.js', |
| 358 | 'webapp/crd/js/oauth2.js', |
| 359 | 'webapp/crd/js/oauth2_api.js', |
| 360 | 'webapp/crd/js/oauth2_api_impl.js', |
| 361 | 'webapp/crd/js/plugin_settings.js', |
| 362 | 'webapp/crd/js/typecheck.js', |
| 363 | 'webapp/crd/js/xhr.js', |
| 364 | ], |
| 365 | |
| 366 | # |
| 367 | # Webapp wcs_sandbox.html generation files. |
| 368 | # |
| 369 | |
| 370 | 'remoting_webapp_template_wcs_sandbox': |
| 371 | '<(DEPTH)/remoting/webapp/base/html/template_wcs_sandbox.html', |
| 372 | |
| 373 | # These JS files are specific to the WCS sandbox page and are not part of |
| 374 | # the main JS files. |
| 375 | 'remoting_webapp_wcs_sandbox_html_js_files': [ |
| 376 | 'webapp/crd/js/wcs.js', |
| 377 | 'webapp/crd/js/wcs_loader.js', |
| 378 | 'webapp/crd/js/wcs_sandbox_content.js', |
| 379 | 'webapp/crd/js/xhr_proxy.js', |
| 380 | ], |
| 381 | |
| 382 | # All the JavaScript files required by wcs_sandbox.html. |
| 383 | 'remoting_webapp_wcs_sandbox_html_all_js_files': [ |
| 384 | '<@(remoting_webapp_wcs_sandbox_html_js_files)', |
| 385 | 'webapp/crd/js/error.js', |
| 386 | 'webapp/crd/js/plugin_settings.js', |
| 387 | ], |
| 388 | |
| 389 | # |
| 390 | # Webapp message_window.html generation files. |
| 391 | # |
| 392 | |
| 393 | 'remoting_webapp_template_message_window': |
| 394 | '<(DEPTH)/remoting/webapp/base/html/template_message_window.html', |
| 395 | |
| 396 | # These JS files are specific to the message window page and are not part of |
| 397 | # the main JS files. |
| 398 | 'remoting_webapp_message_window_html_js_files': [ |
| 399 | 'webapp/base/js/message_window.js', |
| 400 | ], |
| 401 | |
| 402 | # All the JavaScript files required by message_window.html. |
| 403 | 'remoting_webapp_message_window_html_all_js_files': [ |
| 404 | '<@(remoting_webapp_message_window_html_js_files)', |
| 405 | 'webapp/base/js/base.js', |
| 406 | ], |
| 407 | |
| 408 | # |
| 409 | # Complete webapp JS and resource files. |
| 410 | # |
| 411 | |
| 412 | # All the JavaScript files that are shared by webapps. |
| 413 | 'remoting_webapp_shared_js_files': [ |
| 414 | '<@(remoting_webapp_shared_main_html_js_files)', |
| 415 | '<@(remoting_webapp_background_html_js_files)', |
| 416 | '<@(remoting_webapp_message_window_html_js_files)', |
| 417 | '<@(remoting_webapp_wcs_sandbox_html_js_files)', |
| 418 | # JS files referenced in manifest.json. |
| 419 | '<@(remoting_webapp_js_auth_v1_files)', |
| 420 | ], |
| 421 | |
| 422 | # All the JavaScript files required by DesktopRemoting. |
| 423 | 'remoting_webapp_crd_js_files': [ |
| 424 | '<@(remoting_webapp_shared_js_files)', |
| 425 | '<@(remoting_webapp_crd_main_html_all_js_files)', |
| 426 | ], |
| 427 | |
| 428 | 'remoting_webapp_info_files': [ |
| 429 | 'resources/chromoting16.webp', |
| 430 | 'resources/chromoting48.webp', |
| 431 | 'resources/chromoting128.webp', |
| 432 | ], |
| 433 | |
| 434 | # All the resource files required by DesktopRemoting. |
| 435 | 'remoting_webapp_resource_files': [ |
| 436 | 'resources/disclosure_arrow_down.webp', |
| 437 | 'resources/disclosure_arrow_right.webp', |
| 438 | 'resources/drag.webp', |
| 439 | 'resources/host_setup_instructions.webp', |
| 440 | 'resources/icon_close.webp', |
| 441 | 'resources/icon_cross.webp', |
| 442 | 'resources/icon_disconnect.webp', |
| 443 | 'resources/icon_fullscreen.webp', |
| 444 | 'resources/icon_help.webp', |
| 445 | 'resources/icon_host.webp', |
| 446 | 'resources/icon_maximize_restore.webp', |
| 447 | 'resources/icon_minimize.webp', |
| 448 | 'resources/icon_options.webp', |
| 449 | 'resources/icon_pencil.webp', |
| 450 | 'resources/icon_warning.webp', |
| 451 | 'resources/infographic_my_computers.webp', |
| 452 | 'resources/infographic_remote_assistance.webp', |
| 453 | 'resources/plus.webp', |
| 454 | 'resources/reload.webp', |
| 455 | 'resources/tick.webp', |
| 456 | 'webapp/base/html/connection_stats.css', |
| 457 | 'webapp/base/html/main.css', |
| 458 | 'webapp/base/html/message_window.css', |
| 459 | 'webapp/base/resources/open_sans.css', |
| 460 | 'webapp/base/resources/open_sans.woff', |
| 461 | 'webapp/base/resources/spinner.gif', |
| 462 | 'webapp/crd/html/butter_bar.css', |
| 463 | 'webapp/crd/html/toolbar.css', |
| 464 | 'webapp/crd/html/menu_button.css', |
| 465 | 'webapp/crd/html/window_frame.css', |
| 466 | 'webapp/crd/resources/scale-to-fit.webp', |
| 467 | ], |
| 468 | |
| 469 | 'remoting_webapp_crd_files': [ |
| 470 | '<@(remoting_webapp_info_files)', |
| 471 | '<@(remoting_webapp_crd_js_files)', |
| 472 | '<@(remoting_webapp_resource_files)', |
| 473 | ], |
| 474 | |
garykac | 9ab9df49 | 2015-01-27 16:21:01 | [diff] [blame] | 475 | # Files that contain localizable strings. |
| 476 | 'desktop_remoting_webapp_localizable_files': [ |
| 477 | 'webapp/crd/manifest.json.jinja2', |
garykac | 9ab9df49 | 2015-01-27 16:21:01 | [diff] [blame] | 478 | '<(remoting_webapp_template_background)', |
garykac | 9547d1f | 2015-03-06 19:42:55 | [diff] [blame] | 479 | '<(remoting_webapp_template_main)', |
| 480 | '<(remoting_webapp_template_message_window)', |
| 481 | '<(remoting_webapp_template_wcs_sandbox)', |
garykac | 9ab9df49 | 2015-01-27 16:21:01 | [diff] [blame] | 482 | '<@(remoting_webapp_template_files)', |
| 483 | '<@(remoting_webapp_crd_js_files)', |
| 484 | ], |
| 485 | |
[email protected] | af2d5818 | 2014-01-25 01:21:42 | [diff] [blame] | 486 | }, |
| 487 | } |