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 92 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 def error_excepthook(exctype, value, traceback): | 103 def error_excepthook(exctype, value, traceback): |
104 print 'ERROR:' | 104 print 'ERROR:' |
105 sys.__excepthook__(exctype, value, traceback) | 105 sys.__excepthook__(exctype, value, traceback) |
106 | 106 |
107 | 107 |
108 sys.excepthook = error_excepthook | 108 sys.excepthook = error_excepthook |
109 | 109 |
110 application_descriptors = [ | 110 application_descriptors = [ |
111 'inspector.json', | 111 'inspector.json', |
112 'toolbox.json', | 112 'toolbox.json', |
| 113 'integration_test_runner.json', |
113 'unit_test_runner.json', | 114 'unit_test_runner.json', |
114 'formatter_worker.json', | 115 'formatter_worker.json', |
115 'heap_snapshot_worker.json', | 116 'heap_snapshot_worker.json', |
116 'utility_shared_worker.json', | 117 'utility_shared_worker.json', |
117 ] | 118 ] |
118 | 119 |
119 skipped_namespaces = { | 120 skipped_namespaces = { |
120 'Console', # Closure uses Console as a namespace item so we cannot override
it right now. | 121 'Console', # Closure uses Console as a namespace item so we cannot override
it right now. |
121 'Gonzales', # third party module defined in front_end/externs.js | 122 'Gonzales', # third party module defined in front_end/externs.js |
122 'Terminal', # third party module defined in front_end/externs.js | 123 'Terminal', # third party module defined in front_end/externs.js |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
379 shutil.rmtree(temp_devtools_path, True) | 380 shutil.rmtree(temp_devtools_path, True) |
380 | 381 |
381 if errors_found: | 382 if errors_found: |
382 print 'ERRORS DETECTED' | 383 print 'ERRORS DETECTED' |
383 sys.exit(1) | 384 sys.exit(1) |
384 print 'DONE - compiled without errors' | 385 print 'DONE - compiled without errors' |
385 | 386 |
386 | 387 |
387 if __name__ == "__main__": | 388 if __name__ == "__main__": |
388 main() | 389 main() |
OLD | NEW |