diff options
author | garykac <garykac@chromium.org> | 2015-06-12 18:16:28 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-06-13 01:18:14 +0000 |
commit | 1f79129e5d41c461e13b2d47f53f3ab39a3b9f66 (patch) | |
tree | 2f30a0c24da5f02346f6ee2ae72854401a0cfe16 /remoting/webapp/files.gni | |
parent | ec80f71bf1a341b2cb1987cc29645596fcf94c57 (diff) | |
download | chromium_src-1f79129e5d41c461e13b2d47f53f3ab39a3b9f66.zip chromium_src-1f79129e5d41c461e13b2d47f53f3ab39a3b9f66.tar.gz chromium_src-1f79129e5d41c461e13b2d47f53f3ab39a3b9f66.tar.bz2 |
[AppRemoting] Break out AppRemoting shared module.
This cl breaks out the shared AppRemoting code into a shared module so
that it does not need to be duplicated in each individual app.
This version has the following limitations which will be addressed in
follow-up cls:
(1) The apps have a hard-coded reference to the dev shared module
(2) The apps have a hard-coded reference to the dev orchestrator
(3) The resources in the app stub should be replaced with empty stub
resources rather than a copy of all the shared resources.
(4) The shared module is only built in GN (not GYP)
BUG=
Review URL: https://codereview.chromium.org/1176143002
Cr-Commit-Position: refs/heads/master@{#334312}
Diffstat (limited to 'remoting/webapp/files.gni')
-rw-r--r-- | remoting/webapp/files.gni | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/remoting/webapp/files.gni b/remoting/webapp/files.gni index 7e77289..2b4e66b 100644 --- a/remoting/webapp/files.gni +++ b/remoting/webapp/files.gni @@ -164,7 +164,6 @@ remoting_webapp_shared_js_client_files = [ # Remoting core JavaScript files. remoting_webapp_shared_js_core_files = [ - "base/js/app_capabilities.js", "base/js/application.js", "base/js/base.js", "base/js/ipc.js", @@ -539,7 +538,6 @@ ar_main_js_files = [ "app_remoting/js/app_remoting.js", "app_remoting/js/app_remoting_activity.js", "app_remoting/js/ar_auth_dialog.js", - "app_remoting/js/ar_main.js", "app_remoting/js/context_menu_adapter.js", "app_remoting/js/context_menu_chrome.js", "app_remoting/js/context_menu_dom.js", @@ -551,8 +549,6 @@ ar_main_js_files = [ "app_remoting/js/loading_window.js", "app_remoting/js/submenu_manager.js", "app_remoting/js/window_activation_menu.js", - "base/js/application.js", - "base/js/base.js", "base/js/message_window_helper.js", "base/js/message_window_manager.js", ] + remoting_webapp_shared_js_auth_google_files + @@ -596,19 +592,33 @@ ar_feedback_consent_html_all_js_files = [ ar_loading_window_template = "app_remoting/html/template_loading_window.html" # -# AppRemoting background JS files. -# These files are referenced from the manifest +# AppRemoting ar_background.html generation files. # -ar_background_js_files = [ +ar_background_template = "app_remoting/html/template_background.html" +ar_background_html_js_files = [ "app_remoting/js/ar_background.js", "base/js/platform.js", ] +# +# Vendor supplied files. +# These need a full path specification because they are referenced from the +# webapp directory (ar_sample_app) and from the internal app directory. +# + +ar_vendor_js_files = [ "//remoting/webapp/app_remoting/vendor/arv_main.js" ] + +ar_vendor_html_files = [ + "//remoting/webapp/app_remoting/vendor/arv_background.html", + "//remoting/webapp/app_remoting/vendor/arv_main.html", + "//remoting/webapp/app_remoting/vendor/arv_wcs_sandbox.html", +] + ar_all_js_files = ar_main_js_files + ar_feedback_consent_html_js_files + remoting_webapp_message_window_html_js_files + - remoting_webapp_wcs_sandbox_html_js_files + ar_background_js_files + remoting_webapp_wcs_sandbox_html_js_files + ar_background_html_js_files # Files that contain localizable strings. app_remoting_webapp_localizable_files = |