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 |
(...skipping 15 matching lines...) Expand all Loading... |
26 "credits", | 26 "credits", |
27 rebase_path(about_credits_file, root_build_dir), | 27 rebase_path(about_credits_file, root_build_dir), |
28 "--file-template", | 28 "--file-template", |
29 rebase_path("base/html/credits.tmpl", root_build_dir), | 29 rebase_path("base/html/credits.tmpl", root_build_dir), |
30 "--entry-template", | 30 "--entry-template", |
31 rebase_path("base/html/credits_entry.tmpl", root_build_dir), | 31 rebase_path("base/html/credits_entry.tmpl", root_build_dir), |
32 ] | 32 ] |
33 } | 33 } |
34 | 34 |
35 desktop_remoting_webapp("webapp") { | 35 desktop_remoting_webapp("webapp") { |
36 webapp_type = "desktop" | |
37 output_dir = "$root_build_dir/remoting/remoting-webapp.v2" | 36 output_dir = "$root_build_dir/remoting/remoting-webapp.v2" |
38 zip_path = "$root_build_dir/remoting-webapp.v2.zip" | 37 zip_path = "$root_build_dir/remoting-webapp.v2.zip" |
39 extra_files = [ "crd/remoting_client_pnacl.nmf.jinja2" ] | 38 extra_files = [ "crd/remoting_client_pnacl.nmf.jinja2" ] |
40 } | 39 } |
41 | 40 |
42 app_remoting_webapp("ar_sample_app") { | |
43 app_key = "Sample_App" | |
44 app_id = "ljacajndfccfgnfohlgkdphmbnpkjflk" | |
45 app_client_id = "sample_client_id" | |
46 app_vendor = "" | |
47 app_name = "sample_app" | |
48 app_fullname = "App Remoting Client" | |
49 app_description = "App Remoting client" | |
50 app_capabilities = [ "GOOGLE_DRIVE" ] | |
51 manifest_key = "remotingdevbuild" | |
52 } | |
53 | |
54 app_remoting_shared_module("ar_shared_module") { | |
55 #app_client_id = "sample_client_id" | |
56 app_name = "shared_module" | |
57 } | |
58 | |
59 # GYP version: remoting/remoting_tests.gypi:remoting_browser_test_resources | 41 # GYP version: remoting/remoting_tests.gypi:remoting_browser_test_resources |
60 copy("browser_test_resources") { | 42 copy("browser_test_resources") { |
61 sources = remoting_webapp_browsertest_main_html_extra_files | 43 sources = remoting_webapp_browsertest_main_html_extra_files |
62 outputs = [ | 44 outputs = [ |
63 "$root_out_dir/remoting/browser_test_resources/{{source_file_part}}", | 45 "$root_out_dir/remoting/browser_test_resources/{{source_file_part}}", |
64 ] | 46 ] |
65 } | 47 } |
66 | 48 |
67 remoting_unit_test_out_dir = "$root_out_dir/remoting/unittests" | 49 remoting_unit_test_out_dir = "$root_out_dir/remoting/unittests" |
68 | 50 |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
117 } | 99 } |
118 | 100 |
119 build_webapp_html("unittest_html") { | 101 build_webapp_html("unittest_html") { |
120 html_template_file = remoting_webapp_unittests_template_main | 102 html_template_file = remoting_webapp_unittests_template_main |
121 html_template_include_files = [] | 103 html_template_include_files = [] |
122 js_files = remoting_webapp_unittests_all_js_files | 104 js_files = remoting_webapp_unittests_all_js_files |
123 html_output = "$remoting_unit_test_out_dir/unittests.html" | 105 html_output = "$remoting_unit_test_out_dir/unittests.html" |
124 exclude_js = remoting_webapp_unittests_exclude_js_files | 106 exclude_js = remoting_webapp_unittests_exclude_js_files |
125 instrument_js = webapp_js_files | 107 instrument_js = webapp_js_files |
126 } | 108 } |
OLD | NEW |