OLD | NEW |
1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
2 # | 2 # |
3 # Copyright 2012 the V8 project authors. All rights reserved. | 3 # Copyright 2012 the V8 project authors. All rights reserved. |
4 # Redistribution and use in source and binary forms, with or without | 4 # Redistribution and use in source and binary forms, with or without |
5 # modification, are permitted provided that the following conditions are | 5 # modification, are permitted provided that the following conditions are |
6 # met: | 6 # met: |
7 # | 7 # |
8 # * Redistributions of source code must retain the above copyright | 8 # * Redistributions of source code must retain the above copyright |
9 # notice, this list of conditions and the following disclaimer. | 9 # notice, this list of conditions and the following disclaimer. |
10 # * Redistributions in binary form must reproduce the above | 10 # * Redistributions in binary form must reproduce the above |
(...skipping 327 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 'fasta.js', | 338 'fasta.js', |
339 'jsmin.py', | 339 'jsmin.py', |
340 'libraries.cc', | 340 'libraries.cc', |
341 'libraries-empty.cc', | 341 'libraries-empty.cc', |
342 'lua_binarytrees.js', | 342 'lua_binarytrees.js', |
343 'memops.js', | 343 'memops.js', |
344 'primes.js', | 344 'primes.js', |
345 'raytrace.js', | 345 'raytrace.js', |
346 'regexp-pcre.js', | 346 'regexp-pcre.js', |
347 'sqlite.js', | 347 'sqlite.js', |
| 348 'sqlite-change-heap.js', |
| 349 'sqlite-pointer-masking.js', |
| 350 'sqlite-safe-heap.js', |
348 'gnuplot-4.6.3-emscripten.js', | 351 'gnuplot-4.6.3-emscripten.js', |
349 'zlib.js'] | 352 'zlib.js'] |
350 IGNORE_TABS = IGNORE_COPYRIGHTS + ['unicode-test.js', 'html-comments.js'] | 353 IGNORE_TABS = IGNORE_COPYRIGHTS + ['unicode-test.js', 'html-comments.js'] |
351 | 354 |
352 def EndOfDeclaration(self, line): | 355 def EndOfDeclaration(self, line): |
353 return line == "}" or line == "};" | 356 return line == "}" or line == "};" |
354 | 357 |
355 def StartOfDeclaration(self, line): | 358 def StartOfDeclaration(self, line): |
356 return line.find("//") == 0 or \ | 359 return line.find("//") == 0 or \ |
357 line.find("/*") == 0 or \ | 360 line.find("/*") == 0 or \ |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
488 success = CheckRuntimeVsNativesNameClashes(workspace) and success | 491 success = CheckRuntimeVsNativesNameClashes(workspace) and success |
489 success = CheckExternalReferenceRegistration(workspace) and success | 492 success = CheckExternalReferenceRegistration(workspace) and success |
490 if success: | 493 if success: |
491 return 0 | 494 return 0 |
492 else: | 495 else: |
493 return 1 | 496 return 1 |
494 | 497 |
495 | 498 |
496 if __name__ == '__main__': | 499 if __name__ == '__main__': |
497 sys.exit(Main()) | 500 sys.exit(Main()) |
OLD | NEW |