| 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 WHITELIST_FILES = [ | 45 WHITELIST_FILES = [ |
| 46 '/build/gyp_chromium', | 46 '/build/gyp_chromium', |
| 47 '/build/linux/dump_app_syms', | 47 '/build/linux/dump_app_syms', |
| 48 '/build/linux/pkg-config-wrapper', | 48 '/build/linux/pkg-config-wrapper', |
| 49 '/build/mac/strip_from_xcode', | 49 '/build/mac/strip_from_xcode', |
| 50 '/build/mac/strip_save_dsym', | 50 '/build/mac/strip_save_dsym', |
| 51 '/chrome/installer/mac/pkg-dmg', | 51 '/chrome/installer/mac/pkg-dmg', |
| 52 '/chrome/tools/build/linux/chrome-wrapper', | 52 '/chrome/tools/build/linux/chrome-wrapper', |
| 53 '/chrome/tools/build/mac/build_app_dmg', | 53 '/chrome/tools/build/mac/build_app_dmg', |
| 54 '/chrome/tools/build/mac/clean_up_old_versions', | 54 '/chrome/tools/build/mac/clean_up_old_versions', |
| 55 '/chrome/tools/build/mac/copy_framework_unversioned', | |
| 56 '/chrome/tools/build/mac/dump_product_syms', | 55 '/chrome/tools/build/mac/dump_product_syms', |
| 57 '/chrome/tools/build/mac/generate_localizer', | 56 '/chrome/tools/build/mac/generate_localizer', |
| 58 '/chrome/tools/build/mac/make_sign_sh', | 57 '/chrome/tools/build/mac/make_sign_sh', |
| 59 '/chrome/tools/build/mac/tweak_info_plist', | |
| 60 '/chrome/tools/build/mac/verify_order', | 58 '/chrome/tools/build/mac/verify_order', |
| 61 '/o3d/build/gyp_o3d', | 59 '/o3d/build/gyp_o3d', |
| 62 '/o3d/gypbuild', | 60 '/o3d/gypbuild', |
| 63 '/o3d/installer/linux/debian.in/rules', | 61 '/o3d/installer/linux/debian.in/rules', |
| 64 '/third_party/icu/source/runconfigureicu', | 62 '/third_party/icu/source/runconfigureicu', |
| 65 '/third_party/gold/gold32', | 63 '/third_party/gold/gold32', |
| 66 '/third_party/gold/gold64', | 64 '/third_party/gold/gold64', |
| 67 '/third_party/gold/ld', | 65 '/third_party/gold/ld', |
| 68 '/third_party/gold/ld.bfd', | 66 '/third_party/gold/ld.bfd', |
| 69 '/third_party/lcov/bin/gendesc', | 67 '/third_party/lcov/bin/gendesc', |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 335 success = CheckDirectory(start_dir) | 333 success = CheckDirectory(start_dir) |
| 336 if not success: | 334 if not success: |
| 337 print '\nFAILED\n' | 335 print '\nFAILED\n' |
| 338 return 1 | 336 return 1 |
| 339 print '\nSUCCESS\n' | 337 print '\nSUCCESS\n' |
| 340 return 0 | 338 return 0 |
| 341 | 339 |
| 342 | 340 |
| 343 if '__main__' == __name__: | 341 if '__main__' == __name__: |
| 344 sys.exit(main(sys.argv)) | 342 sys.exit(main(sys.argv)) |
| OLD | NEW |