Index: build/config/android/rules.gni |
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni |
index ceffd063af8c8af567f35e1eef20c8e5b700a5a9..d2439152e16762992bb9744d84d7e9fc6065c27f 100644 |
--- a/build/config/android/rules.gni |
+++ b/build/config/android/rules.gni |
@@ -376,6 +376,7 @@ if (enable_java_templates) { |
outputs = [ |
invoker.output, |
] |
+ depfile = "$target_gen_dir/$target_name.d" |
args = [ |
# This is a list of .sources files. |
@@ -383,6 +384,8 @@ if (enable_java_templates) { |
"--output", |
rebase_path(invoker.output, root_build_dir), |
"--no_register_java=$_rebase_exception_java_files", |
+ "--depfile", |
+ rebase_path(depfile, root_build_dir), |
] |
} |
} |