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

Side by Side Diff: build/android/gyp/generate_split_manifest.py

Issue 1187903003: Fix invalid depfile generation in generate_split_manifest.py (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2015 The Chromium Authors. All rights reserved. 3 # Copyright 2015 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 """Creates an AndroidManifest.xml for an APK split. 6 """Creates an AndroidManifest.xml for an APK split.
7 7
8 Given the manifest file for the main APK, generates an AndroidManifest.xml with 8 Given the manifest file for the main APK, generates an AndroidManifest.xml with
9 the value required for a Split APK (package, versionCode, etc). 9 the value required for a Split APK (package, versionCode, etc).
10 """ 10 """
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
83 main_manifest, 83 main_manifest,
84 options.split, 84 options.split,
85 options.has_code) 85 options.has_code)
86 86
87 with file(options.out_manifest, 'w') as f: 87 with file(options.out_manifest, 'w') as f:
88 f.write(split_manifest) 88 f.write(split_manifest)
89 89
90 if options.depfile: 90 if options.depfile:
91 build_utils.WriteDepfile( 91 build_utils.WriteDepfile(
92 options.depfile, 92 options.depfile,
93 [main_manifest] + build_utils.GetPythonDependencies()) 93 [options.main_manifest] + build_utils.GetPythonDependencies())
94 94
95 95
96 if __name__ == '__main__': 96 if __name__ == '__main__':
97 main() 97 main()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698