Index: build/config/android/rules.gni |
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni |
index 090f55700ca812a3d4c02daf497d0d76a60a739d..7e242f5ea13a2d1f14f373b52b633a63295f98c5 100644 |
--- a/build/config/android/rules.gni |
+++ b/build/config/android/rules.gni |
@@ -348,13 +348,19 @@ template("java_cpp_enum") { |
]) |
script = "//build/android/gyp/java_cpp_enum.py" |
+ depfile = "$target_gen_dir/$target_name.d" |
pkotwicz
2015/11/18 23:16:24
Nit: Shouldn't |depfile| be |_depfile| ?
pkotwicz
2015/11/18 23:17:50
Never mind, depfile is a parameter of action
|
_srcjar_path = "${target_gen_dir}/${target_name}.srcjar" |
_rebased_srcjar_path = rebase_path(_srcjar_path, root_build_dir) |
_rebased_sources = rebase_path(invoker.sources, root_build_dir) |
- args = [ "--srcjar=$_rebased_srcjar_path" ] + _rebased_sources |
+ args = [ |
+ "--depfile", |
+ rebase_path(depfile, root_build_dir), |
+ "--srcjar=$_rebased_srcjar_path", |
+ ] + _rebased_sources |
outputs = [ |
+ depfile, |
_srcjar_path, |
] |
} |