Index: build/android/gyp/jinja_template.py |
diff --git a/build/android/gyp/jinja_template.py b/build/android/gyp/jinja_template.py |
index c361f24f138cd14a10851e141c544156d01a57d9..3fa477fe654fff43a28c1b2613fe06548667b656 100755 |
--- a/build/android/gyp/jinja_template.py |
+++ b/build/android/gyp/jinja_template.py |
@@ -128,8 +128,9 @@ def main(): |
options.outputs_zip) |
if options.depfile: |
- deps = processor.GetLoadedTemplates() + build_utils.GetPythonDependencies() |
- build_utils.WriteDepfile(options.depfile, deps) |
+ output = options.output or options.outputs_zip |
+ deps = processor.GetLoadedTemplates() |
+ build_utils.WriteDepfile(options.depfile, output, deps) |
if __name__ == '__main__': |