Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(296)

Side by Side Diff: tools/checkperms/checkperms.py

Issue 2592193002: Remove closure_linter from Chrome (Closed)
Patch Set: Created 3 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « third_party/closure_linter/setup.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 executable 8 Some developers have broken SCM configurations that flip the 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 165 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 # 176 #
177 # Case-insensitive, lower-case only. 177 # Case-insensitive, lower-case only.
178 IGNORED_PATHS = ( 178 IGNORED_PATHS = (
179 'base/third_party/libevent/autogen.sh', 179 'base/third_party/libevent/autogen.sh',
180 'base/third_party/libevent/test/test.sh', 180 'base/third_party/libevent/test/test.sh',
181 'native_client_sdk/src/build_tools/sdk_tools/third_party/fancy_urllib/' 181 'native_client_sdk/src/build_tools/sdk_tools/third_party/fancy_urllib/'
182 '__init__.py', 182 '__init__.py',
183 'out/', 183 'out/',
184 # TODO(maruel): Fix these. 184 # TODO(maruel): Fix these.
185 'third_party/bintrees/', 185 'third_party/bintrees/',
186 'third_party/closure_linter/',
187 'third_party/devscripts/licensecheck.pl.vanilla', 186 'third_party/devscripts/licensecheck.pl.vanilla',
188 'third_party/hyphen/', 187 'third_party/hyphen/',
189 'third_party/lcov-1.9/contrib/galaxy/conglomerate_functions.pl', 188 'third_party/lcov-1.9/contrib/galaxy/conglomerate_functions.pl',
190 'third_party/lcov-1.9/contrib/galaxy/gen_makefile.sh', 189 'third_party/lcov-1.9/contrib/galaxy/gen_makefile.sh',
191 'third_party/lcov/contrib/galaxy/conglomerate_functions.pl', 190 'third_party/lcov/contrib/galaxy/conglomerate_functions.pl',
192 'third_party/lcov/contrib/galaxy/gen_makefile.sh', 191 'third_party/lcov/contrib/galaxy/gen_makefile.sh',
193 'third_party/libxml/linux/xml2-config', 192 'third_party/libxml/linux/xml2-config',
194 'third_party/libxml/src/ltmain.sh', 193 'third_party/libxml/src/ltmain.sh',
195 'third_party/mesa/', 194 'third_party/mesa/',
196 'third_party/protobuf/', 195 'third_party/protobuf/',
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after
477 print '\nFAILED\n' 476 print '\nFAILED\n'
478 print '\n'.join('%s: %s' % (e['full_path'], e['error']) for e in errors) 477 print '\n'.join('%s: %s' % (e['full_path'], e['error']) for e in errors)
479 return 1 478 return 1
480 if not options.bare: 479 if not options.bare:
481 print '\nSUCCESS\n' 480 print '\nSUCCESS\n'
482 return 0 481 return 0
483 482
484 483
485 if '__main__' == __name__: 484 if '__main__' == __name__:
486 sys.exit(main()) 485 sys.exit(main())
OLDNEW
« no previous file with comments | « third_party/closure_linter/setup.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698