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

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

Issue 23484056: [DevTools] Renaming Scripts panel to Sources panel (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Modified missed files Created 7 years, 3 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
« no previous file with comments | « Source/devtools/front_end/sourcesPanel.css ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 244 matching lines...) Expand 10 before | Expand all | Expand 10 after
255 "sources": [ 255 "sources": [
256 "BreakpointsSidebarPane.js", 256 "BreakpointsSidebarPane.js",
257 "CallStackSidebarPane.js", 257 "CallStackSidebarPane.js",
258 "FilePathScoreFunction.js", 258 "FilePathScoreFunction.js",
259 "FilteredItemSelectionDialog.js", 259 "FilteredItemSelectionDialog.js",
260 "JavaScriptSourceFrame.js", 260 "JavaScriptSourceFrame.js",
261 "NavigatorOverlayController.js", 261 "NavigatorOverlayController.js",
262 "NavigatorView.js", 262 "NavigatorView.js",
263 "RevisionHistoryView.js", 263 "RevisionHistoryView.js",
264 "ScopeChainSidebarPane.js", 264 "ScopeChainSidebarPane.js",
265 "ScriptsNavigator.js", 265 "SourcesNavigator.js",
266 "ScriptsPanel.js", 266 "SourcesPanel.js",
267 "ScriptsPanelDescriptor.js", 267 "SourcesPanelDescriptor.js",
268 "ScriptsSearchScope.js", 268 "SourcesSearchScope.js",
269 "StyleSheetOutlineDialog.js", 269 "StyleSheetOutlineDialog.js",
270 "TabbedEditorContainer.js", 270 "TabbedEditorContainer.js",
271 "UISourceCodeFrame.js", 271 "UISourceCodeFrame.js",
272 "WatchExpressionsSidebarPane.js", 272 "WatchExpressionsSidebarPane.js",
273 "WorkersSidebarPane.js", 273 "WorkersSidebarPane.js",
274 ] 274 ]
275 }, 275 },
276 { 276 {
277 "name": "console", 277 "name": "console",
278 "dependencies": ["components"], 278 "dependencies": ["components"],
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 ] 391 ]
392 392
393 # `importScript` function must not be used in any files 393 # `importScript` function must not be used in any files
394 # except module headers. Refer to devtools.gyp file for 394 # except module headers. Refer to devtools.gyp file for
395 # the module header list. 395 # the module header list.
396 allowed_import_statements_files = [ 396 allowed_import_statements_files = [
397 "utilities.js", 397 "utilities.js",
398 "ElementsPanel.js", 398 "ElementsPanel.js",
399 "ResourcesPanel.js", 399 "ResourcesPanel.js",
400 "NetworkPanel.js", 400 "NetworkPanel.js",
401 "ScriptsPanel.js", 401 "SourcesPanel.js",
402 "TimelinePanel.js", 402 "TimelinePanel.js",
403 "ProfilesPanel.js", 403 "ProfilesPanel.js",
404 "AuditsPanel.js", 404 "AuditsPanel.js",
405 "LayersPanel.js", 405 "LayersPanel.js",
406 "CodeMirrorTextEditor.js", 406 "CodeMirrorTextEditor.js",
407 ] 407 ]
408 408
409 409
410 def verify_importScript_usage(): 410 def verify_importScript_usage():
411 for module in modules: 411 for module in modules:
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
518 os.system(command) 518 os.system(command)
519 os.system("rm " + injectedScriptSourceTmpFile) 519 os.system("rm " + injectedScriptSourceTmpFile)
520 os.system("rm " + injectedScriptCanvasModuleSourceTmpFile) 520 os.system("rm " + injectedScriptCanvasModuleSourceTmpFile)
521 521
522 print "Checking generated code in InjectedScriptCanvasModuleSource.js..." 522 print "Checking generated code in InjectedScriptCanvasModuleSource.js..."
523 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) 523 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)
524 os.system(check_injected_webgl_calls_command) 524 os.system(check_injected_webgl_calls_command)
525 525
526 shutil.rmtree(modules_dir) 526 shutil.rmtree(modules_dir)
527 os.system("rm " + protocol_externs_path) 527 os.system("rm " + protocol_externs_path)
OLDNEW
« no previous file with comments | « Source/devtools/front_end/sourcesPanel.css ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698