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

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

Issue 18347003: DevTools: Implement CSS pretty-printing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Comments addressed Created 7 years, 2 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
« no previous file with comments | « Source/devtools/front_end/externs.js ('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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 "name": "sdk", 65 "name": "sdk",
66 "dependencies": ["common"], 66 "dependencies": ["common"],
67 "sources": [ 67 "sources": [
68 "ApplicationCacheModel.js", 68 "ApplicationCacheModel.js",
69 "CompilerScriptMapping.js", 69 "CompilerScriptMapping.js",
70 "ConsoleModel.js", 70 "ConsoleModel.js",
71 "ContentProvider.js", 71 "ContentProvider.js",
72 "ContentProviderBasedProjectDelegate.js", 72 "ContentProviderBasedProjectDelegate.js",
73 "ContentProviders.js", 73 "ContentProviders.js",
74 "CookieParser.js", 74 "CookieParser.js",
75 "CSSFormatter.js",
75 "CSSMetadata.js", 76 "CSSMetadata.js",
76 "CSSStyleModel.js", 77 "CSSStyleModel.js",
77 "CSSStyleSheetMapping.js", 78 "CSSStyleSheetMapping.js",
78 "BreakpointManager.js", 79 "BreakpointManager.js",
79 "Database.js", 80 "Database.js",
80 "DOMAgent.js", 81 "DOMAgent.js",
81 "DOMStorage.js", 82 "DOMStorage.js",
82 "DebuggerModel.js", 83 "DebuggerModel.js",
83 "DebuggerScriptMapping.js", 84 "DebuggerScriptMapping.js",
84 "FileManager.js", 85 "FileManager.js",
85 "FileSystemMapping.js", 86 "FileSystemMapping.js",
86 "FileSystemModel.js", 87 "FileSystemModel.js",
87 "FileSystemProjectDelegate.js", 88 "FileSystemProjectDelegate.js",
88 "FileUtils.js", 89 "FileUtils.js",
89 "HAREntry.js", 90 "HAREntry.js",
90 "IndexedDBModel.js", 91 "IndexedDBModel.js",
91 "InspectorBackend.js", 92 "InspectorBackend.js",
92 "IsolatedFileSystemManager.js", 93 "IsolatedFileSystemManager.js",
93 "IsolatedFileSystem.js", 94 "IsolatedFileSystem.js",
95 "JavaScriptFormatter.js",
94 "Linkifier.js", 96 "Linkifier.js",
95 "NetworkLog.js", 97 "NetworkLog.js",
96 "NetworkUISourceCodeProvider.js", 98 "NetworkUISourceCodeProvider.js",
97 "OverridesSupport.js", 99 "OverridesSupport.js",
98 "PresentationConsoleMessageHelper.js", 100 "PresentationConsoleMessageHelper.js",
99 "RuntimeModel.js", 101 "RuntimeModel.js",
100 "SASSSourceMapping.js", 102 "SASSSourceMapping.js",
101 "Script.js", 103 "Script.js",
102 "ScriptFormatter.js", 104 "ScriptFormatter.js",
105 "ScriptFormatterWorker.js",
103 "ScriptSnippetModel.js", 106 "ScriptSnippetModel.js",
104 "SimpleWorkspaceProvider.js", 107 "SimpleWorkspaceProvider.js",
105 "SnippetStorage.js", 108 "SnippetStorage.js",
106 "SourceMapping.js", 109 "SourceMapping.js",
107 "StylesSourceMapping.js", 110 "StylesSourceMapping.js",
108 "TimelineManager.js", 111 "TimelineManager.js",
109 "RemoteObject.js", 112 "RemoteObject.js",
110 "Resource.js", 113 "Resource.js",
111 "DefaultScriptMapping.js", 114 "DefaultScriptMapping.js",
112 "ResourceScriptMapping.js", 115 "ResourceScriptMapping.js",
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 os.system(command) 522 os.system(command)
520 os.system("rm " + injectedScriptSourceTmpFile) 523 os.system("rm " + injectedScriptSourceTmpFile)
521 os.system("rm " + injectedScriptCanvasModuleSourceTmpFile) 524 os.system("rm " + injectedScriptCanvasModuleSourceTmpFile)
522 525
523 print "Checking generated code in InjectedScriptCanvasModuleSource.js..." 526 print "Checking generated code in InjectedScriptCanvasModuleSource.js..."
524 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) 527 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)
525 os.system(check_injected_webgl_calls_command) 528 os.system(check_injected_webgl_calls_command)
526 529
527 shutil.rmtree(modules_dir) 530 shutil.rmtree(modules_dir)
528 os.system("rm " + protocol_externs_path) 531 os.system("rm " + protocol_externs_path)
OLDNEW
« no previous file with comments | « Source/devtools/front_end/externs.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698