Chromium Code Reviews| Index: remoting/host/installer/BUILD.gn |
| diff --git a/remoting/host/installer/BUILD.gn b/remoting/host/installer/BUILD.gn |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..1004128f17fa2a26304da072cb82c839e0a54880 |
| --- /dev/null |
| +++ b/remoting/host/installer/BUILD.gn |
| @@ -0,0 +1,32 @@ |
| +# Copyright 2016 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +import("//remoting/build/config/remoting_build.gni") |
| + |
| +action("credits") { |
| + # We put this in $root_build_dir/gen/remoting instead of |
| + # $root_build_dir/gen/remoting/host (target_gen_dir) for |
| + # compatibility w/ GYP, since the installer needs the file to |
|
joedow
2016/09/12 18:58:43
Is this comment still valid? I'm not sure we need
nicholss
2016/09/12 19:56:32
Not sure.
|
| + # be at the same location. |
| + about_credits_file = "$root_build_dir/gen/remoting/CREDITS.txt" |
| + script = "//tools/licenses.py" |
| + |
| + inputs = [ |
| + "credits.tmpl", |
| + "credits_entry.tmpl", |
| + ] |
| + |
| + outputs = [ |
| + about_credits_file, |
| + ] |
| + |
| + args = [ |
| + "credits", |
| + rebase_path(about_credits_file, root_build_dir), |
| + "--file-template", |
| + rebase_path("credits.tmpl", root_build_dir), |
| + "--entry-template", |
| + rebase_path("credits_entry.tmpl", root_build_dir), |
| + ] |
| +} |