Index: build/config/android/rules.gni |
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni |
index e65607045caf93c1c238dda2cd3d80c8f40de0c6..565db2e4b903449b9fdd122eaf1ddaa77326cfcf 100644 |
--- a/build/config/android/rules.gni |
+++ b/build/config/android/rules.gni |
@@ -2178,9 +2178,14 @@ template("proto_java_library") { |
action("${_template_name}__protoc_java") { |
srcjar_path = "$target_gen_dir/$target_name.srcjar" |
script = "//build/protoc_java.py" |
+ |
deps = [ |
_protoc_dep, |
] |
+ if (defined(invoker.deps)) { |
+ deps += invoker.deps |
+ } |
+ |
sources = invoker.sources |
depfile = "$target_gen_dir/$target_name.d" |
outputs = [ |