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

Side by Side Diff: Source/devtools/scripts/compile_frontend.py

Issue 22638008: DevTools: Use CodeMirror modes instead of highlight tokenizers (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 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 | Annotate | Revision Log
OLDNEW
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
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 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
467 os.system(command) 465 os.system(command)
468 os.system("rm " + injectedScriptSourceTmpFile) 466 os.system("rm " + injectedScriptSourceTmpFile)
469 os.system("rm " + injectedScriptCanvasModuleSourceTmpFile) 467 os.system("rm " + injectedScriptCanvasModuleSourceTmpFile)
470 468
471 print "Checking generated code in InjectedScriptCanvasModuleSource.js..." 469 print "Checking generated code in InjectedScriptCanvasModuleSource.js..."
472 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) 470 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)
473 os.system(check_injected_webgl_calls_command) 471 os.system(check_injected_webgl_calls_command)
474 472
475 shutil.rmtree(modules_dir) 473 shutil.rmtree(modules_dir)
476 os.system("rm " + protocol_externs_path) 474 os.system("rm " + protocol_externs_path)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698