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

Unified Diff: build/android/gyp/jinja_template.py

Issue 2336173003: Fix android depfiles to always list GN's outputs[0] (Closed)
Patch Set: fix cronet_package Created 4 years, 3 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/java_cpp_enum.py ('k') | build/android/gyp/locale_pak_resources.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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__':
« no previous file with comments | « build/android/gyp/java_cpp_enum.py ('k') | build/android/gyp/locale_pak_resources.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698