| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 build_utils.WriteJson( | 122 build_utils.WriteJson( |
| 123 {'libraries': libraries, 'java_libraries_list': java_libraries_list}, | 123 {'libraries': libraries, 'java_libraries_list': java_libraries_list}, |
| 124 options.output, | 124 options.output, |
| 125 only_if_changed=True) | 125 only_if_changed=True) |
| 126 | 126 |
| 127 if options.stamp: | 127 if options.stamp: |
| 128 build_utils.Touch(options.stamp) | 128 build_utils.Touch(options.stamp) |
| 129 | 129 |
| 130 if options.depfile: | 130 if options.depfile: |
| 131 print libraries | |
| 132 build_utils.WriteDepfile( | 131 build_utils.WriteDepfile( |
| 133 options.depfile, | 132 options.depfile, |
| 134 libraries + build_utils.GetPythonDependencies()) | 133 libraries + build_utils.GetPythonDependencies()) |
| 135 | 134 |
| 136 | 135 |
| 137 if __name__ == '__main__': | 136 if __name__ == '__main__': |
| 138 sys.exit(main()) | 137 sys.exit(main()) |
| 139 | 138 |
| 140 | 139 |
| OLD | NEW |