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

Unified Diff: build/config/android/internal_rules.gni

Issue 341823003: Add depfile support to android build scripts (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
« no previous file with comments | « build/android/gyp/util/build_utils.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index b3114ef1690eaca6741f1c6081e770afde35c647..a85fe996e52129bd22aa6b16a7610a4ec986874e 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -9,9 +9,11 @@ template("zip") {
rebase_output = rebase_path(invoker.output)
action(target_name) {
script = "//build/android/gn/zip.py"
+ depfile = "$target_gen_dir/$target_name.d"
source_prereqs = invoker.inputs
- outputs = [invoker.output]
+ outputs = [depfile, invoker.output]
args = [
+ "--depfile", rebase_path(depfile, root_build_dir),
"--inputs=$rebase_inputs",
"--output=$rebase_output",
]
« no previous file with comments | « build/android/gyp/util/build_utils.py ('k') | build/config/android/rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698