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

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

Issue 1143643003: [Chromoting] Add GN build support for ar_sample_app target. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 7 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
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 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 # `7MM"""Mq. `7MM 5 # `7MM"""Mq. `7MM
6 # MM `MM. MM 6 # MM `MM. MM
7 # MM ,M9 .gP"Ya ,6"Yb. ,M""bMM `7MMpMMMb.pMMMb. .gP"Ya 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 8 # MMmmdM9 ,M' Yb 8) MM ,AP MM MM MM MM ,M' Yb
9 # MM YM. 8M"""""" ,pm9MM 8MI MM MM MM MM 8M"""""" 9 # MM YM. 8M"""""" ,pm9MM 8MI MM MM MM MM 8M""""""
10 # MM `Mb.YM. , 8M MM `Mb MM MM MM MM YM. , 10 # MM `Mb.YM. , 8M MM `Mb MM MM MM MM YM. ,
11 # .JMML. .JMM.`Mbmmd' `Moo9^Yo.`Wbmd"MML..JMML JMML JMML.`Mbmmd' 11 # .JMML. .JMM.`Mbmmd' `Moo9^Yo.`Wbmd"MML..JMML JMML JMML.`Mbmmd'
12 # 12 #
13 # Please keep this file in sync with remoting/remoting_webapp_files.gypi. 13 # Please keep this file in sync with remoting/remoting_webapp_files.gypi
14 # and remoting/app_remoting_webapp_files.gypi.
14 15
15 # Jscompile proto files. 16 # Jscompile proto files.
16 # These provide type information for jscompile. 17 # These provide type information for jscompile.
17 remoting_webapp_js_proto_files = [ 18 remoting_webapp_js_proto_files = [
18 "js_proto/chrome_proto.js", 19 "js_proto/chrome_proto.js",
19 "js_proto/chrome_cast_proto.js", 20 "js_proto/chrome_cast_proto.js",
20 "js_proto/chrome_event_proto.js", 21 "js_proto/chrome_event_proto.js",
21 "js_proto/dom_proto.js", 22 "js_proto/dom_proto.js",
22 "js_proto/remoting_proto.js", 23 "js_proto/remoting_proto.js",
23 ] 24 ]
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
228 # Auth (client to host) JavaScript files. 229 # Auth (client to host) JavaScript files.
229 remoting_webapp_js_auth_client2host_files = [ 230 remoting_webapp_js_auth_client2host_files = [
230 "crd/js/third_party_host_permissions.js", 231 "crd/js/third_party_host_permissions.js",
231 "crd/js/third_party_token_fetcher.js", 232 "crd/js/third_party_token_fetcher.js",
232 ] 233 ]
233 234
234 # Cast extension handler JavaScript files. 235 # Cast extension handler JavaScript files.
235 remoting_webapp_js_cast_extension_files = [ "crd/js/cast_extension_handler.js" ] 236 remoting_webapp_js_cast_extension_files = [ "crd/js/cast_extension_handler.js" ]
236 237
237 # Client JavaScript files. 238 # Client JavaScript files.
238 remoting_webapp_js_client_files = [ "crd/js/video_frame_recorder.js" ] 239 remoting_webapp_js_client_files = [
239
240 # Remoting core JavaScript files.
241 remoting_webapp_js_core_files = [
242 "crd/js/apps_v2_migration.js", 240 "crd/js/apps_v2_migration.js",
243 "crd/js/event_handlers.js", 241 "crd/js/event_handlers.js",
244 "crd/js/gcd_client.js", 242 "crd/js/gcd_client.js",
243 "crd/js/video_frame_recorder.js",
garykac 2015/05/15 22:33:51 These changes update GN to match the current GYP v
245 ] 244 ]
246 245
247 # Gnubby authentication JavaScript files. 246 # Gnubby authentication JavaScript files.
248 remoting_webapp_js_gnubby_auth_files = [ "crd/js/gnubby_auth_handler.js" ] 247 remoting_webapp_js_gnubby_auth_files = [ "crd/js/gnubby_auth_handler.js" ]
249 248
250 # Files for controlling the local machine as a host. 249 # Files for controlling the local machine as a host.
251 # Includes both it2me and me2me files. 250 # Includes both it2me and me2me files.
252 remoting_webapp_js_host_control_files = [ 251 remoting_webapp_js_host_control_files = [
253 "crd/js/host_controller.js", 252 "crd/js/host_controller.js",
254 "crd/js/host_daemon_facade.js", 253 "crd/js/host_daemon_facade.js",
(...skipping 16 matching lines...) Expand all
271 "crd/js/local_host_section.js", 270 "crd/js/local_host_section.js",
272 ] 271 ]
273 272
274 # The CRD-specific JavaScript files required by main.html. 273 # The CRD-specific JavaScript files required by main.html.
275 remoting_webapp_crd_js_ui_files = [ 274 remoting_webapp_crd_js_ui_files = [
276 "crd/js/bump_scroller.js", 275 "crd/js/bump_scroller.js",
277 "crd/js/butter_bar.js", 276 "crd/js/butter_bar.js",
278 "crd/js/crd_auth_dialog.js", 277 "crd/js/crd_auth_dialog.js",
279 "crd/js/crd_event_handlers.js", 278 "crd/js/crd_event_handlers.js",
280 "crd/js/crd_experimental.js", 279 "crd/js/crd_experimental.js",
281 "crd/js/crd_main.js",
282 "crd/js/desktop_connected_view.js", 280 "crd/js/desktop_connected_view.js",
283 "crd/js/desktop_remoting.js", 281 "crd/js/desktop_remoting.js",
284 "crd/js/desktop_remoting_activity.js", 282 "crd/js/desktop_remoting_activity.js",
285 "crd/js/desktop_viewport.js", 283 "crd/js/desktop_viewport.js",
286 "crd/js/feedback.js", 284 "crd/js/feedback.js",
287 "crd/js/fullscreen.js", 285 "crd/js/fullscreen.js",
288 "crd/js/fullscreen_v1.js", 286 "crd/js/fullscreen_v1.js",
289 "crd/js/fullscreen_v2.js", 287 "crd/js/fullscreen_v2.js",
290 "crd/js/it2me_activity.js", 288 "crd/js/it2me_activity.js",
291 "crd/js/me2me_activity.js", 289 "crd/js/me2me_activity.js",
(...skipping 25 matching lines...) Expand all
317 remoting_webapp_js_cast_extension_files + 315 remoting_webapp_js_cast_extension_files +
318 remoting_webapp_js_host_control_files + 316 remoting_webapp_js_host_control_files +
319 remoting_webapp_js_host_display_files 317 remoting_webapp_js_host_display_files
320 318
321 # Uncomment this line to include browser test files in the web app 319 # Uncomment this line to include browser test files in the web app
322 # to expedite debugging or local development. 320 # to expedite debugging or local development.
323 #+ remoting_webapp_browsertest_all_js_files 321 #+ remoting_webapp_browsertest_all_js_files
324 322
325 # The CRD-specific JavaScript files required by main.html. 323 # The CRD-specific JavaScript files required by main.html.
326 remoting_webapp_crd_main_html_all_js_files = 324 remoting_webapp_crd_main_html_all_js_files =
327 remoting_webapp_shared_main_html_js_files + remoting_webapp_crd_js_ui_files 325 remoting_webapp_shared_main_html_js_files +
326 remoting_webapp_crd_js_ui_files + [ "crd/js/crd_main.js" ]
328 327
329 # These template files are used to construct main.html. 328 # These template files are used to construct main.html.
330 remoting_webapp_template_files = [ 329 remoting_webapp_template_files = [
331 "base/html/client_plugin.html", 330 "base/html/client_plugin.html",
332 "crd/html/butter_bar.html", 331 "crd/html/butter_bar.html",
333 "crd/html/dialog_auth.html", 332 "crd/html/dialog_auth.html",
334 "crd/html/dialog_client_connect_failed.html", 333 "crd/html/dialog_client_connect_failed.html",
335 "crd/html/dialog_client_connecting.html", 334 "crd/html/dialog_client_connecting.html",
336 "crd/html/dialog_client_host_needs_upgrade.html", 335 "crd/html/dialog_client_host_needs_upgrade.html",
337 "crd/html/dialog_client_pin_prompt.html", 336 "crd/html/dialog_client_pin_prompt.html",
338 "crd/html/dialog_client_session_finished.html", 337 "crd/html/dialog_client_session_finished.html",
339 "crd/html/dialog_client_third_party_auth.html", 338 "crd/html/dialog_client_third_party_auth.html",
340 "crd/html/dialog_client_unconnected.html", 339 "crd/html/dialog_client_unconnected.html",
341 "crd/html/dialog_confirm_host_delete.html", 340 "crd/html/dialog_confirm_host_delete.html",
342 "crd/html/dialog_connection_history.html", 341 "crd/html/dialog_connection_history.html",
343 "crd/html/dialog_host.html", 342 "crd/html/dialog_host.html",
344 "crd/html/dialog_host_install.html", 343 "crd/html/dialog_host_install.html",
345 "crd/html/dialog_host_setup.html", 344 "crd/html/dialog_host_setup.html",
346 "crd/html/dialog_manage_pairings.html", 345 "crd/html/dialog_manage_pairings.html",
347 "crd/html/dialog_token_refresh_failed.html", 346 "crd/html/dialog_token_refresh_failed.html",
348 "crd/html/toolbar.html", 347 "crd/html/toolbar.html",
349 "crd/html/ui_header.html", 348 "crd/html/ui_header.html",
350 "crd/html/ui_it2me.html", 349 "crd/html/ui_it2me.html",
351 "crd/html/ui_me2me.html", 350 "crd/html/ui_me2me.html",
352 "crd/html/window_frame.html", 351 "crd/html/window_frame.html",
353 ] 352 ]
354 353
355 # 354 #
356 # Webapp background.html generation files. 355 # DesktopRemoting background.html generation files.
357 # 356 #
358 357
359 remoting_webapp_template_background = "crd/html/template_background.html" 358 remoting_webapp_template_background = "crd/html/template_background.html"
360 359
361 # These JS files are specific to the background page and are not part of 360 # These JS files are specific to the background page and are not part of
362 # the main JS files. 361 # the main JS files.
363 remoting_webapp_background_html_js_files = [ 362 remoting_webapp_background_html_js_files = [
364 "base/js/message_window_helper.js", 363 "base/js/message_window_helper.js",
365 "base/js/message_window_manager.js", 364 "base/js/message_window_manager.js",
366 "crd/js/activation_handler.js", 365 "crd/js/activation_handler.js",
(...skipping 16 matching lines...) Expand all
383 "base/js/oauth2_api_impl.js", 382 "base/js/oauth2_api_impl.js",
384 "base/js/plugin_settings.js", 383 "base/js/plugin_settings.js",
385 "base/js/typecheck.js", 384 "base/js/typecheck.js",
386 "base/js/xhr.js", 385 "base/js/xhr.js",
387 "crd/js/host_installer.js", 386 "crd/js/host_installer.js",
388 "crd/js/host_session.js", 387 "crd/js/host_session.js",
389 "crd/js/it2me_host_facade.js", 388 "crd/js/it2me_host_facade.js",
390 ] 389 ]
391 390
392 # 391 #
393 # Webapp wcs_sandbox.html generation files. 392 # DesktopRemoting wcs_sandbox.html generation files.
394 # 393 #
395 394
396 remoting_webapp_template_wcs_sandbox = "base/html/template_wcs_sandbox.html" 395 remoting_webapp_template_wcs_sandbox = "base/html/template_wcs_sandbox.html"
397 396
398 # These JS files are specific to the WCS sandbox page and are not part of 397 # These JS files are specific to the WCS sandbox page and are not part of
399 # the main JS files. 398 # the main JS files.
400 remoting_webapp_wcs_sandbox_html_js_files = [ 399 remoting_webapp_wcs_sandbox_html_js_files = [
401 "crd/js/wcs.js", 400 "crd/js/wcs.js",
402 "crd/js/wcs_loader.js", 401 "crd/js/wcs_loader.js",
403 "crd/js/wcs_sandbox_content.js", 402 "crd/js/wcs_sandbox_content.js",
404 "crd/js/xhr_proxy.js", 403 "crd/js/xhr_proxy.js",
405 ] 404 ]
406 405
407 # All the JavaScript files required by wcs_sandbox.html. 406 # All the JavaScript files required by wcs_sandbox.html.
408 remoting_webapp_wcs_sandbox_html_all_js_files = 407 remoting_webapp_wcs_sandbox_html_all_js_files =
409 remoting_webapp_wcs_sandbox_html_js_files 408 remoting_webapp_wcs_sandbox_html_js_files
410 remoting_webapp_wcs_sandbox_html_all_js_files += [ 409 remoting_webapp_wcs_sandbox_html_all_js_files += [
411 "base/js/error.js", 410 "base/js/error.js",
412 "base/js/plugin_settings.js", 411 "base/js/plugin_settings.js",
413 ] 412 ]
414 413
415 # 414 #
416 # Webapp message_window.html generation files. 415 # DesktopRemoting message_window.html generation files.
417 # 416 #
418 417
419 remoting_webapp_template_message_window = 418 remoting_webapp_template_message_window =
420 "base/html/template_message_window.html" 419 "base/html/template_message_window.html"
421 420
422 # These JS files are specific to the message window page and are not part of 421 # These JS files are specific to the message window page and are not part of
423 # the main JS files. 422 # the main JS files.
424 remoting_webapp_message_window_html_js_files = [ "base/js/message_window.js" ] 423 remoting_webapp_message_window_html_js_files = [ "base/js/message_window.js" ]
425 424
426 # All the JavaScript files required by message_window.html. 425 # All the JavaScript files required by message_window.html.
427 remoting_webapp_message_window_html_all_js_files = 426 remoting_webapp_message_window_html_all_js_files =
428 remoting_webapp_message_window_html_js_files + [ "base/js/base.js" ] 427 remoting_webapp_message_window_html_js_files + [ "base/js/base.js" ]
429 428
430 # 429 #
431 # Complete webapp JS and resource files. 430 # DesktopRemoting webapp JS and resource files.
432 # 431 #
433 432
434 # All the JavaScript files that are shared by webapps. 433 # All the JavaScript files that are shared by webapps.
435 remoting_webapp_shared_js_files = remoting_webapp_shared_main_html_js_files + 434 remoting_webapp_shared_js_files = remoting_webapp_shared_main_html_js_files +
436 remoting_webapp_background_html_js_files + 435 remoting_webapp_background_html_js_files +
437 remoting_webapp_message_window_html_js_files + 436 remoting_webapp_message_window_html_js_files +
438 remoting_webapp_wcs_sandbox_html_js_files + 437 remoting_webapp_wcs_sandbox_html_js_files +
439 # JS files referenced in manifest.json. 438 # JS files referenced in manifest.json.
440 remoting_webapp_js_auth_v1_files 439 remoting_webapp_js_auth_v1_files
441 440
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 # Files that contain localizable strings. 490 # Files that contain localizable strings.
492 desktop_remoting_webapp_localizable_files = [ 491 desktop_remoting_webapp_localizable_files = [
493 "webapp/crd/manifest.json.jinja2", 492 "webapp/crd/manifest.json.jinja2",
494 "<(remoting_webapp_template_background)", 493 "<(remoting_webapp_template_background)",
495 "<(remoting_webapp_template_main)", 494 "<(remoting_webapp_template_main)",
496 "<(remoting_webapp_template_message_window)", 495 "<(remoting_webapp_template_message_window)",
497 "<(remoting_webapp_template_wcs_sandbox)", 496 "<(remoting_webapp_template_wcs_sandbox)",
498 "<@(remoting_webapp_template_files)", 497 "<@(remoting_webapp_template_files)",
499 "<@(remoting_webapp_crd_js_files)", 498 "<@(remoting_webapp_crd_js_files)",
500 ] 499 ]
500
501 #
502 # AppRemoting Files
503 #
504
505 ar_shared_resource_files = [
506 "app_remoting/html/ar_dialog.css",
507 "app_remoting/html/ar_main.css",
508 "app_remoting/html/feedback_consent.css",
509 "app_remoting/html/loading_window.css",
510 "app_remoting/html/context_menu.css",
511 "../resources/drag.webp",
512 ] + remoting_webapp_resource_files
513
514 #
515 # AppRemoting main.html generation files.
516 #
517
518 # These template files are used to construct the webapp html files.
519 ar_main_template = "app_remoting/html/template_lg.html"
520
521 ar_main_template_files = [
522 "base/html/client_plugin.html",
523 "app_remoting/html/context_menu.html",
524 "app_remoting/html/idle_dialog.html",
525 ]
526
527 ar_main_js_files = [
528 "app_remoting/js/application_context_menu.js",
529 "app_remoting/js/app_connected_view.js",
530 "app_remoting/js/app_remoting.js",
531 "app_remoting/js/app_remoting_activity.js",
532 "app_remoting/js/ar_auth_dialog.js",
533 "app_remoting/js/ar_main.js",
534 "app_remoting/js/context_menu_adapter.js",
535 "app_remoting/js/context_menu_chrome.js",
536 "app_remoting/js/context_menu_dom.js",
537 "app_remoting/js/drag_and_drop.js",
538 "app_remoting/js/idle_detector.js",
539 "app_remoting/js/keyboard_layouts_menu.js",
540 "app_remoting/js/loading_window.js",
541 "app_remoting/js/submenu_manager.js",
542 "app_remoting/js/window_activation_menu.js",
543 "base/js/application.js",
544 "base/js/base.js",
545 "base/js/message_window_helper.js",
546 "base/js/message_window_manager.js",
547 ] + remoting_webapp_shared_js_auth_google_files +
548 remoting_webapp_shared_js_client_files +
549 remoting_webapp_shared_js_core_files +
550 remoting_webapp_shared_js_host_files +
551 remoting_webapp_shared_js_logging_files +
552 remoting_webapp_shared_js_signaling_files +
553 remoting_webapp_shared_js_ui_files
554
555 #
556 # AppRemoting feedback_consent.html generation files.
557 #
558
559 ar_feedback_consent_template =
560 "app_remoting/html/template_feedback_consent.html"
561
562 # These JS files are specific to the feedback consent page and are not part
563 # of the main JS files.
564 ar_feedback_consent_html_js_files = [ "app_remoting/js/feedback_consent.js" ]
565
566 # All the JavaScript files required by feedback_consent.html.
567 ar_feedback_consent_html_all_js_files = [
568 "app_remoting/js/feedback_consent.js",
569 "base/js/base.js",
570 "base/js/error.js",
571 "base/js/identity.js",
572 "base/js/oauth2_api.js",
573 "base/js/oauth2_api_impl.js",
574 "base/js/plugin_settings.js",
575 "base/js/l10n.js",
576 "base/js/xhr.js",
577 ]
578
579 #
580 # AppRemoting loading_window.html generation files.
581 #
582
583 # Variables for loading_window.html. Note that the JS files are the same as
584 # for message_window.html, and are not duplicated here.
585 ar_loading_window_template = "app_remoting/html/template_loading_window.html"
586
587 #
588 # AppRemoting background JS files.
589 # These files are referenced from the manifest
590 #
591
592 ar_background_js_files = [
593 "app_remoting/js/ar_background.js",
594 "base/js/platform.js",
595 ]
596
597 ar_all_js_files =
598 ar_main_js_files + ar_feedback_consent_html_js_files +
599 remoting_webapp_message_window_html_js_files +
600 remoting_webapp_wcs_sandbox_html_js_files + ar_background_js_files
601
602 # Files that contain localizable strings.
603 app_remoting_webapp_localizable_files =
604 [
605 ar_main_template,
606 ar_feedback_consent_template,
607 ar_loading_window_template,
608 remoting_webapp_template_message_window,
609 remoting_webapp_template_wcs_sandbox,
610 ] + ar_main_template_files + ar_all_js_files
OLDNEW
« remoting/remoting_version.gni ('K') | « remoting/webapp/build_template.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698