| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2009 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 # TODO: remove this script when GYP has for loops | 6 # TODO: remove this script when GYP has for loops |
| 7 | 7 |
| 8 import sys | 8 import sys |
| 9 import optparse | 9 import optparse |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 locale = 'en' | 36 locale = 'en' |
| 37 locale = locale.replace('-', '_') | 37 locale = locale.replace('-', '_') |
| 38 results.append(str_template.replace('ZZLOCALE', locale)) | 38 results.append(str_template.replace('ZZLOCALE', locale)) |
| 39 | 39 |
| 40 # Quote each element so filename spaces don't mess up GYP's attempt to parse | 40 # Quote each element so filename spaces don't mess up GYP's attempt to parse |
| 41 # it into a list. | 41 # it into a list. |
| 42 print ' '.join(["'%s'" % x for x in results]) | 42 print ' '.join(["'%s'" % x for x in results]) |
| 43 | 43 |
| 44 if __name__ == '__main__': | 44 if __name__ == '__main__': |
| 45 sys.exit(main(sys.argv)) | 45 sys.exit(main(sys.argv)) |
| OLD | NEW |