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

Side by Side Diff: build/android/gyp/write_ordered_libraries.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 unified diff | Download patch
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # 2 #
3 # Copyright 2013 The Chromium Authors. All rights reserved. 3 # Copyright 2013 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 6
7 """Writes dependency ordered list of native libraries. 7 """Writes dependency ordered list of native libraries.
8 8
9 The list excludes any Android system libraries, as those are not bundled with 9 The list excludes any Android system libraries, as those are not bundled with
10 the APK. 10 the APK.
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 } 126 }
127 build_utils.WriteJson( 127 build_utils.WriteJson(
128 out_json, 128 out_json,
129 options.output, 129 options.output,
130 only_if_changed=True) 130 only_if_changed=True)
131 131
132 if options.stamp: 132 if options.stamp:
133 build_utils.Touch(options.stamp) 133 build_utils.Touch(options.stamp)
134 134
135 if options.depfile: 135 if options.depfile:
136 build_utils.WriteDepfile( 136 build_utils.WriteDepfile(options.depfile, options.output, libraries)
137 options.depfile,
138 libraries + build_utils.GetPythonDependencies())
139 137
140 138
141 if __name__ == '__main__': 139 if __name__ == '__main__':
142 sys.exit(main()) 140 sys.exit(main())
143 141
144 142
OLDNEW
« no previous file with comments | « build/android/gyp/write_build_config.py ('k') | build/android/incremental_install/create_install_script.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698