| 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 # Keep in sync with targets in remoting/remoting_client.gypi. | 5 # Keep in sync with targets in remoting/remoting_client.gypi. |
| 6 | 6 |
| 7 import("//build/config/features.gni") | 7 import("//build/config/features.gni") |
| 8 import("//remoting/webapp/build_template.gni") | 8 import("//remoting/webapp/build_template.gni") |
| 9 import("//remoting/webapp/files.gni") | 9 import("//remoting/webapp/files.gni") |
| 10 | 10 |
| 11 group("webapp") { | |
| 12 deps = [ | |
| 13 ":webapp_v1", | |
| 14 ":ar_sample_app", | |
| 15 ":credits", | |
| 16 ":ar_shared_module", | |
| 17 ] | |
| 18 | |
| 19 if (enable_internal_app_remoting_targets) { | |
| 20 deps += [ "//remoting/internal:ar_internal_apps" ] | |
| 21 } | |
| 22 | |
| 23 if (enable_nacl) { | |
| 24 deps += [ ":webapp_v2" ] | |
| 25 } | |
| 26 } | |
| 27 | |
| 28 # GYP version: remoting/remoting_client:remoting_credits | 11 # GYP version: remoting/remoting_client:remoting_credits |
| 29 action("credits") { | 12 action("credits") { |
| 30 about_credits_file = "$target_gen_dir/credits.html" | 13 about_credits_file = "$target_gen_dir/credits.html" |
| 31 script = "//tools/licenses.py" | 14 script = "//tools/licenses.py" |
| 32 | 15 |
| 33 inputs = [ | 16 inputs = [ |
| 34 "base/html/credits.tmpl", | 17 "base/html/credits.tmpl", |
| 35 "base/html/credits_entry.tmpl", | 18 "base/html/credits_entry.tmpl", |
| 36 ] | 19 ] |
| 37 | 20 |
| 38 outputs = [ | 21 outputs = [ |
| 39 about_credits_file, | 22 about_credits_file, |
| 40 ] | 23 ] |
| 41 | 24 |
| 42 args = [ | 25 args = [ |
| 43 "credits", | 26 "credits", |
| 44 rebase_path(about_credits_file, root_build_dir), | 27 rebase_path(about_credits_file, root_build_dir), |
| 45 "--file-template", | 28 "--file-template", |
| 46 rebase_path("base/html/credits.tmpl", root_build_dir), | 29 rebase_path("base/html/credits.tmpl", root_build_dir), |
| 47 "--entry-template", | 30 "--entry-template", |
| 48 rebase_path("base/html/credits_entry.tmpl", root_build_dir), | 31 rebase_path("base/html/credits_entry.tmpl", root_build_dir), |
| 49 ] | 32 ] |
| 50 } | 33 } |
| 51 | 34 |
| 52 desktop_remoting_webapp("webapp_v1") { | 35 desktop_remoting_webapp("webapp") { |
| 53 webapp_type = "v1" | 36 webapp_type = "desktop" |
| 54 output_dir = "remoting/remoting-webapp" | |
| 55 zip_path = "remoting/remoting-webapp.zip" | |
| 56 extra_files = [] | |
| 57 } | |
| 58 | |
| 59 desktop_remoting_webapp("webapp_v2") { | |
| 60 webapp_type = "v2_pnacl" | |
| 61 output_dir = "remoting/remoting-webapp.v2" | 37 output_dir = "remoting/remoting-webapp.v2" |
| 62 zip_path = "remoting/remoting-webapp.v2.zip" | 38 zip_path = "remoting/remoting-webapp.v2.zip" |
| 63 extra_files = [ | 39 extra_files = [ |
| 64 "crd/remoting_client_pnacl.nmf.jinja2", | 40 "crd/remoting_client_pnacl.nmf.jinja2", |
| 65 # TODO(garykac): Get correct path to this. | 41 # TODO(garykac): Get correct path to this. |
| 66 #"<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe", | 42 #"<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe", |
| 67 ] | 43 ] |
| 68 } | 44 } |
| 69 | 45 |
| 70 app_remoting_webapp("ar_sample_app") { | 46 app_remoting_webapp("ar_sample_app") { |
| (...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 138 copy("qunit") { | 114 copy("qunit") { |
| 139 sources = [ | 115 sources = [ |
| 140 "//third_party/qunit/src/browser_test_harness.js", | 116 "//third_party/qunit/src/browser_test_harness.js", |
| 141 "//third_party/qunit/src/qunit.css", | 117 "//third_party/qunit/src/qunit.css", |
| 142 "//third_party/qunit/src/qunit.js", | 118 "//third_party/qunit/src/qunit.js", |
| 143 ] | 119 ] |
| 144 outputs = [ | 120 outputs = [ |
| 145 "$remoting_unit_test_out_dir/qunit/{{source_file_part}}", | 121 "$remoting_unit_test_out_dir/qunit/{{source_file_part}}", |
| 146 ] | 122 ] |
| 147 } | 123 } |
| OLD | NEW |