Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(776)

Side by Side Diff: remoting/webapp/files.gni

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

Powered by Google App Engine
This is Rietveld 408576698