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

Unified Diff: build/android/gyp/pack_relocations.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/locale_pak_resources.py ('k') | build/android/gyp/util/build_utils.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/pack_relocations.py
diff --git a/build/android/gyp/pack_relocations.py b/build/android/gyp/pack_relocations.py
index c2d02d72c054b11ee1a160ac8d25b9a0c3c6715f..6b0f8f1284e59bb628195d24d3432f2eacec36db 100755
--- a/build/android/gyp/pack_relocations.py
+++ b/build/android/gyp/pack_relocations.py
@@ -90,11 +90,10 @@ def main(args):
if options.filelistjson:
build_utils.WriteJson({ 'files': output_paths }, options.filelistjson)
+ output_paths.append(options.filelistjson)
if options.depfile:
- build_utils.WriteDepfile(
- options.depfile,
- libraries + build_utils.GetPythonDependencies())
+ build_utils.WriteDepfile(options.depfile, output_paths[-1], libraries)
if options.stamp:
build_utils.Touch(options.stamp)
« no previous file with comments | « build/android/gyp/locale_pak_resources.py ('k') | build/android/gyp/util/build_utils.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698