Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: remoting/webapp/BUILD.gn

Issue 2670833004: Use a depfile to know when to regenerate notice files (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: remoting/webapp/BUILD.gn
diff --git a/remoting/webapp/BUILD.gn b/remoting/webapp/BUILD.gn
index 91fc4c12b9fa924d7dfa9032753efcfd7e1b0cf2..b80474e2200de7735efdeb81750974d33fba9dcf 100644
--- a/remoting/webapp/BUILD.gn
+++ b/remoting/webapp/BUILD.gn
@@ -11,6 +11,7 @@ import("//remoting/webapp/files.gni")
action("credits") {
about_credits_file = "$target_gen_dir/credits.html"
script = "//tools/licenses.py"
+ depfile = "$target_gen_dir/$target_name.d"
inputs = [
"base/html/credits.tmpl",
@@ -28,6 +29,8 @@ action("credits") {
rebase_path("base/html/credits.tmpl", root_build_dir),
"--entry-template",
rebase_path("base/html/credits_entry.tmpl", root_build_dir),
+ "--depfile",
+ rebase_path(depfile, root_build_dir),
]
}

Powered by Google App Engine
This is Rietveld 408576698