| OLD | NEW |
| (Empty) |
| 1 # Copyright 2016 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. | |
| 4 | |
| 5 import("//remoting/build/config/remoting_build.gni") | |
| 6 | |
| 7 action("credits") { | |
| 8 # We put this in $root_build_dir/gen/remoting instead of | |
| 9 # $root_build_dir/gen/remoting/host (target_gen_dir) for | |
| 10 # compatibility w/ GYP, since the installer needs the file to | |
| 11 # be at the same location. | |
| 12 about_credits_file = "$root_build_dir/gen/remoting/CREDITS.txt" | |
| 13 script = "//tools/licenses.py" | |
| 14 | |
| 15 inputs = [ | |
| 16 "credits.tmpl", | |
| 17 "credits_entry.tmpl", | |
| 18 ] | |
| 19 | |
| 20 outputs = [ | |
| 21 about_credits_file, | |
| 22 ] | |
| 23 | |
| 24 args = [ | |
| 25 "credits", | |
| 26 rebase_path(about_credits_file, root_build_dir), | |
| 27 "--file-template", | |
| 28 rebase_path("credits.tmpl", root_build_dir), | |
| 29 "--entry-template", | |
| 30 rebase_path("credits_entry.tmpl", root_build_dir), | |
| 31 ] | |
| 32 } | |
| OLD | NEW |