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")
11 # GYP version: remoting/remoting_client:remoting_credits
13 about_credits_file = "$target_gen_dir/credits.html"
14 script = "//tools/licenses.py"
17 "base/html/credits.tmpl",
18 "base/html/credits_entry.tmpl",
27 rebase_path(about_credits_file, root_build_dir),
29 rebase_path("base/html/credits.tmpl", root_build_dir),
31 rebase_path("base/html/credits_entry.tmpl", root_build_dir),
35 desktop_remoting_webapp("webapp") {
36 webapp_type = "desktop"
37 output_dir = "remoting/remoting-webapp.v2"
38 zip_path = "remoting/remoting-webapp.v2.zip"
40 "crd/remoting_client_pnacl.nmf.jinja2",
41 # TODO(garykac): Get correct path to this.
42 #"<(PRODUCT_DIR)/remoting_client_plugin_newlib.pexe",
46 app_remoting_webapp("ar_sample_app") {
47 app_key = "Sample_App"
48 app_id = "ljacajndfccfgnfohlgkdphmbnpkjflk"
49 app_client_id = "sample_client_id"
51 app_name = "sample_app"
52 app_fullname = "App Remoting Client"
53 app_description = "App Remoting client"
54 app_capabilities = [ "GOOGLE_DRIVE" ]
55 manifest_key = "remotingdevbuild"
58 app_remoting_shared_module("ar_shared_module") {
59 #app_client_id = "sample_client_id"
60 app_name = "shared_module"
63 # GYP version: remoting/remoting_tests.gypi:remoting_browser_test_resources
64 copy("browser_test_resources") {
65 sources = remoting_webapp_browsertest_main_html_extra_files
67 "$root_out_dir/remoting/browser_test_resources/{{source_file_part}}",
71 remoting_unit_test_out_dir = "$root_out_dir/remoting/unittests"
83 # This list corresponds to webapp_js_files in remoting_webapp_unittests
85 sources = remoting_webapp_unittest_html_all_js_files +
86 remoting_webapp_wcs_sandbox_html_js_files +
87 remoting_webapp_background_html_js_files +
88 remoting_webapp_unittests_all_files
90 "$remoting_unit_test_out_dir/{{source_file_part}}",
96 "//third_party/blanketjs/src/blanket.js",
97 "//third_party/blanketjs/src/qunit_adapter.js",
100 "$remoting_unit_test_out_dir/blanketjs/{{source_file_part}}",
106 "//third_party/sinonjs/src/sinon-qunit.js",
107 "//third_party/sinonjs/src/sinon.js",
110 "$remoting_unit_test_out_dir/sinonjs/{{source_file_part}}",
116 "//third_party/qunit/src/browser_test_harness.js",
117 "//third_party/qunit/src/qunit.css",
118 "//third_party/qunit/src/qunit.js",
121 "$remoting_unit_test_out_dir/qunit/{{source_file_part}}",