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

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

Issue 2336173003: Fix android depfiles to always list GN's outputs[0] (Closed)
Patch Set: 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
Index: build/android/gyp/locale_pak_resources.py
diff --git a/build/android/gyp/locale_pak_resources.py b/build/android/gyp/locale_pak_resources.py
index 63d33431835a97aa71e469c3259768233306e20d..73f4405112a507c88e83447899f1123fcb2a063d 100755
--- a/build/android/gyp/locale_pak_resources.py
+++ b/build/android/gyp/locale_pak_resources.py
@@ -96,8 +96,8 @@ def main():
sources = build_utils.ParseGnList(options.locale_paks)
if options.depfile:
- deps = sources + build_utils.GetPythonDependencies()
- build_utils.WriteDepfile(options.depfile, deps)
+ assert options.resources_zip
+ build_utils.WriteDepfile(options.depfile, options.resources_zip, sources)
mappings, lang_to_locale_map = ComputeMappings(sources)
if options.print_languages:

Powered by Google App Engine
This is Rietveld 408576698