| 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 .h file for NativeLibraries.template | 7 """Writes .h file for NativeLibraries.template |
| 8 | 8 |
| 9 This header should contain the list of native libraries to load in the form: | 9 This header should contain the list of native libraries to load in the form: |
| 10 = { "lib1", "lib2" } | 10 = { "lib1", "lib2" } |
| (...skipping 30 matching lines...) Expand all Loading... |
| 41 | 41 |
| 42 with open(options.output, 'w') as header: | 42 with open(options.output, 'w') as header: |
| 43 header.write(array) | 43 header.write(array) |
| 44 | 44 |
| 45 if options.stamp: | 45 if options.stamp: |
| 46 build_utils.Touch(options.stamp) | 46 build_utils.Touch(options.stamp) |
| 47 | 47 |
| 48 | 48 |
| 49 if __name__ == '__main__': | 49 if __name__ == '__main__': |
| 50 sys.exit(main(sys.argv)) | 50 sys.exit(main(sys.argv)) |
| 51 | |
| 52 | |
| OLD | NEW |