| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 "UISourceCode.js", | 121 "UISourceCode.js", |
| 122 "Workspace.js", | 122 "Workspace.js", |
| 123 "protocol_externs.js", | 123 "protocol_externs.js", |
| 124 ] | 124 ] |
| 125 }, | 125 }, |
| 126 { | 126 { |
| 127 "name": "ui", | 127 "name": "ui", |
| 128 "dependencies": ["common"], | 128 "dependencies": ["common"], |
| 129 "sources": [ | 129 "sources": [ |
| 130 "Checkbox.js", | 130 "Checkbox.js", |
| 131 "CodeMirrorUtils.js", |
| 131 "CodeMirrorTextEditor.js", | 132 "CodeMirrorTextEditor.js", |
| 132 "ContextMenu.js", | 133 "ContextMenu.js", |
| 133 "CompletionDictionary.js", | 134 "CompletionDictionary.js", |
| 134 "DOMSyntaxHighlighter.js", | 135 "DOMSyntaxHighlighter.js", |
| 135 "DataGrid.js", | 136 "DataGrid.js", |
| 136 "Dialog.js", | 137 "Dialog.js", |
| 137 "DockController.js", | 138 "DockController.js", |
| 138 "Drawer.js", | 139 "Drawer.js", |
| 139 "EmptyView.js", | 140 "EmptyView.js", |
| 140 "GoToLineDialog.js", | 141 "GoToLineDialog.js", |
| 141 "HelpScreen.js", | 142 "HelpScreen.js", |
| 142 "InspectorView.js", | 143 "InspectorView.js", |
| 143 "KeyboardShortcut.js", | 144 "KeyboardShortcut.js", |
| 144 "OverviewGrid.js", | 145 "OverviewGrid.js", |
| 145 "Panel.js", | 146 "Panel.js", |
| 146 "Placard.js", | 147 "Placard.js", |
| 147 "Popover.js", | 148 "Popover.js", |
| 148 "ProgressIndicator.js", | 149 "ProgressIndicator.js", |
| 149 "PropertiesSection.js", | 150 "PropertiesSection.js", |
| 150 "SearchController.js", | 151 "SearchController.js", |
| 151 "Section.js", | 152 "Section.js", |
| 152 "SidebarPane.js", | 153 "SidebarPane.js", |
| 153 "SidebarTreeElement.js", | 154 "SidebarTreeElement.js", |
| 154 "ShortcutsScreen.js", | 155 "ShortcutsScreen.js", |
| 155 "ShowMoreDataGridNode.js", | 156 "ShowMoreDataGridNode.js", |
| 156 "SidebarOverlay.js", | 157 "SidebarOverlay.js", |
| 157 "SoftContextMenu.js", | 158 "SoftContextMenu.js", |
| 158 "SourceTokenizer.js", | |
| 159 "Spectrum.js", | 159 "Spectrum.js", |
| 160 "SplitView.js", | 160 "SplitView.js", |
| 161 "SidebarView.js", | 161 "SidebarView.js", |
| 162 "StatusBarButton.js", | 162 "StatusBarButton.js", |
| 163 "SuggestBox.js", | 163 "SuggestBox.js", |
| 164 "TabbedPane.js", | 164 "TabbedPane.js", |
| 165 "TextEditor.js", | 165 "TextEditor.js", |
| 166 "TextEditorHighlighter.js", | |
| 167 "TextRange.js", | 166 "TextRange.js", |
| 168 "TextEditorModel.js", | |
| 169 "TextPrompt.js", | 167 "TextPrompt.js", |
| 170 "TextUtils.js", | 168 "TextUtils.js", |
| 171 "TimelineGrid.js", | 169 "TimelineGrid.js", |
| 172 "Toolbar.js", | 170 "Toolbar.js", |
| 173 "UIUtils.js", | 171 "UIUtils.js", |
| 174 "View.js", | 172 "View.js", |
| 175 "ViewportControl.js", | 173 "ViewportControl.js", |
| 176 "treeoutline.js", | 174 "treeoutline.js", |
| 177 ] | 175 ] |
| 178 }, | 176 }, |
| (...skipping 299 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 os.system(command) | 476 os.system(command) |
| 479 os.system("rm " + injectedScriptSourceTmpFile) | 477 os.system("rm " + injectedScriptSourceTmpFile) |
| 480 os.system("rm " + injectedScriptCanvasModuleSourceTmpFile) | 478 os.system("rm " + injectedScriptCanvasModuleSourceTmpFile) |
| 481 | 479 |
| 482 print "Checking generated code in InjectedScriptCanvasModuleSource.js..." | 480 print "Checking generated code in InjectedScriptCanvasModuleSource.js..." |
| 483 check_injected_webgl_calls_command = "%s/check_injected_webgl_calls_info.py
%s %s/InjectedScriptCanvasModuleSource.js" % (scripts_path, webgl_rendering_cont
ext_idl_path, inspector_path) | 481 check_injected_webgl_calls_command = "%s/check_injected_webgl_calls_info.py
%s %s/InjectedScriptCanvasModuleSource.js" % (scripts_path, webgl_rendering_cont
ext_idl_path, inspector_path) |
| 484 os.system(check_injected_webgl_calls_command) | 482 os.system(check_injected_webgl_calls_command) |
| 485 | 483 |
| 486 shutil.rmtree(modules_dir) | 484 shutil.rmtree(modules_dir) |
| 487 os.system("rm " + protocol_externs_path) | 485 os.system("rm " + protocol_externs_path) |
| OLD | NEW |