OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'remoting_webapp_info_files': [ | 7 'remoting_webapp_info_files': [ |
8 'resources/chromoting16.webp', | 8 'resources/chromoting16.webp', |
9 'resources/chromoting48.webp', | 9 'resources/chromoting48.webp', |
10 'resources/chromoting128.webp', | 10 'resources/chromoting128.webp', |
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
124 # browser test JavaScript files. | 124 # browser test JavaScript files. |
125 'remoting_webapp_js_browser_test_files': [ | 125 'remoting_webapp_js_browser_test_files': [ |
126 'webapp/browser_test/browser_test.js', | 126 'webapp/browser_test/browser_test.js', |
127 'webapp/browser_test/bump_scroll_browser_test.js', | 127 'webapp/browser_test/bump_scroll_browser_test.js', |
128 'webapp/browser_test/cancel_pin_browser_test.js', | 128 'webapp/browser_test/cancel_pin_browser_test.js', |
129 'webapp/browser_test/invalid_pin_browser_test.js', | 129 'webapp/browser_test/invalid_pin_browser_test.js', |
130 'webapp/browser_test/update_pin_browser_test.js', | 130 'webapp/browser_test/update_pin_browser_test.js', |
131 ], | 131 ], |
132 # These product files are excluded from our JavaScript unittest | 132 # These product files are excluded from our JavaScript unittest |
133 'remoting_webapp_unittest_exclude_files': [ | 133 'remoting_webapp_unittest_exclude_files': [ |
| 134 # background.js is where the onLoad handler is defined, which |
| 135 # makes it the entry point of the background page. |
| 136 'webapp/background/background.js', |
134 # event_handlers.js is where the onLoad handler is defined, which | 137 # event_handlers.js is where the onLoad handler is defined, which |
135 # makes it the entry point of the webapp. | 138 # makes it the entry point of the webapp. |
136 'webapp/event_handlers.js', | 139 'webapp/event_handlers.js', |
137 ], | 140 ], |
138 # The unit test cases for the webapp | 141 # The unit test cases for the webapp |
139 'remoting_webapp_unittest_cases': [ | 142 'remoting_webapp_unittest_cases': [ |
140 'webapp/js_proto/chrome_proto.js', | 143 'webapp/js_proto/chrome_proto.js', |
141 'webapp/unittests/base_unittest.js', | 144 'webapp/unittests/base_unittest.js', |
142 'webapp/unittests/l10n_unittest.js', | 145 'webapp/unittests/l10n_unittest.js', |
143 'webapp/unittests/menu_button_unittest.js', | 146 'webapp/unittests/menu_button_unittest.js', |
(...skipping 14 matching lines...) Expand all Loading... |
158 '<@(remoting_webapp_js_client_files)', | 161 '<@(remoting_webapp_js_client_files)', |
159 '<@(remoting_webapp_js_gnubby_auth_files)', | 162 '<@(remoting_webapp_js_gnubby_auth_files)', |
160 '<@(remoting_webapp_js_host_files)', | 163 '<@(remoting_webapp_js_host_files)', |
161 '<@(remoting_webapp_js_logging_files)', | 164 '<@(remoting_webapp_js_logging_files)', |
162 '<@(remoting_webapp_js_ui_files)', | 165 '<@(remoting_webapp_js_ui_files)', |
163 '<@(remoting_webapp_js_ui_host_control_files)', | 166 '<@(remoting_webapp_js_ui_host_control_files)', |
164 '<@(remoting_webapp_js_ui_host_display_files)', | 167 '<@(remoting_webapp_js_ui_host_display_files)', |
165 '<@(remoting_webapp_js_wcs_container_files)', | 168 '<@(remoting_webapp_js_wcs_container_files)', |
166 # Uncomment this line to include browser test files in the web app | 169 # Uncomment this line to include browser test files in the web app |
167 # to expedite debugging or local development. | 170 # to expedite debugging or local development. |
168 '<@(remoting_webapp_js_browser_test_files)' | 171 # '<@(remoting_webapp_js_browser_test_files)' |
| 172 ], |
| 173 |
| 174 # The JavaScript files that are used as background pages. |
| 175 'remoting_webapp_background_js_files': [ |
| 176 'webapp/base.js', |
| 177 'webapp/client_session.js', |
| 178 'webapp/typecheck.js', |
| 179 'webapp/background/app_launcher.js', |
| 180 'webapp/background/background.js' |
169 ], | 181 ], |
170 | 182 |
171 # The JavaScript files required by wcs_sandbox.html. | 183 # The JavaScript files required by wcs_sandbox.html. |
172 'remoting_webapp_wcs_sandbox_html_js_files': [ | 184 'remoting_webapp_wcs_sandbox_html_js_files': [ |
173 '<@(remoting_webapp_js_wcs_sandbox_files)', | 185 '<@(remoting_webapp_js_wcs_sandbox_files)', |
174 'webapp/error.js', | 186 'webapp/error.js', |
175 'webapp/plugin_settings.js', | 187 'webapp/plugin_settings.js', |
176 ], | 188 ], |
177 | 189 |
178 # All the JavaScript files required by the webapp. | 190 # All the JavaScript files required by the webapp. |
179 'remoting_webapp_all_js_files': [ | 191 'remoting_webapp_all_js_files': [ |
180 # JS files for main.html. | 192 # JS files for main.html. |
181 '<@(remoting_webapp_main_html_js_files)', | 193 '<@(remoting_webapp_main_html_js_files)', |
| 194 '<@(remoting_webapp_background_js_files)', |
182 # JS files for wcs_sandbox.html. | 195 # JS files for wcs_sandbox.html. |
183 # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files | 196 # Use r_w_js_wcs_sandbox_files instead of r_w_wcs_sandbox_html_js_files |
184 # so that we don't double include error.js and plugin_settings.js. | 197 # so that we don't double include error.js and plugin_settings.js. |
185 '<@(remoting_webapp_js_wcs_sandbox_files)', | 198 '<@(remoting_webapp_js_wcs_sandbox_files)', |
186 # JS files referenced in mainfest.json. | 199 # JS files referenced in mainfest.json. |
187 '<@(remoting_webapp_js_auth_v1_files)', | 200 '<@(remoting_webapp_js_auth_v1_files)', |
188 ], | 201 ], |
189 | 202 |
190 'remoting_webapp_resource_files': [ | 203 'remoting_webapp_resource_files': [ |
191 'resources/disclosure_arrow_down.webp', | 204 'resources/disclosure_arrow_down.webp', |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 '<@(remoting_webapp_resource_files)', | 237 '<@(remoting_webapp_resource_files)', |
225 ], | 238 ], |
226 | 239 |
227 # These template files are used to construct the webapp html files. | 240 # These template files are used to construct the webapp html files. |
228 'remoting_webapp_template_main': | 241 'remoting_webapp_template_main': |
229 'webapp/html/template_main.html', | 242 'webapp/html/template_main.html', |
230 | 243 |
231 'remoting_webapp_template_wcs_sandbox': | 244 'remoting_webapp_template_wcs_sandbox': |
232 'webapp/html/template_wcs_sandbox.html', | 245 'webapp/html/template_wcs_sandbox.html', |
233 | 246 |
| 247 'remoting_webapp_template_background': |
| 248 'webapp/html/template_background.html', |
| 249 |
234 'remoting_webapp_template_files': [ | 250 'remoting_webapp_template_files': [ |
235 'webapp/html/butterbar.html', | 251 'webapp/html/butterbar.html', |
236 'webapp/html/client_plugin.html', | 252 'webapp/html/client_plugin.html', |
237 'webapp/html/dialog_auth.html', | 253 'webapp/html/dialog_auth.html', |
238 'webapp/html/dialog_client_connect_failed.html', | 254 'webapp/html/dialog_client_connect_failed.html', |
239 'webapp/html/dialog_client_connecting.html', | 255 'webapp/html/dialog_client_connecting.html', |
240 'webapp/html/dialog_client_host_needs_upgrade.html', | 256 'webapp/html/dialog_client_host_needs_upgrade.html', |
241 'webapp/html/dialog_client_pin_prompt.html', | 257 'webapp/html/dialog_client_pin_prompt.html', |
242 'webapp/html/dialog_client_session_finished.html', | 258 'webapp/html/dialog_client_session_finished.html', |
243 'webapp/html/dialog_client_third_party_auth.html', | 259 'webapp/html/dialog_client_third_party_auth.html', |
244 'webapp/html/dialog_client_unconnected.html', | 260 'webapp/html/dialog_client_unconnected.html', |
245 'webapp/html/dialog_confirm_host_delete.html', | 261 'webapp/html/dialog_confirm_host_delete.html', |
246 'webapp/html/dialog_connection_history.html', | 262 'webapp/html/dialog_connection_history.html', |
247 'webapp/html/dialog_host.html', | 263 'webapp/html/dialog_host.html', |
248 'webapp/html/dialog_host_install.html', | 264 'webapp/html/dialog_host_install.html', |
249 'webapp/html/dialog_host_setup.html', | 265 'webapp/html/dialog_host_setup.html', |
250 'webapp/html/dialog_manage_pairings.html', | 266 'webapp/html/dialog_manage_pairings.html', |
251 'webapp/html/dialog_token_refresh_failed.html', | 267 'webapp/html/dialog_token_refresh_failed.html', |
252 'webapp/html/toolbar.html', | 268 'webapp/html/toolbar.html', |
253 'webapp/html/ui_header.html', | 269 'webapp/html/ui_header.html', |
254 'webapp/html/ui_it2me.html', | 270 'webapp/html/ui_it2me.html', |
255 'webapp/html/ui_me2me.html', | 271 'webapp/html/ui_me2me.html', |
256 'webapp/html/window_frame.html', | 272 'webapp/html/window_frame.html', |
257 ], | 273 ], |
258 | 274 |
259 }, | 275 }, |
260 } | 276 } |
OLD | NEW |