OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 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 """Makes sure files have the right permissions. | 6 """Makes sure files have the right permissions. |
7 | 7 |
8 Some developers have broken SCM configurations that flip the svn:executable | 8 Some developers have broken SCM configurations that flip the svn:executable |
9 permission on for no good reason. Unix developers who run ls --color will then | 9 permission on for no good reason. Unix developers who run ls --color will then |
10 see .cc files in green and get confused. | 10 see .cc files in green and get confused. |
(...skipping 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
144 'chrome/installer/mac/sign_app.sh.in', | 144 'chrome/installer/mac/sign_app.sh.in', |
145 'chrome/installer/mac/sign_versioned_dir.sh.in', | 145 'chrome/installer/mac/sign_versioned_dir.sh.in', |
146 'chrome/test/data/components/ihfokbkgjpifnbbojhneepfflplebdkc/' | 146 'chrome/test/data/components/ihfokbkgjpifnbbojhneepfflplebdkc/' |
147 'ihfokbkgjpifnbbojhneepfflplebdkc_1/a_changing_binary_file', | 147 'ihfokbkgjpifnbbojhneepfflplebdkc_1/a_changing_binary_file', |
148 'chrome/test/data/components/ihfokbkgjpifnbbojhneepfflplebdkc/' | 148 'chrome/test/data/components/ihfokbkgjpifnbbojhneepfflplebdkc/' |
149 'ihfokbkgjpifnbbojhneepfflplebdkc_2/a_changing_binary_file', | 149 'ihfokbkgjpifnbbojhneepfflplebdkc_2/a_changing_binary_file', |
150 'chrome/test/data/extensions/uitest/plugins/plugin32.so', | 150 'chrome/test/data/extensions/uitest/plugins/plugin32.so', |
151 'chrome/test/data/extensions/uitest/plugins/plugin64.so', | 151 'chrome/test/data/extensions/uitest/plugins/plugin64.so', |
152 'chrome/test/data/extensions/uitest/plugins_private/plugin32.so', | 152 'chrome/test/data/extensions/uitest/plugins_private/plugin32.so', |
153 'chrome/test/data/extensions/uitest/plugins_private/plugin64.so', | 153 'chrome/test/data/extensions/uitest/plugins_private/plugin64.so', |
| 154 'components/test/data/component_updater/ihfokbkgjpifnbbojhneepfflplebdkc/' |
| 155 'ihfokbkgjpifnbbojhneepfflplebdkc_1/a_changing_binary_file', |
| 156 'components/test/data/component_updater/ihfokbkgjpifnbbojhneepfflplebdkc/' |
| 157 'ihfokbkgjpifnbbojhneepfflplebdkc_2/a_changing_binary_file', |
154 'courgette/testdata/elf-32-1', | 158 'courgette/testdata/elf-32-1', |
155 'courgette/testdata/elf-32-2', | 159 'courgette/testdata/elf-32-2', |
156 'courgette/testdata/elf-64', | 160 'courgette/testdata/elf-64', |
157 ) | 161 ) |
158 | 162 |
159 # File names that are always whitelisted. (These are mostly autoconf spew.) | 163 # File names that are always whitelisted. (These are mostly autoconf spew.) |
160 # | 164 # |
161 # Case-sensitive. | 165 # Case-sensitive. |
162 IGNORED_FILENAMES = ( | 166 IGNORED_FILENAMES = ( |
163 'config.guess', | 167 'config.guess', |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
534 print '\nFAILED\n' | 538 print '\nFAILED\n' |
535 print '\n'.join('%s: %s' % (e['full_path'], e['error']) for e in errors) | 539 print '\n'.join('%s: %s' % (e['full_path'], e['error']) for e in errors) |
536 return 1 | 540 return 1 |
537 if not options.bare: | 541 if not options.bare: |
538 print '\nSUCCESS\n' | 542 print '\nSUCCESS\n' |
539 return 0 | 543 return 0 |
540 | 544 |
541 | 545 |
542 if '__main__' == __name__: | 546 if '__main__' == __name__: |
543 sys.exit(main()) | 547 sys.exit(main()) |
OLD | NEW |