| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 Google Inc. All rights reserved. | 2 # Copyright (c) 2012 Google Inc. All rights reserved. |
| 3 # | 3 # |
| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 def error_excepthook(exctype, value, traceback): | 102 def error_excepthook(exctype, value, traceback): |
| 103 print 'ERROR:' | 103 print 'ERROR:' |
| 104 sys.__excepthook__(exctype, value, traceback) | 104 sys.__excepthook__(exctype, value, traceback) |
| 105 | 105 |
| 106 | 106 |
| 107 sys.excepthook = error_excepthook | 107 sys.excepthook = error_excepthook |
| 108 | 108 |
| 109 application_descriptors = [ | 109 application_descriptors = [ |
| 110 'inspector.json', | 110 'inspector.json', |
| 111 'toolbox.json', | 111 'toolbox.json', |
| 112 'integration_test_runner.json', |
| 112 'unit_test_runner.json', | 113 'unit_test_runner.json', |
| 113 'formatter_worker.json', | 114 'formatter_worker.json', |
| 114 'heap_snapshot_worker.json', | 115 'heap_snapshot_worker.json', |
| 115 'utility_shared_worker.json', | 116 'utility_shared_worker.json', |
| 116 ] | 117 ] |
| 117 | 118 |
| 118 skipped_namespaces = { | 119 skipped_namespaces = { |
| 119 'Console', # Closure uses Console as a namespace item so we cannot override
it right now. | 120 'Console', # Closure uses Console as a namespace item so we cannot override
it right now. |
| 120 'Gonzales', # third party module defined in front_end/externs.js | 121 'Gonzales', # third party module defined in front_end/externs.js |
| 121 'Terminal', # third party module defined in front_end/externs.js | 122 'Terminal', # third party module defined in front_end/externs.js |
| (...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 371 shutil.rmtree(temp_devtools_path, True) | 372 shutil.rmtree(temp_devtools_path, True) |
| 372 | 373 |
| 373 if errors_found: | 374 if errors_found: |
| 374 print 'ERRORS DETECTED' | 375 print 'ERRORS DETECTED' |
| 375 sys.exit(1) | 376 sys.exit(1) |
| 376 print 'DONE - compiled without errors' | 377 print 'DONE - compiled without errors' |
| 377 | 378 |
| 378 | 379 |
| 379 if __name__ == "__main__": | 380 if __name__ == "__main__": |
| 380 main() | 381 main() |
| OLD | NEW |