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
3 # found in the LICENSE file.
5 # Keep in sync with targets in remoting/remoting_client.gypi.
7 import("//build/config/features.gni")
8 import("//remoting/webapp/build_template.gni")
9 import("//remoting/webapp/files.gni")
19 if (enable_internal_app_remoting_targets) {
20 deps += [ "//remoting/internal:ar_internal_apps" ]
24 deps += [ ":webapp_v2" ]
28 # GYP version: remoting/remoting_client:remoting_credits
30 about_credits_file = "$target_gen_dir/credits.html"
31 script = "//tools/licenses.py"
34 "base/html/credits.tmpl",
35 "base/html/credits_entry.tmpl",
44 rebase_path(about_credits_file, root_build_dir),
46 rebase_path("base/html/credits.tmpl", root_build_dir),
48 rebase_path("base/html/credits_entry.tmpl", root_build_dir),
52 desktop_remoting_webapp("webapp_v1") {
54 output_dir = "remoting/remoting-webapp"
55 zip_path = "remoting/remoting-webapp.zip"
59 desktop_remoting_webapp("webapp_v2") {
60 webapp_type = "v2_pnacl"
61 output_dir = "remoting/remoting-webapp.v2"
62 zip_path = "remoting/remoting-webapp.v2.zip"
64 "crd/remoting_client_pnacl.nmf.jinja2",
65 # TODO(garykac): Get correct path to this.
66 #"<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe",
70 app_remoting_webapp("ar_sample_app") {
71 app_key = "Sample_App"
72 app_id = "ljacajndfccfgnfohlgkdphmbnpkjflk"
73 app_client_id = "sample_client_id"
75 app_name = "sample_app"
76 app_fullname = "App Remoting Client"
77 app_description = "App Remoting client"
78 app_capabilities = [ "GOOGLE_DRIVE" ]
79 manifest_key = "remotingdevbuild"
82 app_remoting_shared_module("ar_shared_module") {
83 #app_client_id = "sample_client_id"
84 app_name = "shared_module"
87 # GYP version: remoting/remoting_tests.gypi:remoting_browser_test_resources
88 copy("browser_test_resources") {
89 sources = remoting_webapp_browsertest_main_html_extra_files
91 "$root_out_dir/remoting/browser_test_resources/{{source_file_part}}",
95 remoting_unit_test_out_dir = "$root_out_dir/remoting/unittests"
107 # This list corresponds to webapp_js_files in remoting_webapp_unittests
109 sources = remoting_webapp_unittest_html_all_js_files +
110 remoting_webapp_wcs_sandbox_html_js_files +
111 remoting_webapp_background_html_js_files +
112 remoting_webapp_unittests_all_files
114 "$remoting_unit_test_out_dir/{{source_file_part}}",
120 "//third_party/blanketjs/src/blanket.js",
121 "//third_party/blanketjs/src/qunit_adapter.js",
124 "$remoting_unit_test_out_dir/blanketjs/{{source_file_part}}",
130 "//third_party/sinonjs/src/sinon-qunit.js",
131 "//third_party/sinonjs/src/sinon.js",
134 "$remoting_unit_test_out_dir/sinonjs/{{source_file_part}}",
140 "//third_party/qunit/src/browser_test_harness.js",
141 "//third_party/qunit/src/qunit.css",
142 "//third_party/qunit/src/qunit.js",
145 "$remoting_unit_test_out_dir/qunit/{{source_file_part}}",