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 action("credits") { | 11 action("credits") { |
12 about_credits_file = "$target_gen_dir/credits.html" | 12 about_credits_file = "$target_gen_dir/credits.html" |
13 script = "//tools/licenses.py" | 13 script = "//tools/licenses.py" |
| 14 depfile = "$target_gen_dir/$target_name.d" |
14 | 15 |
15 inputs = [ | 16 inputs = [ |
16 "base/html/credits.tmpl", | 17 "base/html/credits.tmpl", |
17 "base/html/credits_entry.tmpl", | 18 "base/html/credits_entry.tmpl", |
18 ] | 19 ] |
19 | 20 |
20 outputs = [ | 21 outputs = [ |
21 about_credits_file, | 22 about_credits_file, |
22 ] | 23 ] |
23 | 24 |
24 args = [ | 25 args = [ |
25 "credits", | 26 "credits", |
26 rebase_path(about_credits_file, root_build_dir), | 27 rebase_path(about_credits_file, root_build_dir), |
27 "--file-template", | 28 "--file-template", |
28 rebase_path("base/html/credits.tmpl", root_build_dir), | 29 rebase_path("base/html/credits.tmpl", root_build_dir), |
29 "--entry-template", | 30 "--entry-template", |
30 rebase_path("base/html/credits_entry.tmpl", root_build_dir), | 31 rebase_path("base/html/credits_entry.tmpl", root_build_dir), |
| 32 "--depfile", |
| 33 rebase_path(depfile, root_build_dir), |
31 ] | 34 ] |
32 } | 35 } |
33 | 36 |
34 desktop_remoting_webapp("webapp") { | 37 desktop_remoting_webapp("webapp") { |
35 output_dir = "$root_build_dir/remoting/remoting-webapp.v2" | 38 output_dir = "$root_build_dir/remoting/remoting-webapp.v2" |
36 zip_path = "$root_build_dir/remoting-webapp.v2.zip" | 39 zip_path = "$root_build_dir/remoting-webapp.v2.zip" |
37 extra_files = [ "crd/remoting_client_pnacl.nmf.jinja2" ] | 40 extra_files = [ "crd/remoting_client_pnacl.nmf.jinja2" ] |
38 } | 41 } |
39 | 42 |
40 copy("browser_test_resources") { | 43 copy("browser_test_resources") { |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
95 } | 98 } |
96 | 99 |
97 build_webapp_html("unittest_html") { | 100 build_webapp_html("unittest_html") { |
98 html_template_file = remoting_webapp_unittests_template_main | 101 html_template_file = remoting_webapp_unittests_template_main |
99 html_template_include_files = [] | 102 html_template_include_files = [] |
100 js_files = remoting_webapp_unittests_all_js_files | 103 js_files = remoting_webapp_unittests_all_js_files |
101 html_output = "$remoting_unit_test_out_dir/unittests.html" | 104 html_output = "$remoting_unit_test_out_dir/unittests.html" |
102 exclude_js = remoting_webapp_unittests_exclude_js_files | 105 exclude_js = remoting_webapp_unittests_exclude_js_files |
103 instrument_js = webapp_js_files | 106 instrument_js = webapp_js_files |
104 } | 107 } |
OLD | NEW |