OLD | NEW |
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 Loading... |
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 |
OLD | NEW |